Home
last modified time | relevance | path

Searched defs:bitmap (Results 1 – 25 of 304) sorted by relevance

12345678910>>...13

/linux-6.12.1/drivers/md/
Dmd-bitmap.c149 struct bitmap { struct
151 struct bitmap_counts { argument
164 struct mddev *mddev; /* the md device that the bitmap is for */ argument
169 struct bitmap_storage { argument
172 /* cached copy of the bitmap file superblock */ argument
194 * the bitmap daemon - periodically wakes up and sweeps the bitmap argument
199 * when we lasted called end_sync to update bitmap with resync argument
204 /* pending writes to the bitmap file */ argument
215 static int __bitmap_resize(struct bitmap *bitmap, sector_t blocks, argument
218 static inline char *bmname(struct bitmap *bitmap) in bmname()
[all …]
/linux-6.12.1/fs/xfs/scrub/
Dbitmap.c62 #define for_each_xbitmap64_extent(bn, bitmap) \ in INTERVAL_TREE_DEFINE() argument
121 struct xbitmap64 *bitmap, in xbitmap64_set()
181 struct xbitmap64 *bitmap) in xbitmap64_destroy()
194 struct xbitmap64 *bitmap) in xbitmap64_init()
215 struct xbitmap64 *bitmap, in xbitmap64_disunion()
237 struct xbitmap64 *bitmap) in xbitmap64_hweight()
251 struct xbitmap64 *bitmap, in xbitmap64_walk()
270 struct xbitmap64 *bitmap) in xbitmap64_empty()
278 struct xbitmap64 *bitmap, in xbitmap64_test()
337 #define for_each_xbitmap32_extent(bn, bitmap) \ in INTERVAL_TREE_DEFINE() argument
[all …]
Dagb_bitmap.h15 static inline void xagb_bitmap_init(struct xagb_bitmap *bitmap) in xagb_bitmap_init()
20 static inline void xagb_bitmap_destroy(struct xagb_bitmap *bitmap) in xagb_bitmap_destroy()
25 static inline int xagb_bitmap_clear(struct xagb_bitmap *bitmap, in xagb_bitmap_clear()
30 static inline int xagb_bitmap_set(struct xagb_bitmap *bitmap, in xagb_bitmap_set()
36 static inline bool xagb_bitmap_test(struct xagb_bitmap *bitmap, in xagb_bitmap_test()
42 static inline int xagb_bitmap_disunion(struct xagb_bitmap *bitmap, in xagb_bitmap_disunion()
48 static inline uint32_t xagb_bitmap_hweight(struct xagb_bitmap *bitmap) in xagb_bitmap_hweight()
52 static inline bool xagb_bitmap_empty(struct xagb_bitmap *bitmap) in xagb_bitmap_empty()
57 static inline int xagb_bitmap_walk(struct xagb_bitmap *bitmap, in xagb_bitmap_walk()
Dagino_bitmap.h15 static inline void xagino_bitmap_init(struct xagino_bitmap *bitmap) in xagino_bitmap_init()
20 static inline void xagino_bitmap_destroy(struct xagino_bitmap *bitmap) in xagino_bitmap_destroy()
25 static inline int xagino_bitmap_clear(struct xagino_bitmap *bitmap, in xagino_bitmap_clear()
31 static inline int xagino_bitmap_set(struct xagino_bitmap *bitmap, in xagino_bitmap_set()
37 static inline bool xagino_bitmap_test(struct xagino_bitmap *bitmap, in xagino_bitmap_test()
43 static inline int xagino_bitmap_walk(struct xagino_bitmap *bitmap, in xagino_bitmap_walk()
Dino_bitmap.h15 static inline void xino_bitmap_init(struct xino_bitmap *bitmap) in xino_bitmap_init()
20 static inline void xino_bitmap_destroy(struct xino_bitmap *bitmap) in xino_bitmap_destroy()
25 static inline int xino_bitmap_set(struct xino_bitmap *bitmap, xfs_ino_t ino) in xino_bitmap_set()
30 static inline int xino_bitmap_test(struct xino_bitmap *bitmap, xfs_ino_t ino) in xino_bitmap_test()
Ddab_bitmap.h15 static inline void xdab_bitmap_init(struct xdab_bitmap *bitmap) in xdab_bitmap_init()
20 static inline void xdab_bitmap_destroy(struct xdab_bitmap *bitmap) in xdab_bitmap_destroy()
25 static inline int xdab_bitmap_set(struct xdab_bitmap *bitmap, in xdab_bitmap_set()
31 static inline bool xdab_bitmap_test(struct xdab_bitmap *bitmap, in xdab_bitmap_test()
Doff_bitmap.h15 static inline void xoff_bitmap_init(struct xoff_bitmap *bitmap) in xoff_bitmap_init()
20 static inline void xoff_bitmap_destroy(struct xoff_bitmap *bitmap) in xoff_bitmap_destroy()
25 static inline int xoff_bitmap_set(struct xoff_bitmap *bitmap, in xoff_bitmap_set()
31 static inline int xoff_bitmap_walk(struct xoff_bitmap *bitmap, in xoff_bitmap_walk()
Dfsb_bitmap.h15 static inline void xfsb_bitmap_init(struct xfsb_bitmap *bitmap) in xfsb_bitmap_init()
20 static inline void xfsb_bitmap_destroy(struct xfsb_bitmap *bitmap) in xfsb_bitmap_destroy()
25 static inline int xfsb_bitmap_set(struct xfsb_bitmap *bitmap, in xfsb_bitmap_set()
31 static inline int xfsb_bitmap_walk(struct xfsb_bitmap *bitmap, in xfsb_bitmap_walk()
Dagb_bitmap.c58 struct xagb_bitmap *bitmap = priv; in xagb_bitmap_visit_btblock() local
76 struct xagb_bitmap *bitmap, in xagb_bitmap_set_btblocks()
90 struct xagb_bitmap *bitmap, in xagb_bitmap_set_btcur_path()
/linux-6.12.1/drivers/iommu/iommufd/
Diova_bitmap.c106 u8 __user *bitmap; member
130 static unsigned long iova_bitmap_offset_to_index(struct iova_bitmap *bitmap, in iova_bitmap_offset_to_index()
141 static unsigned long iova_bitmap_index_to_offset(struct iova_bitmap *bitmap, in iova_bitmap_index_to_offset()
152 static unsigned long iova_bitmap_mapped_iova(struct iova_bitmap *bitmap) in iova_bitmap_mapped_iova()
166 static int iova_bitmap_get(struct iova_bitmap *bitmap) in iova_bitmap_get()
220 static void iova_bitmap_put(struct iova_bitmap *bitmap) in iova_bitmap_put()
248 struct iova_bitmap *bitmap; in iova_bitmap_alloc() local
284 void iova_bitmap_free(struct iova_bitmap *bitmap) in iova_bitmap_free()
303 static unsigned long iova_bitmap_mapped_remaining(struct iova_bitmap *bitmap) in iova_bitmap_mapped_remaining()
319 static unsigned long iova_bitmap_mapped_length(struct iova_bitmap *bitmap) in iova_bitmap_mapped_length()
[all …]
/linux-6.12.1/lib/
Dfind_bit_benchmark.c36 static int __init test_find_first_bit(void *bitmap, unsigned long len) in test_find_first_bit()
52 static int __init test_find_first_and_bit(void *bitmap, const void *bitmap2, unsigned long len) in test_find_first_and_bit()
71 static int __init test_find_next_bit(const void *bitmap, unsigned long len) in test_find_next_bit()
85 static int __init test_find_next_zero_bit(const void *bitmap, unsigned long len) in test_find_next_zero_bit()
99 static int __init test_find_last_bit(const void *bitmap, unsigned long len) in test_find_last_bit()
118 static int __init test_find_nth_bit(const unsigned long *bitmap, unsigned long len) in test_find_nth_bit()
134 static int __init test_find_next_and_bit(const void *bitmap, in test_find_next_and_bit()
Dbitmap.c338 unsigned int __bitmap_weight(const unsigned long *bitmap, unsigned int bits) in __bitmap_weight()
743 void bitmap_free(const unsigned long *bitmap) in bitmap_free()
751 unsigned long *bitmap = data; in devm_bitmap_free() local
759 unsigned long *bitmap; in devm_bitmap_alloc() local
788 void bitmap_from_arr32(unsigned long *bitmap, const u32 *buf, unsigned int nbits) in bitmap_from_arr32()
811 void bitmap_to_arr32(u32 *buf, const unsigned long *bitmap, unsigned int nbits) in bitmap_to_arr32()
836 void bitmap_from_arr64(unsigned long *bitmap, const u64 *buf, unsigned int nbits) in bitmap_from_arr64()
866 void bitmap_to_arr64(u64 *buf, const unsigned long *bitmap, unsigned int nbits) in bitmap_to_arr64()
Didr.c386 struct ida_bitmap *bitmap, *alloc = NULL; in ida_alloc_range() local
491 struct ida_bitmap *bitmap; in ida_free() local
544 struct ida_bitmap *bitmap; in ida_destroy() local
582 struct ida_bitmap *bitmap = entry; in ida_dump_entry() local
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Dalloc.c44 u32 mlx4_bitmap_alloc(struct mlx4_bitmap *bitmap) in mlx4_bitmap_alloc()
74 void mlx4_bitmap_free(struct mlx4_bitmap *bitmap, u32 obj, int use_rr) in mlx4_bitmap_free()
79 static unsigned long find_aligned_range(unsigned long *bitmap, in find_aligned_range()
109 u32 mlx4_bitmap_alloc_range(struct mlx4_bitmap *bitmap, int cnt, in mlx4_bitmap_alloc_range()
147 u32 mlx4_bitmap_avail(struct mlx4_bitmap *bitmap) in mlx4_bitmap_avail()
152 static u32 mlx4_bitmap_masked_value(struct mlx4_bitmap *bitmap, u32 obj) in mlx4_bitmap_masked_value()
157 void mlx4_bitmap_free_range(struct mlx4_bitmap *bitmap, u32 obj, int cnt, in mlx4_bitmap_free_range()
173 int mlx4_bitmap_init(struct mlx4_bitmap *bitmap, u32 num, u32 mask, in mlx4_bitmap_init()
197 void mlx4_bitmap_cleanup(struct mlx4_bitmap *bitmap) in mlx4_bitmap_cleanup()
217 struct mlx4_bitmap *bitmap; member
[all …]
/linux-6.12.1/include/linux/
Diova_bitmap.h36 static inline void iova_bitmap_free(struct iova_bitmap *bitmap) in iova_bitmap_free()
40 static inline int iova_bitmap_for_each(struct iova_bitmap *bitmap, void *opaque, in iova_bitmap_for_each()
46 static inline void iova_bitmap_set(struct iova_bitmap *bitmap, in iova_bitmap_set()
Dbitmap.h299 #define bitmap_from_arr32(bitmap, buf, nbits) \ argument
302 #define bitmap_to_arr32(buf, bitmap, nbits) \ argument
315 #define bitmap_from_arr64(bitmap, buf, nbits) \ argument
317 #define bitmap_to_arr64(buf, bitmap, nbits) \ argument
636 void bitmap_next_set_region(unsigned long *bitmap, unsigned int *rs, in bitmap_next_set_region()
653 void bitmap_release_region(unsigned long *bitmap, unsigned int pos, int order) in bitmap_release_region()
670 int bitmap_allocate_region(unsigned long *bitmap, unsigned int pos, int order) in bitmap_allocate_region()
695 int bitmap_find_free_region(unsigned long *bitmap, unsigned int bits, int order) in bitmap_find_free_region()
/linux-6.12.1/drivers/net/wireless/ath/wcn36xx/
Dfirmware.c81 void wcn36xx_firmware_set_feat_caps(u32 *bitmap, in wcn36xx_firmware_set_feat_caps()
96 int wcn36xx_firmware_get_feat_caps(u32 *bitmap, in wcn36xx_firmware_get_feat_caps()
112 void wcn36xx_firmware_clear_feat_caps(u32 *bitmap, in wcn36xx_firmware_clear_feat_caps()
/linux-6.12.1/fs/nfs/
Dcallback_xdr.c106 static __be32 decode_bitmap(struct xdr_stream *xdr, uint32_t *bitmap) in decode_bitmap()
453 uint32_t bitmap[3]; in decode_recallany_args() local
598 static __be32 encode_attr_bitmap(struct xdr_stream *xdr, const uint32_t *bitmap, size_t sz) in encode_attr_bitmap()
605 static __be32 encode_attr_change(struct xdr_stream *xdr, const uint32_t *bitmap, uint64_t change) in encode_attr_change()
618 static __be32 encode_attr_size(struct xdr_stream *xdr, const uint32_t *bitmap, uint64_t size) in encode_attr_size()
643 static __be32 encode_attr_atime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timesp… in encode_attr_atime()
650 static __be32 encode_attr_ctime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timesp… in encode_attr_ctime()
657 static __be32 encode_attr_mtime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timesp… in encode_attr_mtime()
665 const uint32_t *bitmap, in encode_attr_delegatime()
674 const uint32_t *bitmap, in encode_attr_delegmtime()
Dnfs4xdr.c991 const __u32 *bitmap, size_t len) in xdr_encode_bitmap4()
1004 static size_t mask_bitmap4(const __u32 *bitmap, const __u32 *mask, in mask_bitmap4()
1255 const __u32 *bitmap, const __u32 *mask, size_t len, in encode_getattr()
1711 __u32 bitmap[2]; in encode_setacl() local
1741 uint32_t bitmap[3] = { 0 }; in encode_delegattr() local
3298 decode_bitmap4(struct xdr_stream *xdr, uint32_t *bitmap, size_t sz) in decode_bitmap4()
3310 static int decode_attr_bitmap(struct xdr_stream *xdr, uint32_t *bitmap) in decode_attr_bitmap()
3329 static int decode_attr_supported(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *bitmask) in decode_attr_supported()
3344 static int decode_attr_type(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *type) in decode_attr_type()
3369 uint32_t *bitmap, uint32_t *type) in decode_attr_fh_expire_type()
[all …]
/linux-6.12.1/fs/btrfs/tests/
Dextent-io-tests.c342 static int check_eb_bitmap(unsigned long *bitmap, struct extent_buffer *eb) in check_eb_bitmap()
383 static int test_bitmap_set(const char *name, unsigned long *bitmap, in test_bitmap_set()
398 static int test_bitmap_clear(const char *name, unsigned long *bitmap, in test_bitmap_clear()
412 static int __test_eb_bitmaps(unsigned long *bitmap, struct extent_buffer *eb) in __test_eb_bitmaps()
509 unsigned long *bitmap = NULL; in test_eb_bitmaps() local
/linux-6.12.1/fs/ext4/
Dmballoc-test.c486 void *bitmap; in validate_free_blocks_simple() local
556 void *bitmap; in test_mark_diskspace_used_range() local
605 void *bitmap, struct ext4_group_info *grp) in mbt_generate_buddy()
696 do_test_generate_buddy(struct kunit *test, struct super_block *sb, void *bitmap, in do_test_generate_buddy()
720 void *bitmap, *expected_bb, *generate_bb; in test_mb_generate_buddy() local
747 ext4_grpblk_t start, ext4_grpblk_t len, void *bitmap, in test_mb_mark_used_range()
783 void *bitmap, *buddy; in test_mb_mark_used() local
814 ext4_grpblk_t start, ext4_grpblk_t len, void *bitmap, in test_mb_free_blocks_range()
846 void *bitmap, *buddy; in test_mb_free_blocks() local
/linux-6.12.1/fs/udf/
Dballoc.c32 struct udf_bitmap *bitmap, unsigned int block, in read_block_bitmap()
78 struct udf_bitmap *bitmap, in load_block_bitmap()
120 struct udf_bitmap *bitmap, in udf_bitmap_free_blocks()
175 struct udf_bitmap *bitmap, in udf_bitmap_prealloc_blocks()
223 struct udf_bitmap *bitmap, uint16_t partition, in udf_bitmap_new_block()
/linux-6.12.1/fs/hfs/
Dbitmap.c29 static u32 hfs_find_set_zero_bits(__be32 *bitmap, u32 size, u32 offset, u32 *max) in hfs_find_set_zero_bits()
141 void *bitmap; in hfs_vbm_search_free() local
/linux-6.12.1/net/netlabel/
Dnetlabel_kapi.c613 u64 bitmap; in netlbl_catmap_walk() local
670 u64 bitmap; in netlbl_catmap_walkrng() local
727 unsigned long *bitmap) in netlbl_catmap_getlong()
844 unsigned long bitmap, in netlbl_catmap_setlong()
881 int netlbl_bitmap_walk(const unsigned char *bitmap, u32 bitmap_len, in netlbl_bitmap_walk()
924 void netlbl_bitmap_setbit(unsigned char *bitmap, u32 bit, u8 state) in netlbl_bitmap_setbit()
/linux-6.12.1/tools/testing/selftests/kvm/
Ddirty_log_test.c229 void *bitmap, uint32_t num_pages, in dirty_log_collect_dirty_pages()
236 void *bitmap, uint32_t num_pages, in clear_log_collect_dirty_pages()
313 int slot, void *bitmap, in dirty_ring_collect_one()
352 void *bitmap, uint32_t num_pages, in dirty_ring_collect_dirty_pages()
490 void *bitmap, uint32_t num_pages, in log_mode_collect_dirty_pages()

12345678910>>...13