Searched refs:sbitmap (Results 1 – 8 of 8) sorted by relevance
/linux-4.19.296/include/linux/ |
D | sbitmap.h | 49 struct sbitmap { struct 102 struct sbitmap sb; 151 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift, 158 static inline void sbitmap_free(struct sbitmap *sb) in sbitmap_free() 172 void sbitmap_resize(struct sbitmap *sb, unsigned int depth); 186 int sbitmap_get(struct sbitmap *sb, unsigned int alloc_hint, bool round_robin); 204 int sbitmap_get_shallow(struct sbitmap *sb, unsigned int alloc_hint, 213 bool sbitmap_any_bit_set(const struct sbitmap *sb); 222 bool sbitmap_any_bit_clear(const struct sbitmap *sb); 227 typedef bool (*sb_for_each_fn)(struct sbitmap *, unsigned int, void *); [all …]
|
D | blk-mq.h | 35 struct sbitmap ctx_map;
|
/linux-4.19.296/lib/ |
D | sbitmap.c | 23 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift, in sbitmap_init_node() 67 void sbitmap_resize(struct sbitmap *sb, unsigned int depth) in sbitmap_resize() 114 int sbitmap_get(struct sbitmap *sb, unsigned int alloc_hint, bool round_robin) in sbitmap_get() 145 int sbitmap_get_shallow(struct sbitmap *sb, unsigned int alloc_hint, in sbitmap_get_shallow() 176 bool sbitmap_any_bit_set(const struct sbitmap *sb) in sbitmap_any_bit_set() 188 bool sbitmap_any_bit_clear(const struct sbitmap *sb) in sbitmap_any_bit_clear() 204 unsigned int sbitmap_weight(const struct sbitmap *sb) in sbitmap_weight() 217 void sbitmap_show(struct sbitmap *sb, struct seq_file *m) in sbitmap_show() 238 void sbitmap_bitmap_show(struct sbitmap *sb, struct seq_file *m) in sbitmap_bitmap_show()
|
D | Makefile | 275 obj-$(CONFIG_SBITMAP) += sbitmap.o
|
/linux-4.19.296/block/ |
D | blk-mq-tag.c | 221 static bool bt_iter(struct sbitmap *bitmap, unsigned int bitnr, void *data) in bt_iter() 262 static bool bt_tags_iter(struct sbitmap *bitmap, unsigned int bitnr, void *data) in bt_tags_iter()
|
D | kyber-iosched.c | 116 struct sbitmap kcq_map[KYBER_NUM_DOMAINS]; 604 static bool flush_busy_kcq(struct sbitmap *sb, unsigned int bitnr, void *data) in flush_busy_kcq()
|
D | blk-mq.c | 903 static bool flush_busy_ctx(struct sbitmap *sb, unsigned int bitnr, void *data) in flush_busy_ctx() 936 static bool dispatch_rq_from_ctx(struct sbitmap *sb, unsigned int bitnr, in dispatch_rq_from_ctx()
|
/linux-4.19.296/ |
D | MAINTAINERS | 2771 F: lib/sbitmap.c
|