Home
last modified time | relevance | path

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

123

/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/fs/btrfs/
H A Dsubpage.c124 real_size = struct_size(ret, bitmaps, in btrfs_alloc_folio_state()
249 for_each_set_bit_from(bit, bfs->bitmaps, start_bit + nbits) { in btrfs_subpage_end_and_test_lock()
250 clear_bit(bit, bfs->bitmaps); in btrfs_subpage_end_and_test_lock()
331 if (test_and_clear_bit(bit + start_bit, bfs->bitmaps)) in btrfs_folio_end_lock_bitmap()
348 bitmap_test_range_all_set(__bfs->bitmaps, \
357 bitmap_test_range_all_zero(__bfs->bitmaps, \
370 bitmap_set(bfs->bitmaps, start_bit, len >> fs_info->sectorsize_bits); in btrfs_subpage_set_uptodate()
385 bitmap_clear(bfs->bitmaps, start_bit, len >> fs_info->sectorsize_bits); in btrfs_subpage_clear_uptodate()
399 bitmap_set(bfs->bitmaps, start_bit, len >> fs_info->sectorsize_bits); in btrfs_subpage_set_dirty()
424 bitmap_clear(bfs->bitmaps, start_bit, len >> fs_info->sectorsize_bits); in btrfs_subpage_clear_and_test_dirty()
[all …]
H A Dfree-space-cache.c744 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 Dfree-space-cache.h109 int bitmaps; member
H A Dsubpage.h86 unsigned long bitmaps[]; member
/linux/net/sched/
H A Dsch_qfq.c188 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/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/Documentation/filesystems/ext4/
H A Dblockgroup.rst49 of the block bitmaps to allow for future expansion of the filesystem. By
59 present, will be at the beginning of the block group. The bitmaps and
61 bitmaps to come after the inode table, or for both to be in different
71 first block group of the flex_bg are expanded to include the bitmaps
74 superblock, group descriptors, data block bitmaps for groups 0-3, inode
75 bitmaps for groups 0-3, inode tables for groups 0-3, and the remaining
120 block and inode bitmaps.
128 that the inode and block bitmaps for that group can be calculated and
135 By not writing zeroes to the bitmaps and inode table, mkfs time is
H 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,
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 Dglobals.rst13 bitmaps
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/drivers/net/ethernet/qualcomm/ppe/
H A Dppe_config.c1133 bitmap_value = bitmap_read(cfg.bitmaps.egress, 0, PPE_SC_BYPASS_EGRESS_SIZE); in ppe_sc_config_set()
1136 test_bit(PPE_SC_BYPASS_COUNTER_RX, cfg.bitmaps.counter)); in ppe_sc_config_set()
1138 test_bit(PPE_SC_BYPASS_COUNTER_TX, cfg.bitmaps.counter)); in ppe_sc_config_set()
1145 bitmap_value = bitmap_read(cfg.bitmaps.ingress, 0, PPE_SC_BYPASS_INGRESS_SIZE); in ppe_sc_config_set()
1148 test_bit(PPE_SC_BYPASS_COUNTER_RX_VLAN, cfg.bitmaps.counter)); in ppe_sc_config_set()
1167 test_bit(PPE_SC_BYPASS_COUNTER_TX_VLAN, cfg.bitmaps.counter)); in ppe_sc_config_set()
1174 bitmap_value = bitmap_read(cfg.bitmaps.tunnel, 0, PPE_SC_BYPASS_TUNNEL_SIZE); in ppe_sc_config_set()
1796 bitmap_zero(sc_cfg.bitmaps.counter, PPE_SC_BYPASS_COUNTER_SIZE); in ppe_servcode_init()
1797 bitmap_zero(sc_cfg.bitmaps.tunnel, PPE_SC_BYPASS_TUNNEL_SIZE); in ppe_servcode_init()
1799 bitmap_fill(sc_cfg.bitmaps.ingress, PPE_SC_BYPASS_INGRESS_SIZE); in ppe_servcode_init()
[all …]
H A Dppe_config.h237 struct ppe_sc_bypass 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/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()
/linux/drivers/video/fbdev/core/
H A DKconfig201 For example, to draw a single character, instead of using bitmaps,
202 an index to an array of bitmaps will be used. To clear or move a
/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
/linux/kernel/liveupdate/
H A Dkexec_handover.c355 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 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.

123