Home
last modified time | relevance | path

Searched refs:nr_regions (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/linux/drivers/mtd/chips/
H A Djedec_probe.c306 .nr_regions = 1,
318 .nr_regions = 4,
333 .nr_regions = 4,
348 .nr_regions = 4,
363 .nr_regions = 4,
378 .nr_regions = 4,
394 .nr_regions = 6,
411 .nr_regions = 6,
428 .nr_regions = 4,
443 .nr_regions = 4,
[all …]
/openbmc/linux/include/trace/events/
H A Ddamon.h15 struct damon_region *r, unsigned int nr_regions),
17 TP_ARGS(t, target_id, r, nr_regions),
21 __field(unsigned int, nr_regions)
30 __entry->nr_regions = nr_regions;
38 __entry->target_id, __entry->nr_regions,
/openbmc/linux/drivers/md/
H A Ddm-clone-metadata.c122 unsigned long nr_regions; member
469 unsigned long nr_regions) in __dirty_map_init() argument
538 if (i >= (cmd->nr_regions - 1)) in __load_bitset_in_core()
569 cmd->nr_words = BITS_TO_LONGS(cmd->nr_regions); in dm_clone_metadata_open()
645 return (bit >= (start + nr_regions)); in dm_clone_is_range_hydrated()
842 if (unlikely(region_nr >= cmd->nr_regions)) { in dm_clone_set_region_hydrated()
844 region_nr, cmd->nr_regions); in dm_clone_set_region_hydrated()
871 unsigned long nr_regions) in dm_clone_cond_set_range() argument
877 if (unlikely(start >= cmd->nr_regions || (start + nr_regions) < start || in dm_clone_cond_set_range()
878 (start + nr_regions) > cmd->nr_regions)) { in dm_clone_cond_set_range()
[all …]
H A Ddm-clone-target.c76 unsigned long nr_regions; member
297 *nr_regions = 0; in bio_region_range()
299 *nr_regions = end - *rs; in bio_region_range()
479 if (!nr_regions) { in process_discard_bio()
484 if (WARN_ON(rs >= clone->nr_regions || (rs + nr_regions) < rs || in process_discard_bio()
485 (rs + nr_regions) > clone->nr_regions)) { in process_discard_bio()
1022 unsigned long nr_regions = clone->nr_regions; in __start_next_hydration() local
1064 unsigned long offset, nr_regions = clone->nr_regions; in do_hydration() local
1777 sector_t nr_regions; in clone_ctr() local
1822 if (nr_regions != (unsigned long)nr_regions) { in clone_ctr()
[all …]
H A Ddm-switch.c45 unsigned long nr_regions; /* Number of regions making up the device */ member
80 sector_t nr_regions = ti->len; in alloc_region_table() local
99 if (sector_div(nr_regions, sctx->region_size)) in alloc_region_table()
100 nr_regions++; in alloc_region_table()
102 if (nr_regions >= ULONG_MAX) { in alloc_region_table()
106 sctx->nr_regions = nr_regions; in alloc_region_table()
108 nr_slots = nr_regions; in alloc_region_table()
198 for (region_nr = 0; region_nr < sctx->nr_regions; region_nr++) { in initialise_region_table()
414 unlikely(region_index + num_write >= sctx->nr_regions)) { in process_set_region_mappings()
416 region_index, num_write, sctx->nr_regions); in process_set_region_mappings()
[all …]
H A Ddm-log.c211 __le64 nr_regions; member
217 uint64_t nr_regions; member
289 disk->nr_regions = cpu_to_le64(core->nr_regions); in header_to_disk()
296 core->nr_regions = le64_to_cpu(disk->nr_regions); in header_from_disk()
333 log->header.nr_regions = 0; in read_header()
609 lc->header.nr_regions = 0; in disk_resume()
614 for (i = lc->header.nr_regions; i < lc->region_count; i++) in disk_resume()
618 for (i = lc->header.nr_regions; i < lc->region_count; i++) in disk_resume()
633 lc->header.nr_regions = lc->region_count; in disk_resume()
H A Ddm-clone-metadata.h52 unsigned long nr_regions);
154 unsigned long start, unsigned long nr_regions);
H A Ddm-raid1.c75 region_t nr_regions; member
348 if (key == (ms->nr_regions - 1)) { in recover()
410 (log->type->get_sync_count(log) == ms->nr_regions)) { in do_recovery()
909 ms->nr_regions = dm_sector_div_up(ti->len, region_size); in alloc_context()
926 dl, region_size, ms->nr_regions); in alloc_context()
1425 (unsigned long long)ms->nr_regions, buffer); in mirror_status()
H A Ddm-region-hash.c171 region_t nr_regions) in dm_region_hash_create() argument
182 max_buckets = nr_regions >> 6; in dm_region_hash_create()
/openbmc/linux/mm/damon/
H A Dcore.c142 t->nr_regions++; in damon_add_region()
148 t->nr_regions--; in damon_del_region()
376 t->nr_regions = 0; in damon_new_target()
415 return t->nr_regions; in damon_nr_regions()
1135 unsigned int nr_regions; in kdamond_merge_regions() local
1141 nr_regions = 0; in kdamond_merge_regions()
1144 nr_regions += damon_nr_regions(t); in kdamond_merge_regions()
1215 unsigned int nr_regions = 0; in kdamond_split_regions() local
1220 nr_regions += damon_nr_regions(t); in kdamond_split_regions()
1226 if (last_nr_regions == nr_regions && in kdamond_split_regions()
[all …]
H A Dvaddr-test.h130 unsigned long *regions, int nr_regions, in damon_do_test_apply_three_regions() argument
139 for (i = 0; i < nr_regions / 2; i++) { in damon_do_test_apply_three_regions()
H A Dsysfs.c118 int nr_regions) in damon_sysfs_regions_add_dirs() argument
124 if (!nr_regions) in damon_sysfs_regions_add_dirs()
127 regions_arr = kmalloc_array(nr_regions, sizeof(*regions_arr), in damon_sysfs_regions_add_dirs()
133 for (i = 0; i < nr_regions; i++) { in damon_sysfs_regions_add_dirs()
193 __ATTR_RW_MODE(nr_regions, 0600);
H A Dsysfs-schemes.c119 int nr_regions; member
134 regions->nr_regions = 0; in damon_sysfs_scheme_regions_alloc()
156 regions->nr_regions--; in damon_sysfs_scheme_regions_rm_dirs()
1761 sysfs_regions->nr_regions++; in damon_sysfs_before_damos_apply()
/openbmc/linux/drivers/virt/acrn/
H A Dmm.c158 int nr_pages, i, order, nr_regions = 0; in acrn_vm_ram_map() local
282 nr_regions++; in acrn_vm_ram_map()
287 nr_regions), GFP_KERNEL); in acrn_vm_ram_map()
296 regions_info->regions_num = nr_regions; in acrn_vm_ram_map()
/openbmc/linux/arch/arm64/kvm/vgic/
H A Dvgic-mmio-v2.c490 dev->nr_regions = ARRAY_SIZE(vgic_v2_dist_registers); in vgic_v2_init_dist_iodev()
516 iodev.nr_regions = ARRAY_SIZE(vgic_v2_dist_registers); in vgic_v2_has_attr_regs()
521 iodev.nr_regions = ARRAY_SIZE(vgic_v2_cpu_registers); in vgic_v2_has_attr_regs()
544 .nr_regions = ARRAY_SIZE(vgic_v2_cpu_registers), in vgic_v2_cpuif_uaccess()
556 .nr_regions = ARRAY_SIZE(vgic_v2_dist_registers), in vgic_v2_dist_uaccess()
H A Dvgic-mmio-v3.c755 dev->nr_regions = ARRAY_SIZE(vgic_v3_dist_registers); in vgic_v3_init_dist_iodev()
811 rd_dev->nr_regions = ARRAY_SIZE(vgic_v3_rd_registers); in vgic_register_redist_iodev()
1009 iodev.nr_regions = ARRAY_SIZE(vgic_v3_dist_registers); in vgic_v3_has_attr_regs()
1014 iodev.nr_regions = ARRAY_SIZE(vgic_v3_rd_registers); in vgic_v3_has_attr_regs()
1168 .nr_regions = ARRAY_SIZE(vgic_v3_dist_registers), in vgic_v3_dist_uaccess()
1179 .nr_regions = ARRAY_SIZE(vgic_v3_rd_registers), in vgic_v3_redist_uaccess()
H A Dvgic-mmio.h228 int nr_regions, unsigned int offset);
H A Dvgic-mmio.c852 int nr_regions, unsigned int offset) in vgic_find_mmio_region() argument
854 return bsearch((void *)(uintptr_t)offset, regions, nr_regions, in vgic_find_mmio_region()
970 region = vgic_find_mmio_region(iodev->regions, iodev->nr_regions, in vgic_get_mmio_region()
/openbmc/linux/Documentation/translations/zh_CN/admin-guide/mm/damon/
H A Dusage.rst68 │ │ │ │ │ │ nr_regions/min,max
71 │ │ │ │ │ │ │ regions/nr_regions
150 具体来说,这个目录下有两个目录,即 ``intervals`` 和 ``nr_regions`` 。
155 在 ``nr_regions`` 目录下,有两个文件分别用于DAMON监测区域的下限和上限(``min`` 和 ``max`` ),
187 开始时,这个目录只有一个文件, ``nr_regions`` 。向该文件写入一个数字(``N``),就可以创
/openbmc/linux/drivers/pci/controller/
H A Dpcie-iproc.h48 unsigned int nr_regions; member
H A Dpcie-iproc.c1125 for (region_idx = 0; region_idx < ib->nr_regions; region_idx++) { in iproc_pcie_setup_ib()
1209 for (idx = 0; idx < ib->nr_regions; idx++) { in iproc_pcie_invalidate_mapping()
1417 pcie->ib.nr_regions = ARRAY_SIZE(paxb_v2_ib_map); in iproc_pcie_rev_init()
/openbmc/linux/include/linux/
H A Ddm-region-hash.h45 region_t nr_regions);
H A Ddamon.h76 unsigned int nr_regions; member
616 t->nr_regions++; in damon_insert_region()
/openbmc/linux/include/kvm/
H A Darm_vgic.h183 int nr_regions; member
/openbmc/linux/Documentation/admin-guide/mm/damon/
H A Dusage.rst71 │ │ │ │ │ │ nr_regions/min,max
74 │ │ │ │ │ │ │ regions/nr_regions
191 Specifically, two directories, ``intervals`` and ``nr_regions`` exist in this
199 Under ``nr_regions`` directory, two files for the lower-bound and upper-bound
244 In the beginning, this directory has only one file, ``nr_regions``. Writing a

12