| /linux/tools/testing/selftests/kvm/lib/ |
| H A D | memstress.c | 344 void memstress_get_dirty_log(struct kvm_vm *vm, unsigned long *bitmaps[], int slots) in memstress_get_dirty_log() argument 351 kvm_vm_get_dirty_log(vm, slot, bitmaps[i]); in memstress_get_dirty_log() 355 void memstress_clear_dirty_log(struct kvm_vm *vm, unsigned long *bitmaps[], in memstress_clear_dirty_log() argument 363 kvm_vm_clear_dirty_log(vm, slot, bitmaps[i], 0, pages_per_slot); in memstress_clear_dirty_log() 369 unsigned long **bitmaps; in memstress_alloc_bitmaps() local 372 bitmaps = malloc(slots * sizeof(bitmaps[0])); in memstress_alloc_bitmaps() 373 TEST_ASSERT(bitmaps, "Failed to allocate bitmaps array."); in memstress_alloc_bitmaps() 376 bitmaps[i] = bitmap_zalloc(pages_per_slot); in memstress_alloc_bitmaps() 377 TEST_ASSERT(bitmaps[i], "Failed to allocate slot bitmap."); in memstress_alloc_bitmaps() 380 return bitmaps; in memstress_alloc_bitmaps() [all …]
|
| /linux/net/sched/ |
| H A D | sch_qfq.c | 188 unsigned long bitmaps[QFQ_MAX_STATE]; /* Group bitmaps. */ member 768 unsigned long mask = mask_from(q->bitmaps[ER], grp->index); in qfq_calc_state() 790 q->bitmaps[dst] |= q->bitmaps[src] & mask; in qfq_move_groups() 791 q->bitmaps[src] &= ~mask; in qfq_move_groups() 796 unsigned long mask = mask_from(q->bitmaps[ER], index + 1); in qfq_unblock_groups() 980 ineligible = q->bitmaps[IR] | q->bitmaps[IB]; in qfq_update_eligible() 982 if (!q->bitmaps[ER]) { in qfq_update_eligible() 1065 mask = mask_from(q->bitmaps[ER], agg->grp->index); in qfq_update_start() 1193 if (!q->bitmaps[ER]) in qfq_choose_next_agg() 1196 grp = qfq_ffs(q, q->bitmaps[ER]); in qfq_choose_next_agg() [all …]
|
| /linux/tools/testing/selftests/kvm/include/ |
| H A D | memstress.h | 76 void memstress_get_dirty_log(struct kvm_vm *vm, unsigned long *bitmaps[], int slots); 77 void memstress_clear_dirty_log(struct kvm_vm *vm, unsigned long *bitmaps[], 80 void memstress_free_bitmaps(unsigned long *bitmaps[], int slots);
|
| /linux/arch/arm/mm/ |
| H A D | dma-mapping.c | 773 start = bitmap_find_next_zero_area(mapping->bitmaps[i], in __alloc_iova() 779 bitmap_set(mapping->bitmaps[i], start, count); in __alloc_iova() 794 start = bitmap_find_next_zero_area(mapping->bitmaps[i], in __alloc_iova() 802 bitmap_set(mapping->bitmaps[i], start, count); in __alloc_iova() 843 bitmap_clear(mapping->bitmaps[bitmap_index], start, count); in __free_iova() 1512 mapping->bitmaps = kcalloc(extensions, sizeof(unsigned long *), in arm_iommu_create_mapping() 1514 if (!mapping->bitmaps) in arm_iommu_create_mapping() 1517 mapping->bitmaps[0] = kzalloc(bitmap_size, GFP_KERNEL); in arm_iommu_create_mapping() 1518 if (!mapping->bitmaps[0]) in arm_iommu_create_mapping() 1537 kfree(mapping->bitmaps[0]); in arm_iommu_create_mapping() [all …]
|
| /linux/Documentation/filesystems/ext4/ |
| H A D | bigalloc.rst | 21 bitmaps for a 2T file system from 64 megabytes to 256 kilobytes. It also 27 on, the block bitmaps track clusters, not individual blocks. This means
|
| H A D | group_descr.rst | 13 Notice how the group descriptor records the location of both bitmaps and 18 of the groups' bitmaps and inode tables into one long run in the first
|
| /linux/fs/btrfs/ |
| H A D | free-space-cache.c | 744 LIST_HEAD(bitmaps); in __load_free_space_cache() 866 list_add_tail(&e->list, &bitmaps); in __load_free_space_cache() 878 list_for_each_entry_safe(e, n, &bitmaps, list) { in __load_free_space_cache() 1073 int *entries, int *bitmaps, in write_cache_extent_entries() argument 1109 *bitmaps += 1; in write_cache_extent_entries() 1150 int entries, int bitmaps) in update_cache_item() argument 1187 btrfs_set_free_space_bitmaps(leaf, header, bitmaps); in update_cache_item() 1308 io_ctl->entries, io_ctl->bitmaps); in __btrfs_wait_cache_io() 1378 int bitmaps = 0; in __btrfs_write_out_cache() local 1420 block_group, &entries, &bitmaps, in __btrfs_write_out_cache() [all …]
|
| H A D | scrub.c | 171 unsigned long bitmaps[BITS_TO_LONGS(scrub_bitmap_nr_last * member 248 bitmap_set(stripe->bitmaps, start_bit, nr_blocks); \ 257 bitmap_clear(stripe->bitmaps, start_bit, nr_blocks); \ 265 return test_bit(start_bit, stripe->bitmaps); \ 273 set_bit(start_bit, stripe->bitmaps); \ 281 clear_bit(start_bit, stripe->bitmaps); \ 291 return bitmap_read(stripe->bitmaps, nr_blocks * scrub_bitmap_nr_##name, \ 1651 bitmap_zero(stripe->bitmaps, scrub_bitmap_nr_last * stripe->nr_sectors); in scrub_stripe_reset_bitmaps()
|
| H A D | disk-io.c | 534 if (!test_bit(cur_bit, subpage->bitmaps)) { in btree_dirty_folio()
|
| /linux/arch/arm/include/asm/ |
| H A D | dma-iommu.h | 15 unsigned long **bitmaps; /* array of bitmaps */ member
|
| /linux/Documentation/devicetree/bindings/cpufreq/ |
| H A D | imx-cpufreq-dt.txt | 12 - opp-supported-hw: Two bitmaps indicating:
|
| /linux/fs/hpfs/ |
| H A D | super.c | 560 sbi->sb_bitmaps = le32_to_cpu(superblock->bitmaps); in hpfs_fill_super() 590 if (!(sbi->sb_bmp_dir = hpfs_load_bitmap_directory(s, le32_to_cpu(superblock->bitmaps)))) in hpfs_fill_super() 630 hpfs_chk_sectors(s, le32_to_cpu(superblock->bitmaps), 4, "bitmaps")) { in hpfs_fill_super()
|
| H A D | hpfs.h | 89 __le32 bitmaps; /* pointers to free space bit maps */ member
|
| /linux/Documentation/driver-api/md/ |
| H A D | md-cluster.rst | 12 Separate write-intent-bitmaps are used for each cluster node. 13 The bitmaps record all writes that may have been started on that node, 43 The bm_lockres protects individual node bitmaps. They are named in 368 gathers bitmap information from all bitmaps. This combined
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | dm-zoned.rst | 77 3) A set of blocks used to store bitmaps indicating the validity of 99 information provided by the bitmaps. Valid blocks are read either from 135 a third set of metadata (without the zone bitmaps) is written to the
|
| H A D | dm-clone.rst | 274 2. Release in-core resources, i.e., the bitmaps tracking which regions are
|
| /linux/kernel/liveupdate/ |
| H A D | kexec_handover.c | 355 struct khoser_mem_bitmap_ptr bitmaps[KHOSER_BITMAP_SIZE]; member 435 if (chunk->hdr.num_elms == ARRAY_SIZE(chunk->bitmaps)) { in kho_mem_serialize() 443 elm = &chunk->bitmaps[chunk->hdr.num_elms]; in kho_mem_serialize() 503 &chunk->bitmaps[i]); in kho_mem_deserialize()
|
| /linux/Documentation/input/devices/ |
| H A D | alps.rst | 173 The second packet type contains bitmaps representing the x and y axes. In the 174 bitmaps a given bit is set if there is a finger covering that position on the 232 2) The bitmaps represent the same data as in the v3 bitmap packets, although 237 analyzing the bitmaps.
|
| /linux/drivers/firmware/arm_ffa/ |
| H A D | driver.c | 1510 struct ffa_notify_bitmaps bitmaps = { 0 }; in notif_get_and_handle() local 1517 rc = ffa_notification_get(flags, &bitmaps); in notif_get_and_handle() 1523 handle_fwk_notif_callbacks(SPM_FRAMEWORK_BITMAP(bitmaps.arch_map)); in notif_get_and_handle() 1524 handle_fwk_notif_callbacks(NS_HYP_FRAMEWORK_BITMAP(bitmaps.arch_map)); in notif_get_and_handle() 1525 handle_notif_callbacks(bitmaps.vm_map, NON_SECURE_VM); in notif_get_and_handle() 1526 handle_notif_callbacks(bitmaps.sp_map, SECURE_PARTITION); in notif_get_and_handle()
|
| /linux/arch/arm/mach-tegra/ |
| H A D | reset-handler.S | 55 movw r0, #0x3FFD @ enable, cluster_switch, immed, bitmaps
|
| /linux/Documentation/driver-api/ |
| H A D | switchtec.rst | 63 * SWITCHTEC_IOCTL_EVENT_SUMMARY - Read a structure of bitmaps
|
| /linux/Documentation/admin-guide/ |
| H A D | kernel-parameters.rst | 94 The semantics of "N" and "all" is supported on a level of bitmaps and holds for
|
| /linux/Documentation/hwmon/ |
| H A D | w83791d.rst | 115 responsible for handling the fact that the alarms and beep_mask bitmaps
|
| /linux/tools/arch/x86/kcpuid/ |
| H A D | cpuid.csv | 599 0x23, 0, eax, 1, subleaf_1_counters , Subleaf 1, PMU counters bitmaps, is valid 600 0x23, 0, eax, 3, subleaf_3_events , Subleaf 3, PMU events bitmaps, is valid
|
| /linux/Documentation/filesystems/iomap/ |
| H A D | operations.rst | 35 linked lists of buffer heads instead of the per-folio bitmaps that iomap
|