/linux-6.6.21/drivers/md/ |
D | md-bitmap.h | 180 struct bitmap { struct 182 struct bitmap_counts { argument 195 struct mddev *mddev; /* the md device that the bitmap is for */ argument 200 struct bitmap_storage { argument 202 struct page *sb_page; /* cached copy of the bitmap argument 221 * the bitmap daemon - periodically wakes up and sweeps the bitmap argument 226 * update bitmap with resync progress */ argument 228 atomic_t pending_writes; /* pending writes to the bitmap file */ argument 237 /* the bitmap API */ argument 279 static inline bool md_bitmap_enabled(struct bitmap *bitmap) in md_bitmap_enabled()
|
D | md-bitmap.c | 35 static inline char *bmname(struct bitmap *bitmap) in bmname() 50 static int md_bitmap_checkpage(struct bitmap_counts *bitmap, in md_bitmap_checkpage() 112 static void md_bitmap_checkfree(struct bitmap_counts *bitmap, unsigned long page) in md_bitmap_checkfree() 224 static int __write_sb_page(struct md_rdev *rdev, struct bitmap *bitmap, in __write_sb_page() 279 static void write_sb_page(struct bitmap *bitmap, unsigned long pg_index, in write_sb_page() 299 static void write_file_page(struct bitmap *bitmap, struct page *page, int wait) in write_file_page() 318 struct bitmap *bitmap = bh->b_private; in end_bitmap_write() local 351 struct bitmap *bitmap, unsigned long count, struct page *page) in read_file_page() 413 static void write_file_page(struct bitmap *bitmap, struct page *page, int wait) in write_file_page() 417 struct bitmap *bitmap, unsigned long count, struct page *page) in read_file_page() [all …]
|
/linux-6.6.21/drivers/vfio/ |
D | iova_bitmap.c | 103 u8 __user *bitmap; member 127 static unsigned long iova_bitmap_offset_to_index(struct iova_bitmap *bitmap, in iova_bitmap_offset_to_index() 138 static unsigned long iova_bitmap_index_to_offset(struct iova_bitmap *bitmap, in iova_bitmap_index_to_offset() 149 static unsigned long iova_bitmap_mapped_iova(struct iova_bitmap *bitmap) in iova_bitmap_mapped_iova() 161 static int iova_bitmap_get(struct iova_bitmap *bitmap) in iova_bitmap_get() 214 static void iova_bitmap_put(struct iova_bitmap *bitmap) in iova_bitmap_put() 242 struct iova_bitmap *bitmap; in iova_bitmap_alloc() local 280 void iova_bitmap_free(struct iova_bitmap *bitmap) in iova_bitmap_free() 298 static unsigned long iova_bitmap_mapped_remaining(struct iova_bitmap *bitmap) in iova_bitmap_mapped_remaining() 314 static unsigned long iova_bitmap_mapped_length(struct iova_bitmap *bitmap) in iova_bitmap_mapped_length() [all …]
|
/linux-6.6.21/fs/xfs/scrub/ |
D | bitmap.h | 41 static inline void xagb_bitmap_init(struct xagb_bitmap *bitmap) in xagb_bitmap_init() 46 static inline void xagb_bitmap_destroy(struct xagb_bitmap *bitmap) in xagb_bitmap_destroy() 51 static inline int xagb_bitmap_clear(struct xagb_bitmap *bitmap, in xagb_bitmap_clear() 56 static inline int xagb_bitmap_set(struct xagb_bitmap *bitmap, in xagb_bitmap_set() 64 struct xagb_bitmap *bitmap, in xagb_bitmap_test() 82 static inline int xagb_bitmap_disunion(struct xagb_bitmap *bitmap, in xagb_bitmap_disunion() 88 static inline uint32_t xagb_bitmap_hweight(struct xagb_bitmap *bitmap) in xagb_bitmap_hweight() 92 static inline bool xagb_bitmap_empty(struct xagb_bitmap *bitmap) in xagb_bitmap_empty() 97 static inline int xagb_bitmap_walk(struct xagb_bitmap *bitmap, in xagb_bitmap_walk()
|
D | bitmap.c | 59 #define for_each_xbitmap_extent(bn, bitmap) \ in INTERVAL_TREE_DEFINE() argument 118 struct xbitmap *bitmap, in xbitmap_set() 178 struct xbitmap *bitmap) in xbitmap_destroy() 191 struct xbitmap *bitmap) in xbitmap_init() 212 struct xbitmap *bitmap, in xbitmap_disunion() 273 struct xagb_bitmap *bitmap = priv; in xagb_bitmap_visit_btblock() local 291 struct xagb_bitmap *bitmap, in xagb_bitmap_set_btblocks() 305 struct xagb_bitmap *bitmap, in xagb_bitmap_set_btcur_path() 323 struct xbitmap *bitmap) in xbitmap_hweight() 337 struct xbitmap *bitmap, in xbitmap_walk() [all …]
|
/linux-6.6.21/lib/ |
D | find_bit_benchmark.c | 36 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()
|
D | bitmap.c | 349 unsigned int __bitmap_weight(const unsigned long *bitmap, unsigned int bits) in __bitmap_weight() 653 static void bitmap_set_region(const struct region *r, unsigned long *bitmap) in bitmap_set_region() 911 u32 *bitmap = (u32 *)maskp; in bitmap_parse() local 1247 static int __reg_op(unsigned long *bitmap, unsigned int pos, int order, int reg_op) in __reg_op() 1313 int bitmap_find_free_region(unsigned long *bitmap, unsigned int bits, int order) in bitmap_find_free_region() 1338 void bitmap_release_region(unsigned long *bitmap, unsigned int pos, int order) in bitmap_release_region() 1355 int bitmap_allocate_region(unsigned long *bitmap, unsigned int pos, int order) in bitmap_allocate_region() 1412 void bitmap_free(const unsigned long *bitmap) in bitmap_free() 1420 unsigned long *bitmap = data; in devm_bitmap_free() local 1428 unsigned long *bitmap; in devm_bitmap_alloc() local [all …]
|
D | idr.c | 386 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.6.21/drivers/net/ethernet/mellanox/mlx4/ |
D | alloc.c | 44 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.6.21/drivers/net/wireless/ath/wcn36xx/ |
D | firmware.c | 81 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.6.21/fs/btrfs/tests/ |
D | extent-io-tests.c | 322 static int check_eb_bitmap(unsigned long *bitmap, struct extent_buffer *eb) in check_eb_bitmap() 363 static int test_bitmap_set(const char *name, unsigned long *bitmap, in test_bitmap_set() 378 static int test_bitmap_clear(const char *name, unsigned long *bitmap, in test_bitmap_clear() 392 static int __test_eb_bitmaps(unsigned long *bitmap, struct extent_buffer *eb) in __test_eb_bitmaps() 489 unsigned long *bitmap = NULL; in test_eb_bitmaps() local
|
/linux-6.6.21/fs/nfs/ |
D | nfs4xdr.c | 992 const __u32 *bitmap, size_t len) in xdr_encode_bitmap4() 1005 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() 1704 __u32 bitmap[2]; in encode_setacl() local 3262 decode_bitmap4(struct xdr_stream *xdr, uint32_t *bitmap, size_t sz) in decode_bitmap4() 3274 static int decode_attr_bitmap(struct xdr_stream *xdr, uint32_t *bitmap) in decode_attr_bitmap() 3293 static int decode_attr_supported(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *bitmask) in decode_attr_supported() 3308 static int decode_attr_type(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *type) in decode_attr_type() 3333 uint32_t *bitmap, uint32_t *type) in decode_attr_fh_expire_type() 3351 static int decode_attr_change(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *change) in decode_attr_change() [all …]
|
D | callback_xdr.c | 105 static __be32 decode_bitmap(struct xdr_stream *xdr, uint32_t *bitmap) in decode_bitmap() 448 uint32_t bitmap[2]; in decode_recallany_args() local 593 static __be32 encode_attr_bitmap(struct xdr_stream *xdr, const uint32_t *bitmap, size_t sz) in encode_attr_bitmap() 600 static __be32 encode_attr_change(struct xdr_stream *xdr, const uint32_t *bitmap, uint64_t change) in encode_attr_change() 613 static __be32 encode_attr_size(struct xdr_stream *xdr, const uint32_t *bitmap, uint64_t size) in encode_attr_size() 638 static __be32 encode_attr_ctime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timesp… in encode_attr_ctime() 645 static __be32 encode_attr_mtime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timesp… in encode_attr_mtime()
|
/linux-6.6.21/fs/udf/ |
D | balloc.c | 31 struct udf_bitmap *bitmap, unsigned int block, in read_block_bitmap() 73 struct udf_bitmap *bitmap, in __load_block_bitmap() 95 struct udf_bitmap *bitmap, in load_block_bitmap() 125 struct udf_bitmap *bitmap, in udf_bitmap_free_blocks() 191 struct udf_bitmap *bitmap, in udf_bitmap_prealloc_blocks() 239 struct udf_bitmap *bitmap, uint16_t partition, in udf_bitmap_new_block()
|
/linux-6.6.21/include/linux/ |
D | bitmap.h | 296 #define bitmap_from_arr32(bitmap, buf, nbits) \ argument 299 #define bitmap_to_arr32(buf, bitmap, nbits) \ argument 312 #define bitmap_from_arr64(bitmap, buf, nbits) \ argument 314 #define bitmap_to_arr64(buf, bitmap, nbits) \ argument 513 static inline void bitmap_next_set_region(unsigned long *bitmap, in bitmap_next_set_region()
|
/linux-6.6.21/fs/hfs/ |
D | bitmap.c | 29 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.6.21/net/netlabel/ |
D | netlabel_kapi.c | 613 NETLBL_CATMAP_MAPTYPE bitmap; in netlbl_catmap_walk() local 670 NETLBL_CATMAP_MAPTYPE 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.6.21/tools/lib/ |
D | bitmap.c | 8 unsigned int __bitmap_weight(const unsigned long *bitmap, int bits) in __bitmap_weight() 31 size_t bitmap_scnprintf(unsigned long *bitmap, unsigned int nbits, in bitmap_scnprintf()
|
/linux-6.6.21/fs/nilfs2/ |
D | alloc.c | 381 static int nilfs_palloc_find_available_slot(unsigned char *bitmap, in nilfs_palloc_find_available_slot() 504 unsigned char *bitmap; in nilfs_palloc_prepare_alloc_entry() local 604 unsigned char *bitmap; in nilfs_palloc_commit_free_entry() local 645 unsigned char *bitmap; in nilfs_palloc_abort_alloc_entry() local 729 unsigned char *bitmap; in nilfs_palloc_freev() local
|
/linux-6.6.21/tools/testing/selftests/kvm/ |
D | dirty_log_test.c | 232 void *bitmap, uint32_t num_pages, in dirty_log_collect_dirty_pages() 239 void *bitmap, uint32_t num_pages, in clear_log_collect_dirty_pages() 316 int slot, void *bitmap, in dirty_ring_collect_one() 355 void *bitmap, uint32_t num_pages, in dirty_ring_collect_dirty_pages() 493 void *bitmap, uint32_t num_pages, in log_mode_collect_dirty_pages()
|
/linux-6.6.21/fs/ocfs2/ |
D | localalloc.c | 722 void *bitmap; in ocfs2_claim_local_alloc_bits() local 778 void *bitmap; in ocfs2_free_local_alloc_bits() local 830 void *bitmap = NULL; in ocfs2_local_alloc_find_clear_bits() local 957 void *bitmap; in ocfs2_sync_local_to_main() local
|
/linux-6.6.21/drivers/cpufreq/ |
D | speedstep-lib.c | 39 u8 bitmap; /* power on configuration bits in pentium3_get_frequency() member 62 u8 bitmap; /* power on configuration bits [18: 19] in pentium3_get_frequency() member
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/ |
D | cam.c | 260 u32 bitmap = (rtlpriv->sec.hwsec_cam_bitmap) >> 4; in rtl_cam_get_free_entry() local 293 u32 bitmap; in rtl_cam_del_entry() local
|
/linux-6.6.21/fs/afs/ |
D | dir_edit.c | 25 u64 bitmap; in afs_find_contig_bits() local 134 u64 bitmap; in afs_dir_scan_block() local
|
/linux-6.6.21/net/ethtool/ |
D | bitset.c | 429 ethnl_update_bitset32_verbose(u32 *bitmap, unsigned int nbits, in ethnl_update_bitset32_verbose() 552 int ethnl_update_bitset32(u32 *bitmap, unsigned int nbits, in ethnl_update_bitset32() 771 int ethnl_update_bitset(unsigned long *bitmap, unsigned int nbits, in ethnl_update_bitset() 825 int ethnl_update_bitset(unsigned long *bitmap, unsigned int nbits, in ethnl_update_bitset()
|