Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dsbitmap.h97 struct sbitmap_queue { struct
375 int sbitmap_queue_init_node(struct sbitmap_queue *sbq, unsigned int depth,
383 static inline void sbitmap_queue_free(struct sbitmap_queue *sbq) in sbitmap_queue_free()
399 void sbitmap_queue_resize(struct sbitmap_queue *sbq, unsigned int depth);
408 int __sbitmap_queue_get(struct sbitmap_queue *sbq);
423 int __sbitmap_queue_get_shallow(struct sbitmap_queue *sbq,
435 static inline int sbitmap_queue_get(struct sbitmap_queue *sbq, in sbitmap_queue_get()
460 static inline int sbitmap_queue_get_shallow(struct sbitmap_queue *sbq, in sbitmap_queue_get_shallow()
486 void sbitmap_queue_min_shallow_depth(struct sbitmap_queue *sbq,
496 void sbitmap_queue_clear(struct sbitmap_queue *sbq, unsigned int nr,
[all …]
/Linux-v5.4/lib/
Dsbitmap.c338 static unsigned int sbq_calc_wake_batch(struct sbitmap_queue *sbq, in sbq_calc_wake_batch()
369 int sbitmap_queue_init_node(struct sbitmap_queue *sbq, unsigned int depth, in sbitmap_queue_init_node()
412 static void sbitmap_queue_update_wake_batch(struct sbitmap_queue *sbq, in sbitmap_queue_update_wake_batch()
431 void sbitmap_queue_resize(struct sbitmap_queue *sbq, unsigned int depth) in sbitmap_queue_resize()
438 int __sbitmap_queue_get(struct sbitmap_queue *sbq) in __sbitmap_queue_get()
466 int __sbitmap_queue_get_shallow(struct sbitmap_queue *sbq, in __sbitmap_queue_get_shallow()
497 void sbitmap_queue_min_shallow_depth(struct sbitmap_queue *sbq, in sbitmap_queue_min_shallow_depth()
505 static struct sbq_wait_state *sbq_wake_ptr(struct sbitmap_queue *sbq) in sbq_wake_ptr()
528 static bool __sbq_wake_up(struct sbitmap_queue *sbq) in __sbq_wake_up()
569 void sbitmap_queue_wake_up(struct sbitmap_queue *sbq) in sbitmap_queue_wake_up()
[all …]
/Linux-v5.4/block/
Dblk-mq-tag.h16 struct sbitmap_queue bitmap_tags;
17 struct sbitmap_queue breserved_tags;
39 static inline struct sbq_wait_state *bt_wait_ptr(struct sbitmap_queue *bt, in bt_wait_ptr()
Dblk-mq-tag.c72 struct sbitmap_queue *bt) in hctx_may_queue()
99 struct sbitmap_queue *bt) in __blk_mq_get_tag()
113 struct sbitmap_queue *bt; in blk_mq_get_tag()
140 struct sbitmap_queue *bt_prev; in blk_mq_get_tag()
250 static void bt_for_each(struct blk_mq_hw_ctx *hctx, struct sbitmap_queue *bt, in bt_for_each()
304 static void bt_tags_for_each(struct blk_mq_tags *tags, struct sbitmap_queue *bt, in bt_tags_for_each()
436 static int bt_alloc(struct sbitmap_queue *bt, unsigned int depth, in bt_alloc()
Dkyber-iosched.c157 struct sbitmap_queue domain_tokens[KYBER_NUM_DOMAINS];
707 struct sbitmap_queue *domain_tokens = &kqd->domain_tokens[sched_domain]; in kyber_get_domain_token()
Dblk-mq.c1095 struct sbitmap_queue *sbq; in blk_mq_dispatch_wake()
1116 struct sbitmap_queue *sbq = &hctx->tags->bitmap_tags; in blk_mq_mark_tag_wait()
Dbfq-iosched.c6302 struct sbitmap_queue *bt) in bfq_update_depths()
/Linux-v5.4/include/target/
Dtarget_core_base.h620 struct sbitmap_queue sess_tag_pool;
/Linux-v5.4/drivers/target/iscsi/
Discsi_target_util.c147 struct sbitmap_queue *sbq; in iscsit_wait_for_tag()