/linux-6.1.9/drivers/md/ |
D | dm-log.c | 223 unsigned int region_count; member 369 unsigned int region_count; in create_log_context() local 397 region_count = dm_sector_div_up(ti->len, region_size); in create_log_context() 410 lc->region_count = region_count; in create_log_context() 416 bitset_size = dm_round_up(region_count, BITS_PER_LONG); in create_log_context() 493 lc->sync_count = (sync == NOSYNC) ? region_count : 0; in create_log_context() 607 for (i = lc->header.nr_regions; i < lc->region_count; i++) in disk_resume() 611 for (i = lc->header.nr_regions; i < lc->region_count; i++) in disk_resume() 616 for (i = lc->region_count; i % BITS_PER_LONG; i++) in disk_resume() 626 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()
|
/linux-6.1.9/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() 146 info.num_regions = mc_dev->obj_desc.region_count; in vfio_fsl_mc_ioctl() 164 if (info.index >= mc_dev->obj_desc.region_count) in vfio_fsl_mc_ioctl() 252 if (index >= mc_dev->obj_desc.region_count) in vfio_fsl_mc_read() 331 if (index >= mc_dev->obj_desc.region_count) in vfio_fsl_mc_write() 402 if (index >= mc_dev->obj_desc.region_count) in vfio_fsl_mc_mmap()
|
/linux-6.1.9/arch/powerpc/platforms/ps3/ |
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;} in ps3_repository_write_highmem_region_count() argument
|
D | repository.c | 764 int ps3_repository_read_highmem_region_count(unsigned int *region_count) in ps3_repository_read_highmem_region_count() argument 775 *region_count = v1; in ps3_repository_read_highmem_region_count() 1103 int ps3_repository_write_highmem_region_count(unsigned int region_count) in ps3_repository_write_highmem_region_count() argument 1106 u64 v1 = (u64)region_count; in ps3_repository_write_highmem_region_count()
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/infiniband/hw/hns/ |
D | hns_roce_mr.c | 101 buf_attr.region_count = 1; in alloc_mr_pbl() 441 mtr->hem_cfg.region_count = 1; in hns_roce_map_mr_sg() 608 for (i = 0; i < attr->region_count; i++) in mtr_has_mtt() 625 for (i = 0; i < attr->region_count; i++) in mtr_bufs_size() 761 for (i = 0, mapped_cnt = 0; i < mtr->hem_cfg.region_count && in hns_roce_mtr_map() 816 for (mtt_count = 0; mtt_count < cfg->region_count && in hns_roce_mtr_find() 893 for (page_cnt = 0, region_cnt = 0; region_cnt < attr->region_count && in mtr_init_buf_cfg() 906 cfg->region_count = region_cnt; in mtr_init_buf_cfg() 921 cfg->region, cfg->region_count, in mtr_alloc_mtt()
|
D | hns_roce_srq.c | 179 buf_attr.region_count = 1; in alloc_srq_idx() 234 buf_attr.region_count = 1; in alloc_srq_wqe_buf()
|
D | hns_roce_device.h | 273 unsigned int region_count; /* valid region count */ member 286 unsigned int region_count; member
|
D | hns_roce_cq.c | 209 buf_attr.region_count = 1; in alloc_cq_buf()
|
D | hns_roce_qp.c | 681 buf_attr->region_count = idx; in set_wqe_buf_attr()
|
D | hns_roce_hw_v2.c | 6491 buf_attr.region_count = 1; in alloc_eq_buf()
|
/linux-6.1.9/Documentation/translations/zh_CN/mm/ |
D | hugetlbfs_reserv.rst | 289 long region_count(struct resv_map *resv, long f, long t); 330 region_count()在解除私有巨页映射时被调用。在私有映射中,预留映射中没有条目表明存在一个预留。 332 (Outstanding = (end - start) - region_count(resv, start, end))。由于映射正在消
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/mtd/spi-nor/ |
D | sfdp.c | 814 u32 region_count; in spi_nor_init_non_uniform_erase_map() local 819 region_count = SMPT_MAP_REGION_COUNT(*smpt); in spi_nor_init_non_uniform_erase_map() 824 region = devm_kcalloc(nor->dev, region_count, sizeof(*region), in spi_nor_init_non_uniform_erase_map() 834 for (i = 0; i < region_count; i++) { in spi_nor_init_non_uniform_erase_map()
|
/linux-6.1.9/drivers/bus/fsl-mc/ |
D | fsl-mc-bus.c | 689 regions = kmalloc_array(obj_desc->region_count, in fsl_mc_device_get_mmio_regions() 694 for (i = 0; i < obj_desc->region_count; i++) { in fsl_mc_device_get_mmio_regions() 888 if (parent_mc_dev && obj_desc->region_count != 0) { in fsl_mc_device_add() 1220 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 | 187 u8 region_count; member
|
D | dprc-driver.c | 639 if (mc_dev->obj_desc.region_count == 0) in dprc_setup()
|
/linux-6.1.9/drivers/soc/fsl/dpio/ |
D | dpio-driver.c | 198 if (dpio_dev->obj_desc.region_count < 3) { in dpaa2_dpio_probe()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_acl_tcam.c | 167 unsigned int region_count; member 450 if (group->region_count == group->tcam->max_group_size) { in mlxsw_sp_acl_tcam_group_region_attach() 476 group->region_count++; in mlxsw_sp_acl_tcam_group_region_attach() 495 group->region_count--; in mlxsw_sp_acl_tcam_group_region_detach()
|
/linux-6.1.9/include/linux/fsl/ |
D | mc.h | 150 u8 region_count; member
|
/linux-6.1.9/Documentation/mm/ |
D | hugetlbfs_reserv.rst | 381 long region_count(struct resv_map *resv, long f, long t); 444 region_count() is called when unmapping a private huge page mapping. In 448 outstanding (outstanding = (end - start) - region_count(resv, start, end)).
|
/linux-6.1.9/mm/ |
D | hugetlb.c | 931 static long region_count(struct resv_map *resv, long f, long t) in region_count() function 4812 reserve = (end - start) - region_count(resv, start, end); in hugetlb_vm_op_close()
|