Home
last modified time | relevance | path

Searched refs:bitmaps (Results 1 – 25 of 29) sorted by relevance

12

/linux/tools/testing/selftests/kvm/lib/
H A Dmemstress.c344 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 Dsch_qfq.c86 for the scheduler: bitmaps and bucket lists.
121 * Possible group states. These values are used as indexes for the bitmaps
188 unsigned long bitmaps[QFQ_MAX_STATE]; /* Group bitmaps. */ member
190 u32 min_slot_shift; /* Index of the group-0 bit in the bitmaps. */
766 unsigned long mask = mask_from(q->bitmaps[ER], grp->index); in qfq_calc_state()
781 * q->bitmaps[dst] |= q->bitmaps[src] & mask;
782 * q->bitmaps[src] &= ~mask;
788 q->bitmaps[ds in qfq_move_groups()
[all...]
/linux/tools/testing/selftests/kvm/include/
H A Dmemstress.h76 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 Ddma-mapping.c773 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 Dbigalloc.rst21 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 Dgroup_descr.rst13 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/arch/arm/include/asm/
H A Ddma-iommu.h15 unsigned long **bitmaps; /* array of bitmaps */ member
/linux/Documentation/devicetree/bindings/cpufreq/
H A Dimx-cpufreq-dt.txt12 - opp-supported-hw: Two bitmaps indicating:
/linux/fs/hpfs/
H A Dsuper.c560 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 Dhpfs.h89 __le32 bitmaps; /* pointers to free space bit maps */ member
/linux/Documentation/driver-api/md/
H A Dmd-cluster.rst12 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 Ddm-zoned.rst77 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 Ddm-clone.rst274 2. Release in-core resources, i.e., the bitmaps tracking which regions are
/linux/fs/btrfs/
H A Dfree-space-cache.h109 int bitmaps; member
H A Dscrub.c172 unsigned long bitmaps[BITS_TO_LONGS(scrub_bitmap_nr_last * member
249 bitmap_set(stripe->bitmaps, start_bit, nr_blocks); \
258 bitmap_clear(stripe->bitmaps, start_bit, nr_blocks); \
266 return test_bit(start_bit, stripe->bitmaps); \
274 set_bit(start_bit, stripe->bitmaps); \
282 clear_bit(start_bit, stripe->bitmaps); \
292 return bitmap_read(stripe->bitmaps, nr_blocks * scrub_bitmap_nr_##name, \
1654 bitmap_zero(stripe->bitmaps, scrub_bitmap_nr_last * stripe->nr_sectors); in scrub_stripe_reset_bitmaps()
/linux/kernel/liveupdate/
H A Dkexec_handover.c337 struct khoser_mem_bitmap_ptr bitmaps[KHOSER_BITMAP_SIZE]; member
417 if (chunk->hdr.num_elms == ARRAY_SIZE(chunk->bitmaps)) { in kho_mem_serialize()
425 elm = &chunk->bitmaps[chunk->hdr.num_elms]; in kho_mem_serialize()
489 &chunk->bitmaps[i]); in kho_mem_deserialize()
/linux/Documentation/input/devices/
H A Dalps.rst173 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 Ddriver.c1481 struct ffa_notify_bitmaps bitmaps = { 0 }; in notif_get_and_handle() local
1488 rc = ffa_notification_get(flags, &bitmaps); in notif_get_and_handle()
1494 handle_fwk_notif_callbacks(SPM_FRAMEWORK_BITMAP(bitmaps.arch_map)); in notif_get_and_handle()
1495 handle_fwk_notif_callbacks(NS_HYP_FRAMEWORK_BITMAP(bitmaps.arch_map)); in notif_get_and_handle()
1496 handle_notif_callbacks(bitmaps.vm_map, NON_SECURE_VM); in notif_get_and_handle()
1497 handle_notif_callbacks(bitmaps.sp_map, SECURE_PARTITION); in notif_get_and_handle()
/linux/fs/btrfs/tests/
H A Dfree-space-tree-tests.c421 static int run_test(test_func_t test_func, int bitmaps, u32 sectorsize, in run_test() argument
489 if (bitmaps) { in run_test()
/linux/arch/arm/mach-tegra/
H A Dreset-handler.S55 movw r0, #0x3FFD @ enable, cluster_switch, immed, bitmaps
/linux/Documentation/driver-api/
H A Dswitchtec.rst63 * SWITCHTEC_IOCTL_EVENT_SUMMARY - Read a structure of bitmaps
/linux/Documentation/filesystems/
H A Dext2.rst24 check=none, nocheck (*) Don't do extra checking of bitmaps on mount
104 The block(s) following the bitmaps in each block group are designated
264 which would leading to inconsistent bitmaps. An old kernel would also
/linux/Documentation/admin-guide/
H A Dkernel-parameters.rst94 The semantics of "N" and "all" is supported on a level of bitmaps and holds for
/linux/Documentation/hwmon/
H A Dw83791d.rst115 responsible for handling the fact that the alarms and beep_mask bitmaps
/linux/drivers/md/
H A DKconfig85 If you say Y here, support for write intent bitmaps in files on an
87 bitmaps near the MD superblock, and very problematic code that abuses

12