Home
last modified time | relevance | path

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

12345678

/linux/drivers/md/
H A Dmd-bitmap.c152 struct bitmap { struct
154 struct bitmap_counts { argument
167 struct mddev *mddev; /* the md device that the bitmap is for */ argument
172 struct bitmap_storage { argument
175 /* cached copy of the bitmap file superblock */ argument
197 * the bitmap daemon - periodically wakes up and sweeps the bitmap argument
202 * when we lasted called end_sync to update bitmap with resync argument
207 /* pending writes to the bitmap file */ argument
221 static int __bitmap_resize(struct bitmap *bitmap, sector_t blocks, argument
224 static inline char *bmname(struct bitmap *bitmap) in bmname()
[all …]
/linux/fs/xfs/scrub/
H A 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 …]
H A 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()
H A 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()
H A 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()
H A Drtb_bitmap.h15 static inline void xrtb_bitmap_init(struct xrtb_bitmap *bitmap) in xrtb_bitmap_init()
20 static inline void xrtb_bitmap_destroy(struct xrtb_bitmap *bitmap) in xrtb_bitmap_destroy()
25 static inline int xrtb_bitmap_set(struct xrtb_bitmap *bitmap, in xrtb_bitmap_set()
31 static inline int xrtb_bitmap_walk(struct xrtb_bitmap *bitmap, in xrtb_bitmap_walk()
H A Drgb_bitmap.h15 static inline void xrgb_bitmap_init(struct xrgb_bitmap *bitmap) in xrgb_bitmap_init()
20 static inline void xrgb_bitmap_destroy(struct xrgb_bitmap *bitmap) in xrgb_bitmap_destroy()
25 static inline int xrgb_bitmap_set(struct xrgb_bitmap *bitmap, in xrgb_bitmap_set()
31 static inline int xrgb_bitmap_walk(struct xrgb_bitmap *bitmap, in xrgb_bitmap_walk()
/linux/drivers/iommu/iommufd/
H A 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()
140 static unsigned long iova_bitmap_index_to_offset(struct iova_bitmap *bitmap, in iova_bitmap_index_to_offset()
151 static unsigned long iova_bitmap_mapped_iova(struct iova_bitmap *bitmap) in iova_bitmap_mapped_iova()
165 static int iova_bitmap_get(struct iova_bitmap *bitmap) in iova_bitmap_get()
219 static void iova_bitmap_put(struct iova_bitmap *bitmap) in iova_bitmap_put()
247 struct iova_bitmap *bitmap; in iova_bitmap_alloc() local
283 void iova_bitmap_free(struct iova_bitmap *bitmap) in iova_bitmap_free()
302 static unsigned long iova_bitmap_mapped_remaining(struct iova_bitmap *bitmap) in iova_bitmap_mapped_remaining()
318 static unsigned long iova_bitmap_mapped_length(struct iova_bitmap *bitmap) in iova_bitmap_mapped_length()
[all …]
/linux/lib/
H A Dfind_bit_benchmark.c35 static int __init test_find_first_bit(const void *bitmap, unsigned long len) in test_find_first_bit()
54 static int __init test_find_first_and_bit(const void *bitmap, const void *bitmap2, in test_find_first_and_bit()
74 static int __init test_find_next_bit(const void *bitmap, unsigned long len) in test_find_next_bit()
88 static int __init test_find_next_zero_bit(const void *bitmap, unsigned long len) in test_find_next_zero_bit()
102 static int __init test_find_last_bit(const void *bitmap, unsigned long len) in test_find_last_bit()
121 static int __init test_find_nth_bit(const unsigned long *bitmap, unsigned long len) in test_find_nth_bit()
137 static int __init test_find_next_and_bit(const void *bitmap, in test_find_next_and_bit()
153 test_bitmap_find_next_zero_area_off(unsigned long *bitmap, unsigned long len) in test_bitmap_find_next_zero_area_off()
H A Dbitmap.c339 unsigned int __bitmap_weight(const unsigned long *bitmap, unsigned int bits) in __bitmap_weight()
762 void bitmap_free(const unsigned long *bitmap) in bitmap_free()
770 unsigned long *bitmap = data; in devm_bitmap_free() local
778 unsigned long *bitmap; in devm_bitmap_alloc() local
807 void bitmap_from_arr32(unsigned long *bitmap, const u32 *buf, unsigned int nbits) in bitmap_from_arr32()
830 void bitmap_to_arr32(u32 *buf, const unsigned long *bitmap, unsigned int nbits) in bitmap_to_arr32()
855 void bitmap_from_arr64(unsigned long *bitmap, const u64 *buf, unsigned int nbits) in bitmap_from_arr64()
885 void bitmap_to_arr64(u64 *buf, const unsigned long *bitmap, unsigned int nbits) in bitmap_to_arr64()
H A Didr.c388 struct ida_bitmap *bitmap, *alloc = NULL; in ida_alloc_range() local
560 struct ida_bitmap *bitmap; in ida_free() local
613 struct ida_bitmap *bitmap; in ida_destroy() local
651 struct ida_bitmap *bitmap = entry; in ida_dump_entry() local
H A Dmemweight.c15 const unsigned char *bitmap = ptr; in memweight() local
/linux/drivers/net/ethernet/mellanox/mlx4/
H A 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/include/linux/
H A 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()
H A Dbitmap.h309 #define bitmap_from_arr32(bitmap, buf, nbits) \ argument
312 #define bitmap_to_arr32(buf, bitmap, nbits) \ argument
325 #define bitmap_from_arr64(bitmap, buf, nbits) \ argument
327 #define bitmap_to_arr64(buf, bitmap, nbits) \ argument
511 unsigned long bitmap_weight_from(const unsigned long *bitmap, in bitmap_weight_from()
713 void bitmap_release_region(unsigned long *bitmap, unsigned int pos, int order) in bitmap_release_region()
730 int bitmap_allocate_region(unsigned long *bitmap, unsigned int pos, int order) in bitmap_allocate_region()
755 int bitmap_find_free_region(unsigned long *bitmap, unsigned int bits, int order) in bitmap_find_free_region()
/linux/drivers/net/wireless/ath/wcn36xx/
H A 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/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dpool.c196 unsigned long *bitmap; in hws_pool_create_and_init_bitmap() local
209 unsigned long *bitmap; in hws_pool_bitmap_init() local
233 unsigned long *bitmap, size; in hws_pool_bitmap_db_get_chunk() local
260 unsigned long *bitmap; in hws_pool_bitmap_db_put_chunk() local
273 unsigned long *bitmap; in hws_pool_bitmap_db_uninit() local
/linux/fs/nfs/
H A Dcallback_xdr.c103 static __be32 decode_bitmap(struct xdr_stream *xdr, uint32_t *bitmap) in decode_bitmap()
447 uint32_t bitmap[3]; in decode_recallany_args() local
591 static __be32 encode_attr_bitmap(struct xdr_stream *xdr, const uint32_t *bitmap, size_t sz) in encode_attr_bitmap()
598 static __be32 encode_attr_change(struct xdr_stream *xdr, const uint32_t *bitmap, uint64_t change) in encode_attr_change()
611 static __be32 encode_attr_size(struct xdr_stream *xdr, const uint32_t *bitmap, uint64_t size) in encode_attr_size()
636 static __be32 encode_attr_atime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timesp… in encode_attr_atime()
643 static __be32 encode_attr_ctime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timesp… in encode_attr_ctime()
650 static __be32 encode_attr_mtime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timesp… in encode_attr_mtime()
658 const uint32_t *bitmap, in encode_attr_delegatime()
667 const uint32_t *bitmap, in encode_attr_delegmtime()
/linux/fs/udf/
H A Dballoc.c32 struct udf_bitmap *bitmap, unsigned int block, in read_block_bitmap()
78 struct udf_bitmap *bitmap, in load_block_bitmap()
121 struct udf_bitmap *bitmap, in udf_bitmap_free_blocks()
176 struct udf_bitmap *bitmap, in udf_bitmap_prealloc_blocks()
224 struct udf_bitmap *bitmap, uint16_t partition, in udf_bitmap_new_block()
/linux/fs/hfs/
H A 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/net/netlabel/
H A 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/tools/testing/selftests/kvm/
H A Ddirty_log_test.c258 void *bitmap, u32 num_pages, in dirty_log_collect_dirty_pages() argument
265 void *bitmap, u32 num_pages, in clear_log_collect_dirty_pages() argument
337 int slot, void *bitmap, in dirty_ring_collect_one() argument
362 void *bitmap, u32 num_pages, in dirty_ring_collect_dirty_pages() argument
462 log_mode_collect_dirty_pages(struct kvm_vcpu * vcpu,int slot,void * bitmap,u32 num_pages,u32 * ring_buf_idx) log_mode_collect_dirty_pages() argument
[all...]
/linux/tools/testing/vma/include/
H A Ddup.h825 unsigned long *bitmap = flags->__vma_flags; in vma_flags_overwrite_word_once() local
834 unsigned long *bitmap = flags->__vma_flags; in vma_flags_set_word() local
446 const unsigned long *bitmap = flags->__vma_flags; vma_flags_empty() local
811 unsigned long *bitmap = flags->__vma_flags; vma_flags_overwrite_word() local
843 unsigned long *bitmap = flags->__vma_flags; vma_flags_clear_word() local
882 unsigned long *bitmap = ACCESS_PRIVATE(flags, __vma_flags); vma_flags_set_flag() local
955 const unsigned long *bitmap = flags->__vma_flags; vma_flags_count() local
963 const unsigned long *bitmap = flags->__vma_flags; vma_flags_test() local
973 const unsigned long *bitmap = flags->__vma_flags; vma_flags_and_mask() local
986 const unsigned long *bitmap = flags->__vma_flags; vma_flags_test_any_mask() local
998 const unsigned long *bitmap = flags->__vma_flags; vma_flags_test_all_mask() local
1017 unsigned long *bitmap = flags->__vma_flags; vma_flags_set_mask() local
1028 unsigned long *bitmap = flags->__vma_flags; vma_flags_clear_mask() local
1042 const unsigned long *bitmap = flags->__vma_flags; vma_flags_diff_pair() local
1052 const unsigned long *bitmap = flags->__vma_flags; vma_flags_same_pair() local
1061 const unsigned long *bitmap = flags->__vma_flags; vma_flags_same_mask() local
[all...]
/linux/fs/ocfs2/
H A Dlocalalloc.c723 void *bitmap; in ocfs2_claim_local_alloc_bits() local
779 void *bitmap; in ocfs2_free_local_alloc_bits() local
831 void *bitmap = NULL; in ocfs2_local_alloc_find_clear_bits() local
950 void *bitmap; in ocfs2_sync_local_to_main() local
/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dcam.c261 u32 bitmap = (rtlpriv->sec.hwsec_cam_bitmap) >> 4; in rtl_cam_get_free_entry() local
294 u32 bitmap; in rtl_cam_del_entry() local

12345678