/linux-6.1.9/drivers/mtd/chips/ |
D | jedec_probe.c | 272 const uint8_t nr_regions; member 305 .nr_regions = 1, 317 .nr_regions = 4, 332 .nr_regions = 4, 347 .nr_regions = 4, 362 .nr_regions = 4, 377 .nr_regions = 4, 393 .nr_regions = 6, 410 .nr_regions = 6, 427 .nr_regions = 4, [all …]
|
/linux-6.1.9/include/trace/events/ |
D | damon.h | 15 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,
|
/linux-6.1.9/drivers/md/ |
D | dm-clone-metadata.c | 122 unsigned long nr_regions; member 381 cmd->nr_regions, false, &cmd->bitset_root); in __format_metadata() 383 DMERR("Failed to resize on-disk bitset to %lu entries", cmd->nr_regions); in __format_metadata() 474 unsigned long nr_regions) in __dirty_map_init() argument 482 dmap->dirty_regions = kvzalloc(bitmap_size(nr_regions), GFP_KERNEL); in __dirty_map_init() 499 if (__dirty_map_init(&cmd->dmap[0], cmd->nr_words, cmd->nr_regions)) { in dirty_map_init() 504 if (__dirty_map_init(&cmd->dmap[1], cmd->nr_words, cmd->nr_regions)) { in dirty_map_init() 533 r = dm_bitset_cursor_begin(&cmd->bitset_info, cmd->bitset_root, cmd->nr_regions, &c); in __load_bitset_in_core() 543 if (i >= (cmd->nr_regions - 1)) in __load_bitset_in_core() 573 cmd->nr_regions = dm_sector_div_up(cmd->target_size, cmd->region_size); in dm_clone_metadata_open() [all …]
|
D | dm-clone-target.c | 76 unsigned long nr_regions; member 289 unsigned long *rs, unsigned long *nr_regions) in bio_region_range() argument 297 *nr_regions = 0; in bio_region_range() 299 *nr_regions = end - *rs; in bio_region_range() 457 unsigned long rs, nr_regions; in complete_discard_bio() local 466 bio_region_range(clone, bio, &rs, &nr_regions); in complete_discard_bio() 468 nr_regions << clone->region_shift); in complete_discard_bio() 476 unsigned long rs, nr_regions; in process_discard_bio() local 478 bio_region_range(clone, bio, &rs, &nr_regions); in process_discard_bio() 479 if (!nr_regions) { in process_discard_bio() [all …]
|
D | dm-switch.c | 44 unsigned long nr_regions; /* Number of regions making up the device */ member 79 sector_t nr_regions = ti->len; in alloc_region_table() local 98 if (sector_div(nr_regions, sctx->region_size)) in alloc_region_table() 99 nr_regions++; in alloc_region_table() 101 if (nr_regions >= ULONG_MAX) { in alloc_region_table() 105 sctx->nr_regions = nr_regions; in alloc_region_table() 107 nr_slots = nr_regions; in alloc_region_table() 197 for (region_nr = 0; region_nr < sctx->nr_regions; region_nr++) { in initialise_region_table() 413 unlikely(region_index + num_write >= sctx->nr_regions)) { in process_set_region_mappings() 415 region_index, num_write, sctx->nr_regions); in process_set_region_mappings() [all …]
|
D | dm-log.c | 208 __le64 nr_regions; member 214 uint64_t nr_regions; member 284 disk->nr_regions = cpu_to_le64(core->nr_regions); in header_to_disk() 291 core->nr_regions = le64_to_cpu(disk->nr_regions); in header_from_disk() 328 log->header.nr_regions = 0; in read_header() 602 lc->header.nr_regions = 0; in disk_resume() 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() 626 lc->header.nr_regions = lc->region_count; in disk_resume()
|
D | dm-clone-metadata.h | 52 unsigned long nr_regions); 154 unsigned long start, unsigned long nr_regions);
|
D | dm-raid1.c | 70 region_t nr_regions; member 341 if (key == (ms->nr_regions - 1)) { in recover() 403 (log->type->get_sync_count(log) == ms->nr_regions)) { in do_recovery() 895 ms->nr_regions = dm_sector_div_up(ti->len, region_size); in alloc_context() 912 dl, region_size, ms->nr_regions); in alloc_context() 1411 (unsigned long long)ms->nr_regions, buffer); in mirror_status()
|
D | dm-region-hash.c | 168 region_t nr_regions) in dm_region_hash_create() argument 179 max_buckets = nr_regions >> 6; in dm_region_hash_create()
|
/linux-6.1.9/drivers/virt/acrn/ |
D | mm.c | 158 int nr_pages, i = 0, order, nr_regions = 0; in acrn_vm_ram_map() local 242 nr_regions++; in acrn_vm_ram_map() 248 nr_regions), GFP_KERNEL); in acrn_vm_ram_map() 257 regions_info->regions_num = nr_regions; in acrn_vm_ram_map()
|
/linux-6.1.9/mm/damon/ |
D | core.c | 142 t->nr_regions++; in damon_add_region() 148 t->nr_regions--; in damon_del_region() 336 t->nr_regions = 0; in damon_new_target() 375 return t->nr_regions; in damon_nr_regions() 993 unsigned int nr_regions = 0; in kdamond_split_regions() local 998 nr_regions += damon_nr_regions(t); in kdamond_split_regions() 1000 if (nr_regions > ctx->attrs.max_nr_regions / 2) in kdamond_split_regions() 1004 if (last_nr_regions == nr_regions && in kdamond_split_regions() 1005 nr_regions < ctx->attrs.max_nr_regions / 3) in kdamond_split_regions() 1011 last_nr_regions = nr_regions; in kdamond_split_regions()
|
D | vaddr-test.h | 122 unsigned long *regions, int nr_regions, in damon_do_test_apply_three_regions() argument 131 for (i = 0; i < nr_regions / 2; i++) { in damon_do_test_apply_three_regions()
|
D | sysfs.c | 1174 int nr_regions) in damon_sysfs_regions_add_dirs() argument 1180 if (!nr_regions) in damon_sysfs_regions_add_dirs() 1183 regions_arr = kmalloc_array(nr_regions, sizeof(*regions_arr), in damon_sysfs_regions_add_dirs() 1189 for (i = 0; i < nr_regions; i++) { in damon_sysfs_regions_add_dirs() 1249 __ATTR_RW_MODE(nr_regions, 0600);
|
/linux-6.1.9/Documentation/translations/zh_CN/admin-guide/mm/damon/ |
D | usage.rst | 68 │ │ │ │ │ │ nr_regions/min,max 71 │ │ │ │ │ │ │ regions/nr_regions 143 具体来说,这个目录下有两个目录,即 ``intervals`` 和 ``nr_regions`` 。 148 在 ``nr_regions`` 目录下,有两个文件分别用于DAMON监测区域的下限和上限(``min`` 和 ``max`` ), 180 开始时,这个目录只有一个文件, ``nr_regions`` 。向该文件写入一个数字(``N``),就可以创
|
/linux-6.1.9/arch/arm64/kvm/vgic/ |
D | vgic-mmio-v2.c | 490 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()
|
D | vgic-mmio-v3.c | 748 dev->nr_regions = ARRAY_SIZE(vgic_v3_dist_registers); in vgic_v3_init_dist_iodev() 799 rd_dev->nr_regions = ARRAY_SIZE(vgic_v3_rd_registers); in vgic_register_redist_iodev() 980 iodev.nr_regions = ARRAY_SIZE(vgic_v3_dist_registers); in vgic_v3_has_attr_regs() 985 iodev.nr_regions = ARRAY_SIZE(vgic_v3_rd_registers); in vgic_v3_has_attr_regs() 1139 .nr_regions = ARRAY_SIZE(vgic_v3_dist_registers), in vgic_v3_dist_uaccess() 1150 .nr_regions = ARRAY_SIZE(vgic_v3_rd_registers), in vgic_v3_redist_uaccess()
|
D | vgic-mmio.h | 228 int nr_regions, unsigned int offset);
|
D | vgic-mmio.c | 849 int nr_regions, unsigned int offset) in vgic_find_mmio_region() argument 851 return bsearch((void *)(uintptr_t)offset, regions, nr_regions, in vgic_find_mmio_region() 967 region = vgic_find_mmio_region(iodev->regions, iodev->nr_regions, in vgic_get_mmio_region()
|
/linux-6.1.9/drivers/pci/controller/ |
D | pcie-iproc.h | 48 unsigned int nr_regions; member
|
D | pcie-iproc.c | 1126 for (region_idx = 0; region_idx < ib->nr_regions; region_idx++) { in iproc_pcie_setup_ib() 1210 for (idx = 0; idx < ib->nr_regions; idx++) { in iproc_pcie_invalidate_mapping() 1418 pcie->ib.nr_regions = ARRAY_SIZE(paxb_v2_ib_map); in iproc_pcie_rev_init()
|
/linux-6.1.9/include/linux/ |
D | damon.h | 75 unsigned int nr_regions; member 526 t->nr_regions++; in damon_insert_region()
|
D | dm-region-hash.h | 42 region_t nr_regions);
|
/linux-6.1.9/include/kvm/ |
D | arm_vgic.h | 183 int nr_regions; member
|
/linux-6.1.9/Documentation/ABI/testing/ |
D | sysfs-kernel-mm-damon | 84 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/nr_regions/min 92 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/nr_regions/max 113 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/<T>/regions/nr_regions
|
/linux-6.1.9/Documentation/admin-guide/mm/damon/ |
D | usage.rst | 74 │ │ │ │ │ │ nr_regions/min,max 77 │ │ │ │ │ │ │ regions/nr_regions 174 Specifically, two directories, ``intervals`` and ``nr_regions`` exist in this 182 Under ``nr_regions`` directory, two files for the lower-bound and upper-bound 227 In the beginning, this directory has only one file, ``nr_regions``. Writing a
|