Searched refs:sbitmap (Results 1 – 12 of 12) sorted by relevance
| /linux/include/linux/ |
| A D | sbitmap.h | 52 struct sbitmap { struct 113 struct sbitmap sb; 185 static inline void sbitmap_free(struct sbitmap *sb) in sbitmap_free() 200 void sbitmap_resize(struct sbitmap *sb, unsigned int depth); 210 int sbitmap_get(struct sbitmap *sb); 235 bool sbitmap_any_bit_set(const struct sbitmap *sb); 252 static inline void __sbitmap_for_each_set(struct sbitmap *sb, in __sbitmap_for_each_set() 310 static inline unsigned long *__sbitmap_word(struct sbitmap *sb, in __sbitmap_word() 383 void sbitmap_show(struct sbitmap *sb, struct seq_file *m); 393 unsigned int sbitmap_weight(const struct sbitmap *sb); [all …]
|
| A D | blk-mq.h | 373 struct sbitmap ctx_map;
|
| /linux/lib/ |
| A D | sbitmap.c | 12 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() 145 void sbitmap_resize(struct sbitmap *sb, unsigned int depth) in sbitmap_resize() 211 static int sbitmap_find_bit(struct sbitmap *sb, in sbitmap_find_bit() 261 int sbitmap_get(struct sbitmap *sb) in sbitmap_get() 278 static int __sbitmap_get_shallow(struct sbitmap *sb, in __sbitmap_get_shallow() 307 bool sbitmap_any_bit_set(const struct sbitmap *sb) in sbitmap_any_bit_set() 340 unsigned int sbitmap_weight(const struct sbitmap *sb) in sbitmap_weight() 346 void sbitmap_show(struct sbitmap *sb, struct seq_file *m) in sbitmap_show() 502 struct sbitmap *sb = &sbq->sb; in __sbitmap_queue_get_batch() [all …]
|
| A D | Makefile | 351 obj-$(CONFIG_SBITMAP) += sbitmap.o
|
| /linux/block/ |
| A D | blk-mq-tag.c | 267 static bool bt_iter(struct sbitmap *bitmap, unsigned int bitnr, void *data) in bt_iter() 339 static bool bt_tags_iter(struct sbitmap *bitmap, unsigned int bitnr, void *data) in bt_tags_iter()
|
| A D | kyber-iosched.c | 187 struct sbitmap kcq_map[KYBER_NUM_DOMAINS]; 667 static bool flush_busy_kcq(struct sbitmap *sb, unsigned int bitnr, void *data) in flush_busy_kcq()
|
| A D | blk-mq.c | 1674 static bool flush_busy_ctx(struct sbitmap *sb, unsigned int bitnr, void *data) in flush_busy_ctx() 1708 static bool dispatch_rq_from_ctx(struct sbitmap *sb, unsigned int bitnr, in dispatch_rq_from_ctx()
|
| /linux/include/scsi/ |
| A D | scsi_device.h | 111 struct sbitmap budget_map;
|
| /linux/drivers/scsi/ |
| A D | scsi_scan.c | 224 struct sbitmap sb_backup; in scsi_realloc_sdev_budget_map()
|
| /linux/drivers/nvme/target/ |
| A D | rdma.c | 103 struct sbitmap rsp_tags;
|
| /linux/drivers/vhost/ |
| A D | scsi.c | 188 struct sbitmap scsi_tags;
|
| /linux/ |
| A D | MAINTAINERS | 3956 F: lib/sbitmap.c
|
Completed in 58 milliseconds