Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dsbitmap.h98 struct sbitmap_queue { struct
358 int sbitmap_queue_init_node(struct sbitmap_queue *sbq, unsigned int depth,
366 static inline void sbitmap_queue_free(struct sbitmap_queue *sbq) in sbitmap_queue_free()
382 void sbitmap_queue_resize(struct sbitmap_queue *sbq, unsigned int depth);
391 int __sbitmap_queue_get(struct sbitmap_queue *sbq);
406 int __sbitmap_queue_get_shallow(struct sbitmap_queue *sbq,
418 static inline int sbitmap_queue_get(struct sbitmap_queue *sbq, in sbitmap_queue_get()
443 static inline int sbitmap_queue_get_shallow(struct sbitmap_queue *sbq, in sbitmap_queue_get_shallow()
469 void sbitmap_queue_min_shallow_depth(struct sbitmap_queue *sbq,
479 void sbitmap_queue_clear(struct sbitmap_queue *sbq, unsigned int nr,
[all …]
/Linux-v4.19/lib/
Dsbitmap.c273 static unsigned int sbq_calc_wake_batch(struct sbitmap_queue *sbq, in sbq_calc_wake_batch()
304 int sbitmap_queue_init_node(struct sbitmap_queue *sbq, unsigned int depth, in sbitmap_queue_init_node()
346 static void sbitmap_queue_update_wake_batch(struct sbitmap_queue *sbq, in sbitmap_queue_update_wake_batch()
365 void sbitmap_queue_resize(struct sbitmap_queue *sbq, unsigned int depth) in sbitmap_queue_resize()
372 int __sbitmap_queue_get(struct sbitmap_queue *sbq) in __sbitmap_queue_get()
400 int __sbitmap_queue_get_shallow(struct sbitmap_queue *sbq, in __sbitmap_queue_get_shallow()
431 void sbitmap_queue_min_shallow_depth(struct sbitmap_queue *sbq, in sbitmap_queue_min_shallow_depth()
439 static struct sbq_wait_state *sbq_wake_ptr(struct sbitmap_queue *sbq) in sbq_wake_ptr()
461 static bool __sbq_wake_up(struct sbitmap_queue *sbq) in __sbq_wake_up()
502 void sbitmap_queue_wake_up(struct sbitmap_queue *sbq) in sbitmap_queue_wake_up()
[all …]
/Linux-v4.19/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.c70 struct sbitmap_queue *bt) in hctx_may_queue()
97 struct sbitmap_queue *bt) in __blk_mq_get_tag()
111 struct sbitmap_queue *bt; in blk_mq_get_tag()
140 struct sbitmap_queue *bt_prev; in blk_mq_get_tag()
242 static void bt_for_each(struct blk_mq_hw_ctx *hctx, struct sbitmap_queue *bt, in bt_for_each()
283 static void bt_tags_for_each(struct blk_mq_tags *tags, struct sbitmap_queue *bt, in bt_tags_for_each()
348 static int bt_alloc(struct sbitmap_queue *bt, unsigned int depth, in bt_alloc()
Dkyber-iosched.c98 struct sbitmap_queue domain_tokens[KYBER_NUM_DOMAINS];
647 struct sbitmap_queue *domain_tokens = &kqd->domain_tokens[sched_domain]; in kyber_get_domain_token()
Dbfq-iosched.c5184 struct sbitmap_queue *bt) in bfq_update_depths()
/Linux-v4.19/include/target/
Dtarget_core_base.h611 struct sbitmap_queue sess_tag_pool;