Symbol: region_count
arch/powerpc/platforms/ps3/platform.h
179
int ps3_repository_read_highmem_region_count(unsigned int *region_count);
arch/powerpc/platforms/ps3/platform.h
188
int ps3_repository_write_highmem_region_count(unsigned int region_count);
arch/powerpc/platforms/ps3/platform.h
198
unsigned int region_count) {return 0;}
arch/powerpc/platforms/ps3/repository.c
1103
int ps3_repository_write_highmem_region_count(unsigned int region_count)
arch/powerpc/platforms/ps3/repository.c
1106
u64 v1 = (u64)region_count;
arch/powerpc/platforms/ps3/repository.c
764
int ps3_repository_read_highmem_region_count(unsigned int *region_count)
arch/powerpc/platforms/ps3/repository.c
775
*region_count = v1;
drivers/bus/fsl-mc/dprc-driver.c
633
if (mc_dev->obj_desc.region_count == 0)
drivers/bus/fsl-mc/dprc.c
448
obj_desc->region_count = rsp_params->region_count;
drivers/bus/fsl-mc/fsl-mc-bus.c
1141
obj_desc.region_count = 0;
drivers/bus/fsl-mc/fsl-mc-bus.c
675
regions = kmalloc_objs(regions[0], obj_desc->region_count);
drivers/bus/fsl-mc/fsl-mc-bus.c
679
for (i = 0; i < obj_desc->region_count; i++) {
drivers/bus/fsl-mc/fsl-mc-bus.c
873
if (parent_mc_dev && obj_desc->region_count != 0) {
drivers/bus/fsl-mc/fsl-mc-private.h
183
u8 region_count;
drivers/infiniband/hw/hns/hns_roce_cq.c
263
buf_attr.region_count = 1;
drivers/infiniband/hw/hns/hns_roce_device.h
301
unsigned int region_count; /* valid region count */
drivers/infiniband/hw/hns/hns_roce_device.h
317
unsigned int region_count;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
6911
buf_attr.region_count = 1;
drivers/infiniband/hw/hns/hns_roce_mr.c
1007
cfg->region, cfg->region_count,
drivers/infiniband/hw/hns/hns_roce_mr.c
104
buf_attr.region_count = 1;
drivers/infiniband/hw/hns/hns_roce_mr.c
476
mtr->hem_cfg.region_count = 1;
drivers/infiniband/hw/hns/hns_roce_mr.c
528
for (i = 0; i < attr->region_count; i++)
drivers/infiniband/hw/hns/hns_roce_mr.c
545
for (i = 0; i < attr->region_count; i++)
drivers/infiniband/hw/hns/hns_roce_mr.c
623
for (i = 0; i < mtr->hem_cfg.region_count; i++) {
drivers/infiniband/hw/hns/hns_roce_mr.c
638
return mtr->hem_cfg.is_direct && mtr->hem_cfg.region_count > 1;
drivers/infiniband/hw/hns/hns_roce_mr.c
708
for (i = 0, mapped_cnt = 0; i < mtr->hem_cfg.region_count &&
drivers/infiniband/hw/hns/hns_roce_mr.c
750
if (mtt_cnt > cfg->region_count)
drivers/infiniband/hw/hns/hns_roce_mr.c
753
for (mtt_count = 0; mtt_count < cfg->region_count && total < mtt_cnt;
drivers/infiniband/hw/hns/hns_roce_mr.c
892
if (attr->region_count > ARRAY_SIZE(attr->region) ||
drivers/infiniband/hw/hns/hns_roce_mr.c
893
attr->region_count < 1 || attr->page_shift < HNS_HW_PAGE_SHIFT) {
drivers/infiniband/hw/hns/hns_roce_mr.c
896
attr->region_count, attr->page_shift);
drivers/infiniband/hw/hns/hns_roce_mr.c
919
cfg->region_count = attr->region_count;
drivers/infiniband/hw/hns/hns_roce_mr.c
939
for (page_cnt = 0, i = 0; i < attr->region_count; i++) {
drivers/infiniband/hw/hns/hns_roce_mr.c
978
for (i = 0; i < mtr->hem_cfg.region_count; i++) {
drivers/infiniband/hw/hns/hns_roce_qp.c
743
buf_attr->region_count = idx;
drivers/infiniband/hw/hns/hns_roce_srq.c
179
buf_attr.region_count = 1;
drivers/infiniband/hw/hns/hns_roce_srq.c
234
buf_attr.region_count = 1;
drivers/infiniband/hw/hns/hns_roce_trace.h
145
TP_STRUCT__entry(__field(unsigned int, region_count)
drivers/infiniband/hw/hns/hns_roce_trace.h
156
TP_fast_assign(__entry->region_count = attr->region_count;
drivers/infiniband/hw/hns/hns_roce_trace.h
168
__entry->region_count, __entry->page_shift,
drivers/md/dm-log-userspace-base.c
286
lc->region_count = dm_sector_div_up(ti->len, lc->region_size);
drivers/md/dm-log-userspace-base.c
45
region_t region_count;
drivers/md/dm-log-userspace-base.c
718
if (lc->in_sync_hint >= lc->region_count)
drivers/md/dm-log-userspace-base.c
778
if (sync_count >= lc->region_count)
drivers/md/dm-log-userspace-base.c
779
lc->in_sync_hint = lc->region_count;
drivers/md/dm-log.c
226
unsigned int region_count;
drivers/md/dm-log.c
376
unsigned int region_count;
drivers/md/dm-log.c
403
region_count = dm_sector_div_up(ti->len, region_size);
drivers/md/dm-log.c
416
lc->region_count = region_count;
drivers/md/dm-log.c
422
bitset_size = dm_round_up(region_count, BITS_PER_LONG);
drivers/md/dm-log.c
498
lc->sync_count = (sync == NOSYNC) ? region_count : 0;
drivers/md/dm-log.c
614
for (i = lc->header.nr_regions; i < lc->region_count; i++)
drivers/md/dm-log.c
618
for (i = lc->header.nr_regions; i < lc->region_count; i++)
drivers/md/dm-log.c
623
for (i = lc->region_count; i % BITS_PER_LONG; i++)
drivers/md/dm-log.c
633
lc->header.nr_regions = lc->region_count;
drivers/md/dm-log.c
706
for (i = 0; i < lc->region_count; i++)
drivers/md/dm-log.c
747
if (lc->sync_search >= lc->region_count)
drivers/md/dm-log.c
752
lc->region_count,
drivers/md/dm-log.c
756
if (*region >= lc->region_count)
drivers/md/dm-vdo/indexer/index-layout.c
111
u16 region_count;
drivers/md/dm-vdo/indexer/index-layout.c
1129
decode_u16_le(buffer, &offset, &header.region_count);
drivers/md/dm-vdo/indexer/index-layout.c
1141
result = vdo_allocate_extended(struct region_table, header.region_count,
drivers/md/dm-vdo/indexer/index-layout.c
1148
for (i = 0; i < header.region_count; i++) {
drivers/md/dm-vdo/indexer/index-layout.c
1339
layout->seal = table->regions[table->header.region_count - 1];
drivers/md/dm-vdo/indexer/index-layout.c
1447
isl->zone_count = table->header.region_count - 3;
drivers/md/dm-vdo/indexer/index-layout.c
1449
last_region = &table->regions[table->header.region_count - 1];
drivers/md/dm-vdo/indexer/index-layout.c
440
u16 region_count;
drivers/md/dm-vdo/indexer/index-layout.c
449
region_count = 3 + isl->zone_count;
drivers/md/dm-vdo/indexer/index-layout.c
451
region_count++;
drivers/md/dm-vdo/indexer/index-layout.c
457
region_count = 3;
drivers/md/dm-vdo/indexer/index-layout.c
462
result = vdo_allocate_extended(struct region_table, region_count,
drivers/md/dm-vdo/indexer/index-layout.c
485
.region_count = region_count,
drivers/md/dm-vdo/indexer/index-layout.c
490
region_count * sizeof(struct layout_region));
drivers/md/dm-vdo/indexer/index-layout.c
503
encode_u16_le(buffer, offset, table->header.region_count);
drivers/md/dm-vdo/indexer/index-layout.c
506
for (i = 0; i < table->header.region_count; i++) {
drivers/md/dm-vdo/indexer/index-layout.c
640
u16 region_count = 5 + layout->super.max_saves;
drivers/md/dm-vdo/indexer/index-layout.c
645
result = vdo_allocate_extended(struct region_table, region_count,
drivers/md/dm-vdo/indexer/index-layout.c
675
.region_count = region_count,
drivers/md/dm-vdo/indexer/index-layout.c
680
region_count * sizeof(struct layout_region));
drivers/mtd/parsers/afs.c
226
u32 region_count;
drivers/mtd/parsers/afs.c
280
region_count = imginfo[pad+2];
drivers/mtd/parsers/afs.c
286
entrypoint, attributes, region_count,
drivers/mtd/parsers/afs.c
289
for (i = 0; i < region_count; i++) {
drivers/mtd/spi-nor/sfdp.c
870
u32 region_count;
drivers/mtd/spi-nor/sfdp.c
875
region_count = SMPT_MAP_REGION_COUNT(*smpt);
drivers/mtd/spi-nor/sfdp.c
880
region = devm_kcalloc(nor->dev, region_count, sizeof(*region),
drivers/mtd/spi-nor/sfdp.c
885
map->n_regions = region_count;
drivers/mtd/spi-nor/sfdp.c
891
for (i = 0; i < region_count; i++) {
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c
111
unsigned int region_count;
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c
394
if (group->region_count == group->tcam->max_group_size) {
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c
420
group->region_count++;
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c
439
group->region_count--;
drivers/remoteproc/qcom_common.c
122
seg_cnt = le32_to_cpu(subsystem->region_count);
drivers/remoteproc/qcom_common.c
68
__le32 region_count;
drivers/soc/fsl/dpio/dpio-driver.c
197
if (dpio_dev->obj_desc.region_count < 3) {
drivers/vfio/fsl-mc/vfio_fsl_mc.c
128
if (info->index >= mc_dev->obj_desc.region_count)
drivers/vfio/fsl-mc/vfio_fsl_mc.c
164
info.num_regions = mc_dev->obj_desc.region_count;
drivers/vfio/fsl-mc/vfio_fsl_mc.c
246
if (index >= mc_dev->obj_desc.region_count)
drivers/vfio/fsl-mc/vfio_fsl_mc.c
27
int count = mc_dev->obj_desc.region_count;
drivers/vfio/fsl-mc/vfio_fsl_mc.c
325
if (index >= mc_dev->obj_desc.region_count)
drivers/vfio/fsl-mc/vfio_fsl_mc.c
396
if (index >= mc_dev->obj_desc.region_count)
drivers/vfio/fsl-mc/vfio_fsl_mc.c
63
for (i = 0; i < mc_dev->obj_desc.region_count; i++)
include/linux/fsl/mc.h
150
u8 region_count;
mm/hugetlb.c
4750
reserve = (end - start) - region_count(resv, start, end);