/linux/drivers/mtd/chips/ |
H A D | jedec_probe.c | 273 const uint8_t nr_regions; member 306 .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, [all …]
|
/linux/include/trace/events/ |
H A D | damon.h | 16 unsigned int nr_regions, bool do_trace), 18 TP_ARGS(context_idx, scheme_idx, target_idx, r, nr_regions, do_trace), 30 __field(unsigned int, nr_regions) 41 __entry->nr_regions = nr_regions; 46 __entry->target_idx, __entry->nr_regions, 54 unsigned int nr_regions), 56 TP_ARGS(target_id, r, nr_regions), 60 __field(unsigned int, nr_regions) 69 __entry->nr_regions = nr_regions; 77 __entry->target_id, __entry->nr_regions,
|
/linux/drivers/md/ |
H A 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() 469 unsigned long nr_regions) in __dirty_map_init() argument 477 dmap->dirty_regions = kvzalloc(bitmap_size(nr_regions), GFP_KERNEL); in __dirty_map_init() 494 if (__dirty_map_init(&cmd->dmap[0], cmd->nr_words, cmd->nr_regions)) { in dirty_map_init() 499 if (__dirty_map_init(&cmd->dmap[1], cmd->nr_words, cmd->nr_regions)) { in dirty_map_init() 528 r = dm_bitset_cursor_begin(&cmd->bitset_info, cmd->bitset_root, cmd->nr_regions, &c); in __load_bitset_in_core() 535 if (i >= (cmd->nr_regions - 1)) in __load_bitset_in_core() 565 cmd->nr_regions = dm_sector_div_up(cmd->target_size, cmd->region_size); in dm_clone_metadata_open() [all …]
|
H A D | dm-switch.c | 45 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 D | dm-log.c | 211 __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 D | dm-clone-metadata.h | 52 unsigned long nr_regions); 154 unsigned long start, unsigned long nr_regions);
|
H A D | dm-raid1.c | 75 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 D | dm-region-hash.c | 171 region_t nr_regions) in dm_region_hash_create() argument 182 max_buckets = nr_regions >> 6; in dm_region_hash_create()
|
/linux/tools/testing/selftests/damon/ |
H A D | access_memory_even.c | 17 int nr_regions; in main() 26 nr_regions = atoi(argv[1]); in main() 29 regions = malloc(sizeof(*regions) * nr_regions); in main() 30 for (i = 0; i < nr_regions; i++) in main() 34 for (i = 0; i < nr_regions; i++) { in main() 18 int nr_regions; main() local
|
H A D | access_memory.c | 15 int nr_regions; in main() local 26 nr_regions = atoi(argv[1]); in main() 30 regions = malloc(sizeof(*regions) * nr_regions); in main() 31 for (i = 0; i < nr_regions; i++) in main() 34 for (i = 0; i < nr_regions; i++) { in main()
|
/linux/drivers/virt/acrn/ |
H A D | mm.c | 159 int nr_pages, i, order, nr_regions = 0; in acrn_vm_ram_map() local 284 nr_regions++; in acrn_vm_ram_map() 289 nr_regions), GFP_KERNEL); in acrn_vm_ram_map() 294 regions_info->regions_num = nr_regions; in acrn_vm_ram_map()
|
/linux/arch/arm64/kvm/vgic/ |
H A 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()
|
H A D | vgic-mmio-v3.c | 735 dev->nr_regions = ARRAY_SIZE(vgic_v3_dist_registers); in vgic_v3_init_dist_iodev() 791 rd_dev->nr_regions = ARRAY_SIZE(vgic_v3_rd_registers); in vgic_register_redist_iodev() 991 iodev.nr_regions = ARRAY_SIZE(vgic_v3_dist_registers); in vgic_v3_has_attr_regs() 996 iodev.nr_regions = ARRAY_SIZE(vgic_v3_rd_registers); in vgic_v3_has_attr_regs() 1116 .nr_regions = ARRAY_SIZE(vgic_v3_dist_registers), in vgic_v3_dist_uaccess() 1127 .nr_regions = ARRAY_SIZE(vgic_v3_rd_registers), in vgic_v3_redist_uaccess()
|
H A D | vgic-mmio.h | 228 int nr_regions, unsigned int offset);
|
H A D | vgic-mmio.c | 837 int nr_regions, unsigned int offset) in vgic_find_mmio_region() argument 839 return bsearch((void *)(uintptr_t)offset, regions, nr_regions, in vgic_find_mmio_region() 955 region = vgic_find_mmio_region(iodev->regions, iodev->nr_regions, in vgic_get_mmio_region()
|
/linux/mm/damon/ |
H A D | core.c | 144 t->nr_regions++; in damon_add_region() 150 t->nr_regions--; in damon_del_region() 445 t->nr_regions = 0; in damon_new_target() 484 return t->nr_regions; in damon_nr_regions() 1731 unsigned int nr_regions; in kdamond_merge_regions() local 1737 nr_regions = 0; in kdamond_merge_regions() 1740 nr_regions += damon_nr_regions(t); in kdamond_merge_regions() 1743 } while (nr_regions > c->attrs.max_nr_regions && in kdamond_merge_regions() 1813 unsigned int nr_regions = 0; in kdamond_split_regions() local 1818 nr_regions += damon_nr_regions(t); in kdamond_split_regions() [all …]
|
H A D | sysfs.c | 118 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);
|
/linux/Documentation/translations/zh_CN/admin-guide/mm/damon/ |
H A D | usage.rst | 68 │ │ │ │ │ │ nr_regions/min,max 71 │ │ │ │ │ │ │ regions/nr_regions 150 具体来说,这个目录下有两个目录,即 ``intervals`` 和 ``nr_regions`` 。 155 在 ``nr_regions`` 目录下,有两个文件分别用于DAMON监测区域的下限和上限(``min`` 和 ``max`` ), 187 开始时,这个目录只有一个文件, ``nr_regions`` 。向该文件写入一个数字(``N``),就可以创
|
/linux/Documentation/translations/zh_TW/admin-guide/mm/damon/ |
H A D | usage.rst | 68 │ │ │ │ │ │ nr_regions/min,max 71 │ │ │ │ │ │ │ regions/nr_regions 150 具體來說,這個目錄下有兩個目錄,即 ``intervals`` 和 ``nr_regions`` 。 155 在 ``nr_regions`` 目錄下,有兩個文件分別用於DAMON監測區域的下限和上限(``min`` 和 ``max`` ), 187 開始時,這個目錄只有一個文件, ``nr_regions`` 。向該文件寫入一個數字(``N``),就可以創
|
/linux/mm/damon/tests/ |
H A D | vaddr-kunit.h | 113 * nr_regions the number of the addresses in 'regions' 130 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()
|
/linux/drivers/pci/controller/ |
H A D | pcie-iproc.h | 48 unsigned int nr_regions; member
|
/linux/include/linux/ |
H A D | dm-region-hash.h | 45 region_t nr_regions);
|
H A D | damon.h | 92 unsigned int nr_regions; member 717 t->nr_regions++; in damon_insert_region()
|
/linux/Documentation/admin-guide/mm/damon/ |
H A D | usage.rst | 73 │ │ │ │ │ │ nr_regions/min,max 76 │ │ │ │ │ │ │ :ref:`regions <sysfs_regions>`/nr_regions 206 Specifically, two directories, ``intervals`` and ``nr_regions`` exist in this 214 Under ``nr_regions`` directory, two files for the lower-bound and upper-bound 257 In the beginning, this directory has only one file, ``nr_regions``. Writing a 576 …kdamond.0 46568 [027] 79357.842179: damon:damon_aggregated: target_id=0 nr_regions=11 122509119488… 582 seventh field (``nr_regions=X``) shows the total number of monitoring regions 594 ….060214: damon:damos_before_apply: ctx_idx=0 scheme_idx=0 target_idx=0 nr_regions=11 121932607488-…
|
/linux/include/kvm/ |
H A D | arm_vgic.h | 183 int nr_regions; member
|