Home
last modified time | relevance | path

Searched refs:sbitmap_queue (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.15/include/linux/
Dsbitmap.h105 struct sbitmap_queue { struct
395 int sbitmap_queue_init_node(struct sbitmap_queue *sbq, unsigned int depth,
403 static inline void sbitmap_queue_free(struct sbitmap_queue *sbq) in sbitmap_queue_free()
418 void sbitmap_queue_resize(struct sbitmap_queue *sbq, unsigned int depth);
427 int __sbitmap_queue_get(struct sbitmap_queue *sbq);
442 int __sbitmap_queue_get_shallow(struct sbitmap_queue *sbq,
454 static inline int sbitmap_queue_get(struct sbitmap_queue *sbq, in sbitmap_queue_get()
479 static inline int sbitmap_queue_get_shallow(struct sbitmap_queue *sbq, in sbitmap_queue_get_shallow()
505 void sbitmap_queue_min_shallow_depth(struct sbitmap_queue *sbq,
515 void sbitmap_queue_clear(struct sbitmap_queue *sbq, unsigned int nr,
[all …]
Dblk-mq.h260 struct sbitmap_queue __bitmap_tags;
261 struct sbitmap_queue __breserved_tags;
Dblkdev.h462 struct sbitmap_queue sched_bitmap_tags;
463 struct sbitmap_queue sched_breserved_tags;
/Linux-v5.15/block/
Dblk-mq-tag.h14 struct sbitmap_queue *bitmap_tags;
15 struct sbitmap_queue *breserved_tags;
17 struct sbitmap_queue __bitmap_tags;
18 struct sbitmap_queue __breserved_tags;
35 extern int blk_mq_init_bitmaps(struct sbitmap_queue *bitmap_tags,
36 struct sbitmap_queue *breserved_tags,
58 static inline struct sbq_wait_state *bt_wait_ptr(struct sbitmap_queue *bt, in bt_wait_ptr()
Dblk-mq-tag.c78 struct sbitmap_queue *bt) in __blk_mq_get_tag()
93 struct sbitmap_queue *bt; in blk_mq_get_tag()
120 struct sbitmap_queue *bt_prev; in blk_mq_get_tag()
256 static void bt_for_each(struct blk_mq_hw_ctx *hctx, struct sbitmap_queue *bt, in bt_for_each()
323 static void bt_tags_for_each(struct blk_mq_tags *tags, struct sbitmap_queue *bt, in bt_tags_for_each()
468 static int bt_alloc(struct sbitmap_queue *bt, unsigned int depth, in bt_alloc()
475 int blk_mq_init_bitmaps(struct sbitmap_queue *bitmap_tags, in blk_mq_init_bitmaps()
476 struct sbitmap_queue *breserved_tags, in blk_mq_init_bitmaps()
Dblk-mq.h321 struct sbitmap_queue *bt) in hctx_may_queue()
Dkyber-iosched.c160 struct sbitmap_queue domain_tokens[KYBER_NUM_DOMAINS];
709 struct sbitmap_queue *domain_tokens = &kqd->domain_tokens[sched_domain]; in kyber_get_domain_token()
Dblk-mq.c1072 struct sbitmap_queue *bt = rq->mq_hctx->tags->bitmap_tags; in __blk_mq_get_driver_tag()
1119 struct sbitmap_queue *sbq; in blk_mq_dispatch_wake()
1140 struct sbitmap_queue *sbq = hctx->tags->bitmap_tags; in blk_mq_mark_tag_wait()
Dbfq-iosched.c6839 struct sbitmap_queue *bt) in bfq_update_depths()
/Linux-v5.15/lib/
Dsbitmap.c398 static unsigned int sbq_calc_wake_batch(struct sbitmap_queue *sbq, in sbq_calc_wake_batch()
429 int sbitmap_queue_init_node(struct sbitmap_queue *sbq, unsigned int depth, in sbitmap_queue_init_node()
460 static void sbitmap_queue_update_wake_batch(struct sbitmap_queue *sbq, in sbitmap_queue_update_wake_batch()
479 void sbitmap_queue_resize(struct sbitmap_queue *sbq, unsigned int depth) in sbitmap_queue_resize()
486 int __sbitmap_queue_get(struct sbitmap_queue *sbq) in __sbitmap_queue_get()
492 int __sbitmap_queue_get_shallow(struct sbitmap_queue *sbq, in __sbitmap_queue_get_shallow()
501 void sbitmap_queue_min_shallow_depth(struct sbitmap_queue *sbq, in sbitmap_queue_min_shallow_depth()
509 static struct sbq_wait_state *sbq_wake_ptr(struct sbitmap_queue *sbq) in sbq_wake_ptr()
532 static bool __sbq_wake_up(struct sbitmap_queue *sbq) in __sbq_wake_up()
573 void sbitmap_queue_wake_up(struct sbitmap_queue *sbq) in sbitmap_queue_wake_up()
[all …]
/Linux-v5.15/drivers/dma/idxd/
Dsubmit.c42 struct sbitmap_queue *sbq; in idxd_alloc_desc()
Didxd.h195 struct sbitmap_queue sbq;
/Linux-v5.15/include/target/
Dtarget_core_base.h635 struct sbitmap_queue sess_tag_pool;
/Linux-v5.15/drivers/target/iscsi/
Discsi_target_util.c130 struct sbitmap_queue *sbq; in iscsit_wait_for_tag()