Home
last modified time | relevance | path

Searched refs:sbitmap (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dsbitmap.h48 struct sbitmap { struct
101 struct sbitmap sb;
155 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift,
162 static inline void sbitmap_free(struct sbitmap *sb) in sbitmap_free()
176 void sbitmap_resize(struct sbitmap *sb, unsigned int depth);
190 int sbitmap_get(struct sbitmap *sb, unsigned int alloc_hint, bool round_robin);
208 int sbitmap_get_shallow(struct sbitmap *sb, unsigned int alloc_hint,
217 bool sbitmap_any_bit_set(const struct sbitmap *sb);
222 typedef bool (*sb_for_each_fn)(struct sbitmap *, unsigned int, void *);
234 static inline void __sbitmap_for_each_set(struct sbitmap *sb, in __sbitmap_for_each_set()
[all …]
Dblk-mq.h78 struct sbitmap ctx_map;
/kernel/linux/linux-5.10/lib/
Dsbitmap.c15 static inline bool sbitmap_deferred_clear(struct sbitmap *sb, int index) in sbitmap_deferred_clear()
44 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift, in sbitmap_init_node()
89 void sbitmap_resize(struct sbitmap *sb, unsigned int depth) in sbitmap_resize()
139 static int sbitmap_find_bit_in_index(struct sbitmap *sb, int index, in sbitmap_find_bit_in_index()
157 int sbitmap_get(struct sbitmap *sb, unsigned int alloc_hint, bool round_robin) in sbitmap_get()
192 int sbitmap_get_shallow(struct sbitmap *sb, unsigned int alloc_hint, in sbitmap_get_shallow()
227 bool sbitmap_any_bit_set(const struct sbitmap *sb) in sbitmap_any_bit_set()
239 static unsigned int __sbitmap_weight(const struct sbitmap *sb, bool set) in __sbitmap_weight()
254 static unsigned int sbitmap_weight(const struct sbitmap *sb) in sbitmap_weight()
259 static unsigned int sbitmap_cleared(const struct sbitmap *sb) in sbitmap_cleared()
[all …]
DMakefile335 obj-$(CONFIG_SBITMAP) += sbitmap.o
/kernel/linux/linux-5.10/block/
Dblk-mq-tag.c216 static bool bt_iter(struct sbitmap *bitmap, unsigned int bitnr, void *data) in bt_iter()
279 static bool bt_tags_iter(struct sbitmap *bitmap, unsigned int bitnr, void *data) in bt_tags_iter()
Dkyber-iosched.c186 struct sbitmap kcq_map[KYBER_NUM_DOMAINS];
660 static bool flush_busy_kcq(struct sbitmap *sb, unsigned int bitnr, void *data) in flush_busy_kcq()
Dblk-mq.c1020 static bool flush_busy_ctx(struct sbitmap *sb, unsigned int bitnr, void *data) in flush_busy_ctx()
1054 static bool dispatch_rq_from_ctx(struct sbitmap *sb, unsigned int bitnr, in dispatch_rq_from_ctx()
/kernel/linux/linux-5.10/drivers/vhost/
Dscsi.c193 struct sbitmap scsi_tags;
/kernel/linux/linux-5.10/
DMAINTAINERS3196 F: lib/sbitmap.c