Home
last modified time | relevance | path

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

123

/linux/tools/testing/selftests/kvm/lib/
A Dmemstress.c351 kvm_vm_get_dirty_log(vm, slot, bitmaps[i]); in memstress_get_dirty_log()
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()
383 void memstress_free_bitmaps(unsigned long *bitmaps[], int slots) in memstress_free_bitmaps() argument
388 free(bitmaps[i]); in memstress_free_bitmaps()
[all …]
/linux/fs/btrfs/
A Dsubpage.c136 real_size = struct_size(ret, bitmaps, in btrfs_alloc_subpage()
241 bitmap_set(subpage->bitmaps, start_bit, nbits); in btrfs_subpage_start_reader()
265 bitmap_clear(subpage->bitmaps, start_bit, nbits); in btrfs_subpage_end_reader()
312 bitmap_set(subpage->bitmaps, start_bit, nbits); in btrfs_subpage_start_writer()
345 clear_bit(bit, subpage->bitmaps); in btrfs_subpage_end_and_test_writer()
450 if (test_and_clear_bit(bit + start_bit, subpage->bitmaps)) in btrfs_folio_end_writer_lock_bitmap()
461 bitmap_test_range_all_set(subpage->bitmaps, \
466 bitmap_test_range_all_zero(subpage->bitmaps, \
655 ret = bitmap_test_range_all_set(subpage->bitmaps, start_bit, \
798 bitmap_set(subpage->bitmaps, start_bit, nbits); in btrfs_folio_set_writer_lock()
[all …]
A Dfree-space-cache.c745 LIST_HEAD(bitmaps); in __load_free_space_cache()
867 list_add_tail(&e->list, &bitmaps); in __load_free_space_cache()
1074 int *entries, int *bitmaps, in write_cache_extent_entries() argument
1111 *bitmaps += 1; in write_cache_extent_entries()
1152 int entries, int bitmaps) in update_cache_item() argument
1317 io_ctl->entries, io_ctl->bitmaps); in __btrfs_wait_cache_io()
1387 int bitmaps = 0; in __btrfs_write_out_cache() local
1484 io_ctl->bitmaps = bitmaps; in __btrfs_write_out_cache()
3524 if (!list_empty(bitmaps)) in setup_cluster_bitmap()
3530 list_add(&entry->list, bitmaps); in setup_cluster_bitmap()
[all …]
A Dsubpage.h68 unsigned long bitmaps[]; member
A Dfree-space-cache.h109 int bitmaps; member
/linux/net/sched/
A Dsch_qfq.c775 q->bitmaps[dst] |= q->bitmaps[src] & mask; in qfq_move_groups()
776 q->bitmaps[src] &= ~mask; in qfq_move_groups()
965 ineligible = q->bitmaps[IR] | q->bitmaps[IB]; in qfq_update_eligible()
967 if (!q->bitmaps[ER]) { in qfq_update_eligible()
1178 if (!q->bitmaps[ER]) in qfq_choose_next_agg()
1181 grp = qfq_ffs(q, q->bitmaps[ER]); in qfq_choose_next_agg()
1192 __clear_bit(grp->index, &q->bitmaps[ER]); in qfq_choose_next_agg()
1204 __set_bit(grp->index, &q->bitmaps[s]); in qfq_choose_next_agg()
1317 __set_bit(grp->index, &q->bitmaps[s]); in qfq_schedule_agg()
1320 s, q->bitmaps[s], in qfq_schedule_agg()
[all …]
/linux/fs/reiserfs/
A Dresize.c106 memcpy(jbitmap[i].bitmaps, jb->bitmaps, copy_size); in reiserfs_resize()
113 node_tmp = jb->bitmaps; in reiserfs_resize()
114 jb->bitmaps = jbitmap[i].bitmaps; in reiserfs_resize()
A Djournal.c215 if (!jb->bitmaps[bmap_nr]) { in set_bit_in_list_bitmap()
216 jb->bitmaps[bmap_nr] = get_bitmap_node(sb); in set_bit_in_list_bitmap()
226 if (jb->bitmaps == NULL) in cleanup_bitmap_list()
230 if (jb->bitmaps[i]) { in cleanup_bitmap_list()
231 free_bitmap_node(sb, jb->bitmaps[i]); in cleanup_bitmap_list()
232 jb->bitmaps[i] = NULL; in cleanup_bitmap_list()
249 vfree(jb->bitmaps); in free_list_bitmaps()
250 jb->bitmaps = NULL; in free_list_bitmaps()
289 jb->bitmaps = vzalloc(mem); in reiserfs_allocate_list_bitmaps()
290 if (!jb->bitmaps) { in reiserfs_allocate_list_bitmaps()
[all …]
/linux/tools/testing/selftests/kvm/x86_64/
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/
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/Documentation/filesystems/ext4/
A Dblockgroup.rst46 of the block bitmaps to allow for future expansion of the filesystem. By
56 present, will be at the beginning of the block group. The bitmaps and
58 bitmaps to come after the inode table, or for both to be in different
68 first block group of the flex_bg are expanded to include the bitmaps
71 superblock, group descriptors, data block bitmaps for groups 0-3, inode
72 bitmaps for groups 0-3, inode tables for groups 0-3, and the remaining
117 block and inode bitmaps.
125 that the inode and block bitmaps for that group can be calculated and
132 By not writing zeroes to the bitmaps and inode table, mkfs time is
A Dbitmaps.rst11 As with most bitmaps, one bit represents the usage status of one data
19 the bitmaps and group descriptor live inside the group. Unfortunately,
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
A Dglobals.rst11 .. include:: bitmaps.rst
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/
A Ddirty_log_perf_test.c140 unsigned long **bitmaps; in run_test() local
163 bitmaps = memstress_alloc_bitmaps(p->slots, pages_per_slot); in run_test()
233 memstress_get_dirty_log(vm, bitmaps, p->slots); in run_test()
242 memstress_clear_dirty_log(vm, bitmaps, p->slots, in run_test()
287 memstress_free_bitmaps(bitmaps, p->slots); in run_test()
/linux/arch/arm/mm/
A Ddma-mapping.c775 start = bitmap_find_next_zero_area(mapping->bitmaps[i], in __alloc_iova()
781 bitmap_set(mapping->bitmaps[i], start, count); in __alloc_iova()
796 start = bitmap_find_next_zero_area(mapping->bitmaps[i], in __alloc_iova()
804 bitmap_set(mapping->bitmaps[i], start, count); in __alloc_iova()
1574 if (!mapping->bitmaps) in arm_iommu_create_mapping()
1578 if (!mapping->bitmaps[0]) in arm_iommu_create_mapping()
1597 kfree(mapping->bitmaps[0]); in arm_iommu_create_mapping()
1599 kfree(mapping->bitmaps); in arm_iommu_create_mapping()
1615 kfree(mapping->bitmaps[i]); in release_iommu_mapping()
1616 kfree(mapping->bitmaps); in release_iommu_mapping()
[all …]
/linux/arch/arm/include/asm/
A Ddma-iommu.h15 unsigned long **bitmaps; /* array of bitmaps */ member
/linux/Documentation/devicetree/bindings/cpufreq/
A Dimx-cpufreq-dt.txt12 - opp-supported-hw: Two bitmaps indicating:
/linux/fs/hpfs/
A Dsuper.c621 sbi->sb_bitmaps = le32_to_cpu(superblock->bitmaps); in hpfs_fill_super()
651 if (!(sbi->sb_bmp_dir = hpfs_load_bitmap_directory(s, le32_to_cpu(superblock->bitmaps)))) in hpfs_fill_super()
691 hpfs_chk_sectors(s, le32_to_cpu(superblock->bitmaps), 4, "bitmaps")) { in hpfs_fill_super()
/linux/drivers/video/fbdev/core/
A DKconfig209 For example, to draw a single character, instead of using bitmaps,
210 an index to an array of bitmaps will be used. To clear or move a
/linux/Documentation/admin-guide/device-mapper/
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/Documentation/driver-api/md/
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/input/devices/
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/btrfs/tests/
A Dfree-space-tree-tests.c424 static int run_test(test_func_t test_func, int bitmaps, u32 sectorsize, in run_test() argument
492 if (bitmaps) { in run_test()

Completed in 48 milliseconds

123