Home
last modified time | relevance | path

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

12345678

/Linux-v4.19/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.c34 static inline char *bmname(struct bitmap *bitmap) in bmname()
49 static int md_bitmap_checkpage(struct bitmap_counts *bitmap, in md_bitmap_checkpage()
118 static void md_bitmap_checkfree(struct bitmap_counts *bitmap, unsigned long page) in md_bitmap_checkfree()
211 static int write_sb_page(struct bitmap *bitmap, struct page *page, int wait) in write_sb_page()
287 static void write_page(struct bitmap *bitmap, struct page *page, int wait) in write_page()
318 struct bitmap *bitmap = bh->b_private; in end_bitmap_write() local
359 struct bitmap *bitmap, in read_page()
428 static void md_bitmap_wait_writes(struct bitmap *bitmap) in md_bitmap_wait_writes()
446 void md_bitmap_update_sb(struct bitmap *bitmap) in md_bitmap_update_sb()
482 void md_bitmap_print_sb(struct bitmap *bitmap) in md_bitmap_print_sb()
[all …]
/Linux-v4.19/fs/xfs/scrub/
Dbitmap.c27 struct xfs_bitmap *bitmap, in xfs_bitmap_set()
48 struct xfs_bitmap *bitmap) in xfs_bitmap_destroy()
62 struct xfs_bitmap *bitmap) in xfs_bitmap_init()
105 struct xfs_bitmap *bitmap, in xfs_bitmap_disunion()
256 struct xfs_bitmap *bitmap, in xfs_bitmap_set_btcur_path()
284 struct xfs_bitmap *bitmap = priv; in xfs_bitmap_collect_btblock() local
299 struct xfs_bitmap *bitmap, in xfs_bitmap_set_btblocks()
Dbitmap.h22 #define for_each_xfs_bitmap_extent(bex, n, bitmap) \ argument
25 #define for_each_xfs_bitmap_block(b, bex, n, bitmap) \ argument
/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_alloc.c38 int hns_roce_bitmap_alloc(struct hns_roce_bitmap *bitmap, unsigned long *obj) in hns_roce_bitmap_alloc()
65 void hns_roce_bitmap_free(struct hns_roce_bitmap *bitmap, unsigned long obj, in hns_roce_bitmap_free()
72 int hns_roce_bitmap_alloc_range(struct hns_roce_bitmap *bitmap, int cnt, in hns_roce_bitmap_alloc_range()
111 void hns_roce_bitmap_free_range(struct hns_roce_bitmap *bitmap, in hns_roce_bitmap_free_range()
130 int hns_roce_bitmap_init(struct hns_roce_bitmap *bitmap, u32 num, u32 mask, in hns_roce_bitmap_init()
155 void hns_roce_bitmap_cleanup(struct hns_roce_bitmap *bitmap) in hns_roce_bitmap_cleanup()
/Linux-v4.19/lib/
Dfind_bit_benchmark.c44 static int __init test_find_first_bit(void *bitmap, unsigned long len) in test_find_first_bit()
60 static int __init test_find_next_bit(const void *bitmap, unsigned long len) in test_find_next_bit()
74 static int __init test_find_next_zero_bit(const void *bitmap, unsigned long len) in test_find_next_zero_bit()
88 static int __init test_find_last_bit(const void *bitmap, unsigned long len) in test_find_last_bit()
107 static int __init test_find_next_and_bit(const void *bitmap, in test_find_next_and_bit()
Dbitmap.c239 int __bitmap_weight(const unsigned long *bitmap, unsigned int bits) in __bitmap_weight()
990 static int __reg_op(unsigned long *bitmap, unsigned int pos, int order, int reg_op) in __reg_op()
1056 int bitmap_find_free_region(unsigned long *bitmap, unsigned int bits, int order) in bitmap_find_free_region()
1081 void bitmap_release_region(unsigned long *bitmap, unsigned int pos, int order) in bitmap_release_region()
1098 int bitmap_allocate_region(unsigned long *bitmap, unsigned int pos, int order) in bitmap_allocate_region()
1142 void bitmap_free(const unsigned long *bitmap) in bitmap_free()
1155 void bitmap_from_arr32(unsigned long *bitmap, const u32 *buf, unsigned int nbits) in bitmap_from_arr32()
1178 void bitmap_to_arr32(u32 *buf, const unsigned long *bitmap, unsigned int nbits) in bitmap_to_arr32()
Didr.c371 struct ida_bitmap *bitmap; in ida_get_new_above() local
454 struct ida_bitmap *bitmap; in ida_remove() local
509 struct ida_bitmap *bitmap = rcu_dereference_raw(*slot); in ida_destroy() local
Dmemweight.c15 const unsigned char *bitmap = ptr; in memweight() local
/Linux-v4.19/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()
198 void mlx4_bitmap_cleanup(struct mlx4_bitmap *bitmap) in mlx4_bitmap_cleanup()
218 struct mlx4_bitmap *bitmap; member
[all …]
/Linux-v4.19/net/dsa/
Dswitch.c108 const unsigned long *bitmap) in dsa_switch_mdb_prepare_bitmap()
126 const unsigned long *bitmap) in dsa_switch_mdb_add_bitmap()
174 const unsigned long *bitmap) in dsa_switch_vlan_prepare_bitmap()
193 const unsigned long *bitmap) in dsa_switch_vlan_add_bitmap()
/Linux-v4.19/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()
222 struct udf_bitmap *bitmap, uint16_t partition, in udf_bitmap_new_block()
/Linux-v4.19/drivers/gpu/drm/i915/selftests/
Dintel_breadcrumbs.c32 const unsigned long *bitmap, in check_rbtree()
69 const unsigned long *bitmap, in check_completion()
114 unsigned long *bitmap; in igt_random_insert_remove() local
184 unsigned long *bitmap; in igt_insert_complete() local
/Linux-v4.19/fs/btrfs/tests/
Dextent-io-tests.c264 static int check_eb_bitmap(unsigned long *bitmap, struct extent_buffer *eb, in check_eb_bitmap()
289 static int __test_eb_bitmaps(unsigned long *bitmap, struct extent_buffer *eb, in __test_eb_bitmaps()
376 unsigned long *bitmap; in test_eb_bitmaps() local
/Linux-v4.19/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-v4.19/fs/nfs/
Dnfs4xdr.c976 const __u32 *bitmap, size_t len) in xdr_encode_bitmap4()
989 static size_t mask_bitmap4(const __u32 *bitmap, const __u32 *mask, in mask_bitmap4()
1243 const __u32 *bitmap, const __u32 *mask, size_t len, in encode_getattr()
3245 decode_bitmap4(struct xdr_stream *xdr, uint32_t *bitmap, size_t sz) in decode_bitmap4()
3258 static int decode_attr_bitmap(struct xdr_stream *xdr, uint32_t *bitmap) in decode_attr_bitmap()
3280 static int decode_attr_supported(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *bitmask) in decode_attr_supported()
3295 static int decode_attr_type(struct xdr_stream *xdr, uint32_t *bitmap, uint32_t *type) in decode_attr_type()
3323 uint32_t *bitmap, uint32_t *type) in decode_attr_fh_expire_type()
3344 static int decode_attr_change(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *change) in decode_attr_change()
3368 static int decode_attr_size(struct xdr_stream *xdr, uint32_t *bitmap, uint64_t *size) in decode_attr_size()
[all …]
Dcallback_xdr.c115 static __be32 decode_bitmap(struct xdr_stream *xdr, uint32_t *bitmap) in decode_bitmap()
461 uint32_t bitmap[2]; in decode_recallany_args() local
606 static __be32 encode_attr_bitmap(struct xdr_stream *xdr, const uint32_t *bitmap, size_t sz) in encode_attr_bitmap()
613 static __be32 encode_attr_change(struct xdr_stream *xdr, const uint32_t *bitmap, uint64_t change) in encode_attr_change()
626 static __be32 encode_attr_size(struct xdr_stream *xdr, const uint32_t *bitmap, uint64_t size) in encode_attr_size()
651 static __be32 encode_attr_ctime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timesp… in encode_attr_ctime()
658 static __be32 encode_attr_mtime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timesp… in encode_attr_mtime()
/Linux-v4.19/tools/lib/
Dbitmap.c10 int __bitmap_weight(const unsigned long *bitmap, int bits) in __bitmap_weight()
33 size_t bitmap_scnprintf(unsigned long *bitmap, int nbits, in bitmap_scnprintf()
/Linux-v4.19/net/netlabel/
Dnetlabel_kapi.c627 NETLBL_CATMAP_MAPTYPE bitmap; in netlbl_catmap_walk() local
684 NETLBL_CATMAP_MAPTYPE bitmap; in netlbl_catmap_walkrng() local
741 unsigned long *bitmap) in netlbl_catmap_getlong()
852 unsigned long bitmap, in netlbl_catmap_setlong()
888 int netlbl_bitmap_walk(const unsigned char *bitmap, u32 bitmap_len, in netlbl_bitmap_walk()
928 void netlbl_bitmap_setbit(unsigned char *bitmap, u32 bit, u8 state) in netlbl_bitmap_setbit()
/Linux-v4.19/kernel/bpf/
Ddevmap.c173 unsigned long *bitmap = per_cpu_ptr(dtab->flush_needed, cpu); in dev_map_free() local
215 unsigned long *bitmap = this_cpu_ptr(dtab->flush_needed); in __dev_map_insert_ctx() local
278 unsigned long *bitmap = this_cpu_ptr(dtab->flush_needed); in __dev_map_flush() local
384 unsigned long *bitmap; in dev_map_flush_old() local
/Linux-v4.19/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-v4.19/drivers/net/wireless/realtek/rtlwifi/
Dcam.c283 u32 bitmap = (rtlpriv->sec.hwsec_cam_bitmap) >> 4; in rtl_cam_get_free_entry() local
316 u32 bitmap; in rtl_cam_del_entry() local
/Linux-v4.19/drivers/staging/rtlwifi/
Dcam.c258 u32 bitmap = (rtlpriv->sec.hwsec_cam_bitmap) >> 4; in rtl_cam_get_free_entry() local
290 u32 bitmap; in rtl_cam_del_entry() local
/Linux-v4.19/drivers/cpufreq/
Dspeedstep-lib.c40 u8 bitmap; /* power on configuration bits in pentium3_get_frequency() member
63 u8 bitmap; /* power on configuration bits [18: 19] in pentium3_get_frequency() member
/Linux-v4.19/arch/x86/kvm/
Dlapic.c73 static inline int apic_test_vector(int vec, void *bitmap) in apic_test_vector()
86 static inline void apic_clear_vector(int vec, void *bitmap) in apic_clear_vector()
91 static inline int __apic_test_and_set_vector(int vec, void *bitmap) in __apic_test_and_set_vector()
96 static inline int __apic_test_and_clear_vector(int vec, void *bitmap) in __apic_test_and_clear_vector()
346 static int find_highest_vector(void *bitmap) in find_highest_vector()
361 static u8 count_vectors(void *bitmap) in count_vectors()
823 const unsigned long *bitmap, u32 bitmap_size) in kvm_vector_to_index()
876 unsigned long *bitmap) in kvm_apic_map_get_dest_lapic()
942 unsigned long bitmap; in kvm_irq_delivery_to_apic_fast() local
989 unsigned long bitmap; in kvm_intr_is_single_vcpu_fast() local
[all …]

12345678