Searched refs:region_count (Results 1 – 18 of 18) sorted by relevance
/drivers/md/ |
D | dm-log.c | 223 unsigned int region_count; member 371 unsigned int region_count; in create_log_context() local 399 region_count = dm_sector_div_up(ti->len, region_size); in create_log_context() 412 lc->region_count = region_count; in create_log_context() 418 bitset_size = dm_round_up(region_count, BITS_PER_LONG); in create_log_context() 495 lc->sync_count = (sync == NOSYNC) ? region_count : 0; in create_log_context() 609 for (i = lc->header.nr_regions; i < lc->region_count; i++) in disk_resume() 613 for (i = lc->header.nr_regions; i < lc->region_count; i++) in disk_resume() 618 for (i = lc->region_count; i % BITS_PER_LONG; i++) in disk_resume() 628 lc->header.nr_regions = lc->region_count; in disk_resume() [all …]
|
D | dm-log-userspace-base.c | 44 region_t region_count; member 285 lc->region_count = dm_sector_div_up(ti->len, lc->region_size); in userspace_ctr() 722 if (lc->in_sync_hint >= lc->region_count) in userspace_get_resync_work() 783 if (sync_count >= lc->region_count) in userspace_get_sync_count() 784 lc->in_sync_hint = lc->region_count; in userspace_get_sync_count()
|
/drivers/vfio/fsl-mc/ |
D | vfio_fsl_mc.c | 27 int count = mc_dev->obj_desc.region_count; in vfio_fsl_mc_open_device() 63 for (i = 0; i < mc_dev->obj_desc.region_count; i++) in vfio_fsl_mc_regions_cleanup() 120 info.num_regions = mc_dev->obj_desc.region_count; in vfio_fsl_mc_ioctl() 138 if (info.index >= mc_dev->obj_desc.region_count) in vfio_fsl_mc_ioctl() 237 if (index >= mc_dev->obj_desc.region_count) in vfio_fsl_mc_read() 316 if (index >= mc_dev->obj_desc.region_count) in vfio_fsl_mc_write() 387 if (index >= mc_dev->obj_desc.region_count) in vfio_fsl_mc_mmap()
|
/drivers/mtd/parsers/ |
D | afs.c | 226 u32 region_count; in afs_parse_v2_partition() local 280 region_count = imginfo[pad+2]; in afs_parse_v2_partition() 286 entrypoint, attributes, region_count, in afs_parse_v2_partition() 289 for (i = 0; i < region_count; i++) { in afs_parse_v2_partition()
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_mr.c | 121 buf_attr.region_count = 1; in alloc_mr_pbl() 465 mtr->hem_cfg.region_count = 1; in hns_roce_map_mr_sg() 635 for (i = 0; i < attr->region_count; i++) in mtr_has_mtt() 652 for (i = 0; i < attr->region_count; i++) in mtr_bufs_size() 788 for (i = 0, mapped_cnt = 0; i < mtr->hem_cfg.region_count && in hns_roce_mtr_map() 843 for (mtt_count = 0; mtt_count < cfg->region_count && in hns_roce_mtr_find() 923 for (page_cnt = 0, region_cnt = 0; region_cnt < attr->region_count && in mtr_init_buf_cfg() 936 cfg->region_count = region_cnt; in mtr_init_buf_cfg() 964 for (i = 0; i < mtr->hem_cfg.region_count; i++) { in cal_best_bt_pg_sz() 993 cfg->region, cfg->region_count, in mtr_alloc_mtt()
|
D | hns_roce_srq.c | 178 buf_attr.region_count = 1; in alloc_srq_idx() 233 buf_attr.region_count = 1; in alloc_srq_wqe_buf()
|
D | hns_roce_device.h | 302 unsigned int region_count; /* valid region count */ member 315 unsigned int region_count; member
|
D | hns_roce_cq.c | 208 buf_attr.region_count = 1; in alloc_cq_buf()
|
D | hns_roce_qp.c | 666 buf_attr->region_count = idx; in set_wqe_buf_attr()
|
D | hns_roce_hw_v2.c | 5974 buf_attr.region_count = 1; in alloc_eq_buf()
|
/drivers/mtd/spi-nor/ |
D | sfdp.c | 812 u32 region_count; in spi_nor_init_non_uniform_erase_map() local 817 region_count = SMPT_MAP_REGION_COUNT(*smpt); in spi_nor_init_non_uniform_erase_map() 822 region = devm_kcalloc(nor->dev, region_count, sizeof(*region), in spi_nor_init_non_uniform_erase_map() 832 for (i = 0; i < region_count; i++) { in spi_nor_init_non_uniform_erase_map()
|
/drivers/remoteproc/ |
D | qcom_common.c | 66 __le32 region_count; member 118 seg_cnt = le32_to_cpu(subsystem->region_count); in qcom_add_minidump_segments()
|
/drivers/bus/fsl-mc/ |
D | fsl-mc-bus.c | 686 regions = kmalloc_array(obj_desc->region_count, in fsl_mc_device_get_mmio_regions() 691 for (i = 0; i < obj_desc->region_count; i++) { in fsl_mc_device_get_mmio_regions() 885 if (parent_mc_dev && obj_desc->region_count != 0) { in fsl_mc_device_add() 1217 obj_desc.region_count = 0; in fsl_mc_bus_probe()
|
D | dprc.c | 448 obj_desc->region_count = rsp_params->region_count; in dprc_get_obj()
|
D | fsl-mc-private.h | 189 u8 region_count; member
|
D | dprc-driver.c | 639 if (mc_dev->obj_desc.region_count == 0) in dprc_setup()
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_acl_tcam.c | 106 unsigned int region_count; member 389 if (group->region_count == group->tcam->max_group_size) { in mlxsw_sp_acl_tcam_group_region_attach() 415 group->region_count++; in mlxsw_sp_acl_tcam_group_region_attach() 434 group->region_count--; in mlxsw_sp_acl_tcam_group_region_detach()
|
/drivers/soc/fsl/dpio/ |
D | dpio-driver.c | 197 if (dpio_dev->obj_desc.region_count < 3) { in dpaa2_dpio_probe()
|