Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/
A Dsbitmap.h47 struct sbitmap { struct
108 struct sbitmap sb;
180 static inline void sbitmap_free(struct sbitmap *sb) in sbitmap_free()
195 void sbitmap_resize(struct sbitmap *sb, unsigned int depth);
205 int sbitmap_get(struct sbitmap *sb);
230 bool sbitmap_any_bit_set(const struct sbitmap *sb);
247 static inline void __sbitmap_for_each_set(struct sbitmap *sb, in __sbitmap_for_each_set()
305 static inline unsigned long *__sbitmap_word(struct sbitmap *sb, in __sbitmap_word()
378 void sbitmap_show(struct sbitmap *sb, struct seq_file *m);
388 unsigned int sbitmap_weight(const struct sbitmap *sb);
[all …]
A Dblk-mq.h356 struct sbitmap ctx_map;
/linux-6.3-rc2/lib/
A Dsbitmap.c12 static int init_alloc_hint(struct sbitmap *sb, gfp_t flags) in init_alloc_hint()
43 static inline void update_alloc_hint_after_get(struct sbitmap *sb, in update_alloc_hint_after_get()
123 void sbitmap_resize(struct sbitmap *sb, unsigned int depth) in sbitmap_resize()
189 static int sbitmap_find_bit(struct sbitmap *sb, in sbitmap_find_bit()
239 int sbitmap_get(struct sbitmap *sb) in sbitmap_get()
256 static int __sbitmap_get_shallow(struct sbitmap *sb, in __sbitmap_get_shallow()
285 bool sbitmap_any_bit_set(const struct sbitmap *sb) in sbitmap_any_bit_set()
318 unsigned int sbitmap_weight(const struct sbitmap *sb) in sbitmap_weight()
324 void sbitmap_show(struct sbitmap *sb, struct seq_file *m) in sbitmap_show()
485 struct sbitmap *sb = &sbq->sb; in __sbitmap_queue_get_batch()
[all …]
A DMakefile356 obj-$(CONFIG_SBITMAP) += sbitmap.o
/linux-6.3-rc2/block/
A Dblk-mq-tag.c259 static bool bt_iter(struct sbitmap *bitmap, unsigned int bitnr, void *data) in bt_iter()
331 static bool bt_tags_iter(struct sbitmap *bitmap, unsigned int bitnr, void *data) in bt_tags_iter()
A Dkyber-iosched.c189 struct sbitmap kcq_map[KYBER_NUM_DOMAINS];
668 static bool flush_busy_kcq(struct sbitmap *sb, unsigned int bitnr, void *data) in flush_busy_kcq()
A Dblk-mq.c1692 static bool flush_busy_ctx(struct sbitmap *sb, unsigned int bitnr, void *data) in flush_busy_ctx()
1726 static bool dispatch_rq_from_ctx(struct sbitmap *sb, unsigned int bitnr, in dispatch_rq_from_ctx()
/linux-6.3-rc2/include/scsi/
A Dscsi_device.h115 struct sbitmap budget_map;
/linux-6.3-rc2/drivers/scsi/
A Dscsi_scan.c224 struct sbitmap sb_backup; in scsi_realloc_sdev_budget_map()
/linux-6.3-rc2/drivers/vhost/
A Dscsi.c183 struct sbitmap scsi_tags;
/linux-6.3-rc2/
A DMAINTAINERS3586 F: lib/sbitmap.c

Completed in 50 milliseconds