/linux-master/drivers/md/ |
H A D | dm-log.c | 226 unsigned int region_count; member in struct:log_c 376 unsigned int region_count; local 403 region_count = dm_sector_div_up(ti->len, region_size); 416 lc->region_count = region_count; 422 bitset_size = dm_round_up(region_count, BITS_PER_LONG); 498 lc->sync_count = (sync == NOSYNC) ? region_count : 0; 614 for (i = lc->header.nr_regions; i < lc->region_count; i++) 618 for (i = lc->header.nr_regions; i < lc->region_count; i++) 623 for (i = lc->region_count; [all...] |
H A D | dm-log-userspace-base.c | 45 region_t region_count; member in struct:log_c 286 lc->region_count = dm_sector_div_up(ti->len, lc->region_size); 717 if (lc->in_sync_hint >= lc->region_count) 777 if (sync_count >= lc->region_count) 778 lc->in_sync_hint = lc->region_count;
|
/linux-master/drivers/infiniband/hw/hns/ |
H A D | hns_roce_mr.c | 103 buf_attr.region_count = 1; 462 mtr->hem_cfg.region_count = 1; 629 for (i = 0; i < attr->region_count; i++) 646 for (i = 0; i < attr->region_count; i++) 724 for (i = 0; i < mtr->hem_cfg.region_count; i++) { 739 return mtr->hem_cfg.is_direct && mtr->hem_cfg.region_count > 1; 809 for (i = 0, mapped_cnt = 0; i < mtr->hem_cfg.region_count && 856 if (mtt_cnt > cfg->region_count) 859 for (mtt_count = 0; mtt_count < cfg->region_count && total < mtt_cnt; 998 if (attr->region_count > ARRAY_SIZ [all...] |
H A D | hns_roce_srq.c | 180 buf_attr.region_count = 1; 235 buf_attr.region_count = 1;
|
H A D | hns_roce_device.h | 283 unsigned int region_count; /* valid region count */ member in struct:hns_roce_buf_attr 299 unsigned int region_count; member in struct:hns_roce_hem_cfg
|
H A D | hns_roce_cq.c | 208 buf_attr.region_count = 1;
|
H A D | hns_roce_qp.c | 690 buf_attr->region_count = idx;
|
H A D | hns_roce_hw_v2.c | 6443 buf_attr.region_count = 1;
|
/linux-master/drivers/md/dm-vdo/indexer/ |
H A D | index-layout.c | 110 u16 region_count; member in struct:region_header 465 u16 region_count; local 474 region_count = 3 + isl->zone_count; 476 region_count++; 482 region_count = 3; 487 result = vdo_allocate_extended(struct region_table, region_count, 510 .region_count = region_count, 515 region_count * sizeof(struct layout_region)); 528 encode_u16_le(buffer, offset, table->header.region_count); 665 u16 region_count = 5 + layout->super.max_saves; local [all...] |
/linux-master/drivers/mtd/parsers/ |
H A D | afs.c | 226 u32 region_count; local 280 region_count = imginfo[pad+2]; 286 entrypoint, attributes, region_count, 289 for (i = 0; i < region_count; i++) {
|
/linux-master/arch/powerpc/platforms/ps3/ |
H A D | platform.h | 179 int ps3_repository_read_highmem_region_count(unsigned int *region_count); 188 int ps3_repository_write_highmem_region_count(unsigned int region_count); 198 unsigned int region_count) {return 0;} 197 ps3_repository_write_highmem_region_count( unsigned int region_count) argument
|
H A D | repository.c | 761 * with a region_index from 0 to region_count-1. 764 int ps3_repository_read_highmem_region_count(unsigned int *region_count) argument 775 *region_count = v1; 804 * @region_index: Region index, {0,..,region_count-1}. 1103 int ps3_repository_write_highmem_region_count(unsigned int region_count) argument 1106 u64 v1 = (u64)region_count;
|
/linux-master/drivers/vfio/fsl-mc/ |
H A D | vfio_fsl_mc.c | 27 int count = mc_dev->obj_desc.region_count; 63 for (i = 0; i < mc_dev->obj_desc.region_count; i++) 146 info.num_regions = mc_dev->obj_desc.region_count; 164 if (info.index >= mc_dev->obj_desc.region_count) 252 if (index >= mc_dev->obj_desc.region_count) 331 if (index >= mc_dev->obj_desc.region_count) 402 if (index >= mc_dev->obj_desc.region_count)
|
/linux-master/drivers/mtd/spi-nor/ |
H A D | sfdp.c | 840 u32 region_count; local 845 region_count = SMPT_MAP_REGION_COUNT(*smpt); 850 region = devm_kcalloc(nor->dev, region_count, sizeof(*region), 855 map->n_regions = region_count; 861 for (i = 0; i < region_count; i++) {
|
/linux-master/drivers/remoteproc/ |
H A D | qcom_common.c | 58 * @region_count : Number of regions added in this subsystem toc 66 __le32 region_count; member in struct:minidump_subsystem 120 seg_cnt = le32_to_cpu(subsystem->region_count);
|
/linux-master/drivers/bus/fsl-mc/ |
H A D | dprc.c | 448 obj_desc->region_count = rsp_params->region_count;
|
H A D | fsl-mc-bus.c | 684 regions = kmalloc_array(obj_desc->region_count, 689 for (i = 0; i < obj_desc->region_count; i++) { 883 if (parent_mc_dev && obj_desc->region_count != 0) { 1151 obj_desc.region_count = 0;
|
H A D | fsl-mc-private.h | 187 u8 region_count; member in struct:dprc_rsp_get_obj
|
H A D | dprc-driver.c | 644 if (mc_dev->obj_desc.region_count == 0)
|
/linux-master/drivers/soc/fsl/dpio/ |
H A D | dpio-driver.c | 197 if (dpio_dev->obj_desc.region_count < 3) {
|
/linux-master/include/linux/fsl/ |
H A D | mc.h | 138 * @region_count: Number of mappable regions supported by the object 150 u8 region_count; member in struct:fsl_mc_obj_desc
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl_tcam.c | 108 unsigned int region_count; member in struct:mlxsw_sp_acl_tcam_group 391 if (group->region_count == group->tcam->max_group_size) { 417 group->region_count++; 436 group->region_count--;
|
/linux-master/mm/ |
H A D | hugetlb.c | 959 static long region_count(struct resv_map *resv, long f, long t) function 5241 reserve = (end - start) - region_count(resv, start, end);
|