| /linux/drivers/md/ |
| H A D | md-bitmap.c | 152 struct bitmap { global() struct 154 bitmap_countsbitmap global() argument 167 mddevbitmap global() argument 172 bitmap_storagebitmap global() argument 175 need_syncbitmap global() argument 197 behind_writes_usedbitmap global() argument 202 daemon_lastrunbitmap global() argument 207 last_end_syncbitmap global() argument 221 cluster_slotbitmap global() argument 224 bmname(struct bitmap * bitmap) bmname() argument 231 struct bitmap *bitmap = data; bitmap_enabled() local 254 md_bitmap_checkpage(struct bitmap_counts * bitmap,unsigned long page,int create,int no_hijack) md_bitmap_checkpage() argument 316 md_bitmap_checkfree(struct bitmap_counts * bitmap,unsigned long page) md_bitmap_checkfree() argument 428 __write_sb_page(struct md_rdev * rdev,struct bitmap * bitmap,unsigned long pg_index,struct page * page) __write_sb_page() argument 485 write_sb_page(struct bitmap * bitmap,unsigned long pg_index,struct page * page,bool wait) write_sb_page() argument 505 write_file_page(struct bitmap * bitmap,struct page * page,int wait) write_file_page() argument 524 struct bitmap *bitmap = bh->b_private; end_bitmap_write() local 557 read_file_page(struct file * file,unsigned long index,struct bitmap * bitmap,unsigned long count,struct page * page) read_file_page() argument 619 write_file_page(struct bitmap * bitmap,struct page * page,int wait) write_file_page() argument 623 read_file_page(struct file * file,unsigned long index,struct bitmap * bitmap,unsigned long count,struct page * page) read_file_page() argument 640 filemap_write_page(struct bitmap * bitmap,unsigned long pg_index,bool wait) filemap_write_page() argument 662 md_bitmap_wait_writes(struct bitmap * bitmap) md_bitmap_wait_writes() argument 683 struct bitmap *bitmap = data; bitmap_update_sb() local 720 bitmap_print_sb(struct bitmap * bitmap) bitmap_print_sb() argument 759 md_bitmap_new_disk_sb(struct bitmap * bitmap) md_bitmap_new_disk_sb() argument 818 md_bitmap_read_sb(struct bitmap * bitmap) md_bitmap_read_sb() argument 1096 md_bitmap_file_kick(struct bitmap * bitmap) md_bitmap_file_kick() argument 1118 set_page_attr(struct bitmap * bitmap,int pnum,enum bitmap_page_attr attr) set_page_attr() argument 1124 clear_page_attr(struct bitmap * bitmap,int pnum,enum bitmap_page_attr attr) clear_page_attr() argument 1130 test_page_attr(struct bitmap * bitmap,int pnum,enum bitmap_page_attr attr) test_page_attr() argument 1136 test_and_clear_page_attr(struct bitmap * bitmap,int pnum,enum bitmap_page_attr attr) test_and_clear_page_attr() argument 1149 md_bitmap_file_set_bit(struct bitmap * bitmap,sector_t block) md_bitmap_file_set_bit() argument 1180 md_bitmap_file_clear_bit(struct bitmap * bitmap,sector_t block) md_bitmap_file_clear_bit() argument 1210 md_bitmap_file_test_bit(struct bitmap * bitmap,sector_t block) md_bitmap_file_test_bit() argument 1234 __bitmap_unplug(struct bitmap * bitmap) __bitmap_unplug() argument 1269 struct bitmap *bitmap; global() member 1282 bitmap_unplug_async(struct bitmap * bitmap) bitmap_unplug_async() argument 1298 struct bitmap *bitmap = mddev->bitmap; bitmap_unplug() local 1322 md_bitmap_init_from_disk(struct bitmap * bitmap,sector_t start) md_bitmap_init_from_disk() argument 1448 struct bitmap *bitmap = mddev->bitmap; bitmap_write_all() local 1462 md_bitmap_count_page(struct bitmap_counts * bitmap,sector_t offset,int inc) md_bitmap_count_page() argument 1471 md_bitmap_set_pending(struct bitmap_counts * bitmap,sector_t offset) md_bitmap_set_pending() argument 1509 struct bitmap *bitmap; bitmap_daemon_work() local 1628 md_bitmap_get_counter(struct bitmap_counts * bitmap,sector_t offset,sector_t * blocks,int create) md_bitmap_get_counter() argument 1681 struct bitmap *bitmap = mddev->bitmap; bitmap_start_write() local 1735 struct bitmap *bitmap = mddev->bitmap; bitmap_end_write() local 1780 __bitmap_start_sync(struct bitmap * bitmap,sector_t offset,sector_t * blocks,bool degraded) __bitmap_start_sync() argument 1829 __bitmap_end_sync(struct bitmap * bitmap,sector_t offset,sector_t * blocks,bool aborted) __bitmap_end_sync() argument 1870 struct bitmap *bitmap = mddev->bitmap; bitmap_close_sync() local 1886 struct bitmap *bitmap = mddev->bitmap; bitmap_cond_end_sync() local 1916 struct bitmap *bitmap = mddev->bitmap; bitmap_sync_with_cluster() local 1932 md_bitmap_set_memory_bits(struct bitmap * bitmap,sector_t offset,int needed) md_bitmap_set_memory_bits() argument 1963 struct bitmap *bitmap = mddev->bitmap; bitmap_dirty_bits() local 1984 struct bitmap *bitmap = mddev->bitmap; bitmap_flush() local 2009 struct bitmap *bitmap = data; md_bitmap_free() local 2043 struct bitmap *bitmap = mddev->bitmap; bitmap_start_behind_write() local 2057 struct bitmap *bitmap = mddev->bitmap; bitmap_end_behind_write() local 2068 struct bitmap *bitmap = mddev->bitmap; bitmap_wait_behind_writes() local 2082 struct bitmap *bitmap = mddev->bitmap; bitmap_destroy() local 2108 struct bitmap *bitmap; __bitmap_create() local 2196 struct bitmap *bitmap = __bitmap_create(mddev, -1); bitmap_create() local 2210 struct bitmap *bitmap = mddev->bitmap; bitmap_load() local 2266 struct bitmap *bitmap; bitmap_get_from_slot() local 2292 struct bitmap *bitmap; bitmap_copy_from_slot() local 2332 struct bitmap *bitmap = data; bitmap_set_pages() local 2341 struct bitmap *bitmap = data; bitmap_get_stats() local 2366 __bitmap_resize(struct bitmap * bitmap,sector_t blocks,int chunksize,bool init) __bitmap_resize() argument 2576 struct bitmap *bitmap = mddev->bitmap; bitmap_resize() local 2754 struct bitmap *bitmap; space_store() local 2943 struct bitmap *bitmap; can_clear_show() local 2958 struct bitmap *bitmap = mddev->bitmap; can_clear_store() local 2985 struct bitmap *bitmap; behind_writes_used_show() local 3001 struct bitmap *bitmap = mddev->bitmap; behind_writes_used_reset() local [all...] |
| /linux/fs/xfs/scrub/ |
| H A D | bitmap.c | 62 #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 D | agb_bitmap.h | 15 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 D | off_bitmap.h | 15 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 D | fsb_bitmap.h | 15 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 D | rtb_bitmap.h | 15 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 D | rgb_bitmap.h | 15 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 D | iova_bitmap.c | 106 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/drivers/net/ethernet/mellanox/mlx4/ |
| H A 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/include/linux/ |
| H A D | iova_bitmap.h | 36 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()
|
| /linux/drivers/net/wireless/ath/wcn36xx/ |
| H A 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/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | pool.c | 196 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 D | callback_xdr.c | 103 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/ext4/ |
| H A D | mballoc-test.c | 491 void *bitmap; validate_free_blocks_simple() local 561 void *bitmap; test_mark_diskspace_used_range() local 610 mbt_generate_buddy(struct super_block * sb,void * buddy,void * bitmap,struct ext4_group_info * grp) mbt_generate_buddy() argument 701 do_test_generate_buddy(struct kunit * test,struct super_block * sb,void * bitmap,void * mbt_buddy,struct ext4_group_info * mbt_grp,void * ext4_buddy,struct ext4_group_info * ext4_grp) do_test_generate_buddy() argument 725 void *bitmap, *expected_bb, *generate_bb; test_mb_generate_buddy() local 752 test_mb_mark_used_range(struct kunit * test,struct ext4_buddy * e4b,ext4_grpblk_t start,ext4_grpblk_t len,void * bitmap,void * buddy,struct ext4_group_info * grp) test_mb_mark_used_range() argument 788 void *bitmap, *buddy; test_mb_mark_used() local 822 test_mb_free_blocks_range(struct kunit * test,struct ext4_buddy * e4b,ext4_grpblk_t start,ext4_grpblk_t len,void * bitmap,void * buddy,struct ext4_group_info * grp) test_mb_free_blocks_range() argument 854 void *bitmap, *buddy; test_mb_free_blocks() local [all...] |
| /linux/lib/ |
| H A D | idr.c | 388 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 D | memweight.c | 15 const unsigned char *bitmap = ptr; in memweight() local
|
| /linux/net/netlabel/ |
| H A D | netlabel_kapi.c | 613 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/fs/hfs/ |
| H A 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/tools/testing/selftests/kvm/ |
| H A D | dirty_log_test.c | 258 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 D | dup.h | 446 const unsigned long *bitmap = flags->__vma_flags; in vma_flags_empty() local 811 unsigned long *bitmap = flags->__vma_flags; vma_flags_overwrite_word() local 825 unsigned long *bitmap = flags->__vma_flags; vma_flags_overwrite_word_once() local 834 unsigned long *bitmap = flags->__vma_flags; vma_flags_set_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 D | localalloc.c | 723 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 D | cam.c | 261 u32 bitmap = (rtlpriv->sec.hwsec_cam_bitmap) >> 4; in rtl_cam_get_free_entry() local 294 u32 bitmap; in rtl_cam_del_entry() local
|
| /linux/net/ethtool/ |
| H A D | bitset.c | 449 ethnl_update_bitset32_verbose(u32 *bitmap, unsigned int nbits, in ethnl_update_bitset32_verbose() 593 int ethnl_update_bitset32(u32 *bitmap, unsigned int nbits, in ethnl_update_bitset32() 812 int ethnl_update_bitset(unsigned long *bitmap, unsigned int nbits, in ethnl_update_bitset() 866 int ethnl_update_bitset(unsigned long *bitmap, unsigned int nbits, in ethnl_update_bitset()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | uar.c | 210 unsigned long *bitmap; in alloc_bfreg() local 297 unsigned long *bitmap; in mlx5_free_bfreg() local
|
| /linux/tools/lib/ |
| H A D | bitmap.c | 8 unsigned int __bitmap_weight(const unsigned long *bitmap, int bits) in __bitmap_weight() argument 31 size_t bitmap_scnprintf(unsigned long *bitmap, unsigned int nbits, in bitmap_scnprintf() argument
|