Home
last modified time | relevance | path

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

12

/Linux-v5.15/tools/testing/selftests/kvm/
Ddirty_log_perf_test.c121 static void get_dirty_log(struct kvm_vm *vm, unsigned long *bitmaps[], int slots) in get_dirty_log() argument
128 kvm_vm_get_dirty_log(vm, slot, bitmaps[i]); in get_dirty_log()
132 static void clear_dirty_log(struct kvm_vm *vm, unsigned long *bitmaps[], in clear_dirty_log() argument
140 kvm_vm_clear_dirty_log(vm, slot, bitmaps[i], 0, pages_per_slot); in clear_dirty_log()
146 unsigned long **bitmaps; in alloc_bitmaps() local
149 bitmaps = malloc(slots * sizeof(bitmaps[0])); in alloc_bitmaps()
150 TEST_ASSERT(bitmaps, "Failed to allocate bitmaps array."); in alloc_bitmaps()
153 bitmaps[i] = bitmap_zalloc(pages_per_slot); in alloc_bitmaps()
154 TEST_ASSERT(bitmaps[i], "Failed to allocate slot bitmap."); in alloc_bitmaps()
157 return bitmaps; in alloc_bitmaps()
[all …]
/Linux-v5.15/net/sched/
Dsch_qfq.c189 unsigned long bitmaps[QFQ_MAX_STATE]; /* Group bitmaps. */ member
749 unsigned long mask = mask_from(q->bitmaps[ER], grp->index); in qfq_calc_state()
771 q->bitmaps[dst] |= q->bitmaps[src] & mask; in qfq_move_groups()
772 q->bitmaps[src] &= ~mask; in qfq_move_groups()
777 unsigned long mask = mask_from(q->bitmaps[ER], index + 1); in qfq_unblock_groups()
961 ineligible = q->bitmaps[IR] | q->bitmaps[IB]; in qfq_update_eligible()
963 if (!q->bitmaps[ER]) { in qfq_update_eligible()
1041 mask = mask_from(q->bitmaps[ER], agg->grp->index); in qfq_update_start()
1162 if (!q->bitmaps[ER]) in qfq_choose_next_agg()
1165 grp = qfq_ffs(q, q->bitmaps[ER]); in qfq_choose_next_agg()
[all …]
/Linux-v5.15/fs/reiserfs/
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()
Djournal.c216 if (!jb->bitmaps[bmap_nr]) { in set_bit_in_list_bitmap()
217 jb->bitmaps[bmap_nr] = get_bitmap_node(sb); in set_bit_in_list_bitmap()
219 set_bit(bit_nr, (unsigned long *)jb->bitmaps[bmap_nr]->data); in set_bit_in_list_bitmap()
227 if (jb->bitmaps == NULL) in cleanup_bitmap_list()
231 if (jb->bitmaps[i]) { in cleanup_bitmap_list()
232 free_bitmap_node(sb, jb->bitmaps[i]); in cleanup_bitmap_list()
233 jb->bitmaps[i] = NULL; in cleanup_bitmap_list()
250 vfree(jb->bitmaps); in free_list_bitmaps()
251 jb->bitmaps = NULL; in free_list_bitmaps()
290 jb->bitmaps = vzalloc(mem); in reiserfs_allocate_list_bitmaps()
[all …]
/Linux-v5.15/Documentation/filesystems/ext4/
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
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,
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
Dglobals.rst11 .. include:: bitmaps.rst
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-v5.15/arch/arm/mm/
Ddma-mapping.c1122 start = bitmap_find_next_zero_area(mapping->bitmaps[i], in __alloc_iova()
1128 bitmap_set(mapping->bitmaps[i], start, count); in __alloc_iova()
1143 start = bitmap_find_next_zero_area(mapping->bitmaps[i], in __alloc_iova()
1151 bitmap_set(mapping->bitmaps[i], start, count); in __alloc_iova()
1192 bitmap_clear(mapping->bitmaps[bitmap_index], start, count); in __free_iova()
2068 mapping->bitmaps = kcalloc(extensions, sizeof(unsigned long *), in arm_iommu_create_mapping()
2070 if (!mapping->bitmaps) in arm_iommu_create_mapping()
2073 mapping->bitmaps[0] = kzalloc(bitmap_size, GFP_KERNEL); in arm_iommu_create_mapping()
2074 if (!mapping->bitmaps[0]) in arm_iommu_create_mapping()
2091 kfree(mapping->bitmaps[0]); in arm_iommu_create_mapping()
[all …]
/Linux-v5.15/arch/arm/include/asm/
Ddma-iommu.h15 unsigned long **bitmaps; /* array of bitmaps */ member
/Linux-v5.15/fs/btrfs/
Dfree-space-cache.c711 LIST_HEAD(bitmaps); in __load_free_space_cache()
831 list_add_tail(&e->list, &bitmaps); in __load_free_space_cache()
843 list_for_each_entry_safe(e, n, &bitmaps, list) { in __load_free_space_cache()
1013 int *entries, int *bitmaps, in write_cache_extent_entries() argument
1050 *bitmaps += 1; in write_cache_extent_entries()
1091 int entries, int bitmaps) in update_cache_item() argument
1128 btrfs_set_free_space_bitmaps(leaf, header, bitmaps); in update_cache_item()
1257 io_ctl->entries, io_ctl->bitmaps); in __btrfs_wait_cache_io()
1328 int bitmaps = 0; in __btrfs_write_out_cache() local
1369 block_group, &entries, &bitmaps, in __btrfs_write_out_cache()
[all …]
Dfree-space-cache.h77 int bitmaps; member
/Linux-v5.15/Documentation/devicetree/bindings/cpufreq/
Dimx-cpufreq-dt.txt12 - opp-supported-hw: Two bitmaps indicating:
/Linux-v5.15/fs/hpfs/
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()
Dhpfs.h89 __le32 bitmaps; /* pointers to free space bit maps */ member
/Linux-v5.15/Documentation/admin-guide/device-mapper/
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-v5.15/Documentation/driver-api/md/
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-v5.15/fs/btrfs/tests/
Dfree-space-tree-tests.c423 static int run_test(test_func_t test_func, int bitmaps, u32 sectorsize, in run_test() argument
488 if (bitmaps) { in run_test()
/Linux-v5.15/Documentation/input/devices/
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-v5.15/Documentation/devicetree/bindings/soc/qcom/
Dqcom,smsm.txt6 matrix of bitmaps signal subscription of notifications upon changes to a
/Linux-v5.15/arch/arm/mach-tegra/
Dreset-handler.S53 movw r0, #0x3FFD @ enable, cluster_switch, immed, bitmaps
/Linux-v5.15/Documentation/driver-api/
Dswitchtec.rst63 * SWITCHTEC_IOCTL_EVENT_SUMMARY - Read a structure of bitmaps
/Linux-v5.15/Documentation/networking/
Drds.rst261 This is implemented by having each node maintain bitmaps which
266 The bitmaps are allocated as connections are brought up. This
268 sages on sockets. The dense bitmaps let transports send the
/Linux-v5.15/Documentation/filesystems/
Dext2.rst24 check=none, nocheck (*) Don't do extra checking of bitmaps on mount
106 The block(s) following the bitmaps in each block group are designated
266 which would leading to inconsistent bitmaps. An old kernel would also

12