Home
last modified time | relevance | path

Searched full:bitmaps (Results 1 – 25 of 173) sorted by relevance

1234567

/linux/tools/testing/selftests/kvm/lib/
H A Dmemstress.c340 void memstress_get_dirty_log(struct kvm_vm *vm, unsigned long *bitmaps[], int slots) in memstress_get_dirty_log() argument
347 kvm_vm_get_dirty_log(vm, slot, bitmaps[i]); in memstress_get_dirty_log()
351 void memstress_clear_dirty_log(struct kvm_vm *vm, unsigned long *bitmaps[], in memstress_clear_dirty_log() argument
359 kvm_vm_clear_dirty_log(vm, slot, bitmaps[i], 0, pages_per_slot); in memstress_clear_dirty_log()
365 unsigned long **bitmaps; in memstress_alloc_bitmaps() local
368 bitmaps = malloc(slots * sizeof(bitmaps[0])); in memstress_alloc_bitmaps()
369 TEST_ASSERT(bitmaps, "Failed to allocate bitmaps array."); in memstress_alloc_bitmaps()
372 bitmaps[i] = bitmap_zalloc(pages_per_slot); in memstress_alloc_bitmaps()
373 TEST_ASSERT(bitmaps[i], "Failed to allocate slot bitmap."); in memstress_alloc_bitmaps()
376 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. */
768 unsigned long mask = mask_from(q->bitmaps[ER], grp->index); in qfq_calc_state()
783 * q->bitmaps[dst] |= q->bitmaps[src] & mask;
784 * q->bitmaps[src] &= ~mask;
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()
[all …]
/linux/tools/testing/selftests/kvm/x86/
H A Ddirty_log_page_splitting_test.c91 unsigned long **bitmaps; in run_test() local
114 bitmaps = memstress_alloc_bitmaps(SLOTS, pages_per_slot); in run_test()
142 memstress_get_dirty_log(vm, bitmaps, SLOTS); in run_test()
145 memstress_clear_dirty_log(vm, bitmaps, SLOTS, pages_per_slot); in run_test()
168 memstress_free_bitmaps(bitmaps, SLOTS); in run_test()
/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/net/ethtool/
H A Dbitset.c9 /* Some bitmaps are internally represented as an array of unsigned long, some
12 * suffix in their names expect u32 based bitmaps, those without it expect
13 * unsigned long bitmaps.
430 * ethnl_bitmap32_equal() - Compare two bitmaps
588 * set to values from value. Bitmaps in the attribute may be longer than
634 * @nbits: size of @val and @mask bitmaps
639 * Provide @nbits size long bitmaps for value and mask so that
728 /* 64-bit big endian architectures are the only case when u32 based bitmaps
729 * and unsigned long based bitmaps have different memory layout so that we
734 * variables for bitmaps up to ETHNL_SMALL_BITMAP_BITS bits which is the
[all …]
/linux/fs/btrfs/
H A Dfree-space-cache.c714 * bitmaps, we may end up using more memory than this. in recalculate_thresholds()
744 LIST_HEAD(bitmaps); in __load_free_space_cache()
866 list_add_tail(&e->list, &bitmaps); in __load_free_space_cache()
875 * We add the bitmaps at the end of the entries in order that 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()
1247 /* Write out the bitmaps */ in write_bitmap_entries()
[all …]
/linux/arch/arm/include/asm/
H A Ddma-iommu.h15 unsigned long **bitmaps; /* array of bitmaps */ member
/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/tools/testing/selftests/kvm/
H A Ddirty_log_perf_test.c108 unsigned long **bitmaps; in run_test() local
131 bitmaps = memstress_alloc_bitmaps(p->slots, pages_per_slot); in run_test()
199 memstress_get_dirty_log(vm, bitmaps, p->slots); in run_test()
208 memstress_clear_dirty_log(vm, bitmaps, p->slots, in run_test()
253 memstress_free_bitmaps(bitmaps, p->slots); in run_test()
/linux/net/rds/
H A Dcong.c55 * This is implemented by having each node maintain bitmaps which indicate
60 * The bitmaps are allocated as connections are brought up. This avoids
62 * The dense bitmaps let transports send the entire bitmap on any bitmap change
135 * these bitmaps in the process getting pointers to them. The bitmaps are only
/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
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_buddy.c25 /* Allocating max_order bitmaps, one for each order */ in mlx5dr_buddy_init()
36 * use (the biggest one), so mark the first bit in both bitmaps. in mlx5dr_buddy_init()
/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/drivers/net/ipa/
H A Dipa.h57 * @endpoint_count: Number of defined bits in most bitmaps below
113 /* Bitmaps indicating endpoint state */
/linux/fs/btrfs/tests/
H A Dfree-space-tests.c132 /* Test a bit straddling two bitmaps */ in test_bitmaps()
136 test_err("couldn't add space that straddles two bitmaps %d", in test_bitmaps()
423 * that forces use of bitmaps as soon as we have at least 1 in test_steal_space_from_bitmap_to_extent()
870 /* Now validate bitmaps do the correct thing. */ in test_bytes_index()
893 /* Now validate bitmaps with different ->max_extent_size. */ in test_bytes_index()
926 * ->max_extent_size is larger than the first bitmaps. in test_bytes_index()
1022 * alloc dummy block group whose size cross bitmaps. in btrfs_test_free_space_cache()
/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/fs/xfs/scrub/
H A Drmap.c67 /* Bitmaps containing all blocks for each type of AG metadata. */
74 /* Did we complete the AG space metadata bitmaps? */
387 * Set up bitmaps mapping all the AG metadata to compare with the rmapbt
505 * Check for set regions in the bitmaps; if there are any, the rmap records do
H A Doff_bitmap.h9 /* Bitmaps, but for type-checked for xfs_fileoff_t */
H A Dfsb_bitmap.h9 /* Bitmaps, but for type-checked for xfs_fsblock_t */
H A Drtb_bitmap.h9 /* Bitmaps, but for type-checked for xfs_rtblock_t */
H A Drgb_bitmap.h9 /* Bitmaps, but for type-checked for xfs_rgblock_t */
/linux/arch/x86/kernel/
H A Dprocess.h33 * __switch_to_xtra() handles debug registers, i/o bitmaps, in switch_to_extra()
/linux/Documentation/devicetree/bindings/cpufreq/
H A Dimx-cpufreq-dt.txt12 - opp-supported-hw: Two bitmaps indicating:

1234567