Home
last modified time | relevance | path

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

12345678910

/linux-5.19.10/drivers/md/
Dmd-bitmap.h180 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
220 * the bitmap daemon - periodically wakes up and sweeps the bitmap argument
225 * update bitmap with resync progress */ argument
227 atomic_t pending_writes; /* pending writes to the bitmap file */ argument
236 /* the bitmap API */ argument
Dmd-bitmap.c35 static inline char *bmname(struct bitmap *bitmap) in bmname()
50 static int md_bitmap_checkpage(struct bitmap_counts *bitmap, in md_bitmap_checkpage()
119 static void md_bitmap_checkfree(struct bitmap_counts *bitmap, unsigned long page) in md_bitmap_checkfree()
212 static int write_sb_page(struct bitmap *bitmap, struct page *page, int wait) in write_sb_page()
288 static void write_page(struct bitmap *bitmap, struct page *page, int wait) in write_page()
319 struct bitmap *bitmap = bh->b_private; in end_bitmap_write() local
352 struct bitmap *bitmap, in read_page()
426 static void md_bitmap_wait_writes(struct bitmap *bitmap) in md_bitmap_wait_writes()
444 void md_bitmap_update_sb(struct bitmap *bitmap) in md_bitmap_update_sb()
480 void md_bitmap_print_sb(struct bitmap *bitmap) in md_bitmap_print_sb()
[all …]
/linux-5.19.10/fs/xfs/scrub/
Dbitmap.c22 struct xbitmap *bitmap, in xbitmap_set()
43 struct xbitmap *bitmap) in xbitmap_destroy()
57 struct xbitmap *bitmap) in xbitmap_init()
100 struct xbitmap *bitmap, in xbitmap_disunion()
251 struct xbitmap *bitmap, in xbitmap_set_btcur_path()
279 struct xbitmap *bitmap = priv; in xbitmap_collect_btblock() local
294 struct xbitmap *bitmap, in xbitmap_set_btblocks()
304 struct xbitmap *bitmap) in xbitmap_hweight()
Dbitmap.h22 #define for_each_xbitmap_extent(bex, n, bitmap) \ argument
25 #define for_each_xbitmap_block(b, bex, n, bitmap) \ argument
/linux-5.19.10/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_next_and_bit(const void *bitmap, in test_find_next_and_bit()
Dbitmap.c336 int __bitmap_weight(const unsigned long *bitmap, unsigned int bits) in __bitmap_weight()
642 static void bitmap_set_region(const struct region *r, unsigned long *bitmap) in bitmap_set_region()
900 u32 *bitmap = (u32 *)maskp; in bitmap_parse() local
1266 static int __reg_op(unsigned long *bitmap, unsigned int pos, int order, int reg_op) in __reg_op()
1332 int bitmap_find_free_region(unsigned long *bitmap, unsigned int bits, int order) in bitmap_find_free_region()
1357 void bitmap_release_region(unsigned long *bitmap, unsigned int pos, int order) in bitmap_release_region()
1374 int bitmap_allocate_region(unsigned long *bitmap, unsigned int pos, int order) in bitmap_allocate_region()
1431 void bitmap_free(const unsigned long *bitmap) in bitmap_free()
1439 unsigned long *bitmap = data; in devm_bitmap_free() local
1447 unsigned long *bitmap; in devm_bitmap_alloc() local
[all …]
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
Dmemweight.c15 const unsigned char *bitmap = ptr; in memweight() local
/linux-5.19.10/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-5.19.10/fs/udf/
Dballoc.c35 struct udf_bitmap *bitmap, unsigned int block, in read_block_bitmap()
54 struct udf_bitmap *bitmap, in __load_block_bitmap()
76 struct udf_bitmap *bitmap, in load_block_bitmap()
106 struct udf_bitmap *bitmap, in udf_bitmap_free_blocks()
172 struct udf_bitmap *bitmap, in udf_bitmap_prealloc_blocks()
220 struct udf_bitmap *bitmap, uint16_t partition, in udf_bitmap_new_block()
/linux-5.19.10/fs/nfs/
Dnfs4xdr.c992 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 …]
Dcallback_xdr.c105 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-5.19.10/include/linux/
Dbitmap.h282 #define bitmap_from_arr32(bitmap, buf, nbits) \ argument
285 #define bitmap_to_arr32(buf, bitmap, nbits) \ argument
300 #define bitmap_from_arr64(bitmap, buf, nbits) \ argument
302 #define bitmap_to_arr64(buf, bitmap, nbits) \ argument
487 static inline void bitmap_next_set_region(unsigned long *bitmap, in bitmap_next_set_region()
/linux-5.19.10/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-5.19.10/net/netlabel/
Dnetlabel_kapi.c613 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()
880 int netlbl_bitmap_walk(const unsigned char *bitmap, u32 bitmap_len, in netlbl_bitmap_walk()
923 void netlbl_bitmap_setbit(unsigned char *bitmap, u32 bit, u8 state) in netlbl_bitmap_setbit()
/linux-5.19.10/fs/btrfs/tests/
Dextent-io-tests.c321 static int check_eb_bitmap(unsigned long *bitmap, struct extent_buffer *eb, in check_eb_bitmap()
346 static int __test_eb_bitmaps(unsigned long *bitmap, struct extent_buffer *eb, in __test_eb_bitmaps()
432 unsigned long *bitmap = NULL; in test_eb_bitmaps() local
/linux-5.19.10/tools/lib/
Dbitmap.c8 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-5.19.10/fs/nilfs2/
Dalloc.c380 static int nilfs_palloc_find_available_slot(unsigned char *bitmap, in nilfs_palloc_find_available_slot()
503 unsigned char *bitmap; in nilfs_palloc_prepare_alloc_entry() local
603 unsigned char *bitmap; in nilfs_palloc_commit_free_entry() local
644 unsigned char *bitmap; in nilfs_palloc_abort_alloc_entry() local
728 unsigned char *bitmap; in nilfs_palloc_freev() local
/linux-5.19.10/tools/testing/selftests/kvm/
Ddirty_log_test.c233 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()
296 int slot, void *bitmap, in dirty_ring_collect_one()
335 void *bitmap, uint32_t num_pages) in dirty_ring_collect_dirty_pages()
477 void *bitmap, uint32_t num_pages) in log_mode_collect_dirty_pages()
/linux-5.19.10/fs/ocfs2/
Dlocalalloc.c722 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-5.19.10/drivers/cpufreq/
Dspeedstep-lib.c39 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-5.19.10/drivers/net/wireless/realtek/rtlwifi/
Dcam.c260 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-5.19.10/fs/afs/
Ddir_edit.c25 u64 bitmap; in afs_find_contig_bits() local
133 u64 bitmap; in afs_dir_scan_block() local
/linux-5.19.10/net/ethtool/
Dbitset.c429 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()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/
Duar.c211 unsigned long *bitmap; in alloc_bfreg() local
298 unsigned long *bitmap; in mlx5_free_bfreg() local

12345678910