Lines Matching defs:sbitmap_queue

86  * struct sbq_wait_state - Wait queue in a &struct sbitmap_queue.
96 * struct sbitmap_queue - Scalable bitmap with the added ability to wait on free
99 * A &struct sbitmap_queue uses multiple wait queues and rolling wakeups to
104 struct sbitmap_queue {
402 * sbitmap_queue_init_node() - Initialize a &struct sbitmap_queue on a specific
413 int sbitmap_queue_init_node(struct sbitmap_queue *sbq, unsigned int depth,
417 * sbitmap_queue_free() - Free memory used by a &struct sbitmap_queue.
421 static inline void sbitmap_queue_free(struct sbitmap_queue *sbq)
435 void sbitmap_queue_recalculate_wake_batch(struct sbitmap_queue *sbq,
439 * sbitmap_queue_resize() - Resize a &struct sbitmap_queue.
444 * some extra work on the &struct sbitmap_queue, so it's not safe to just
447 void sbitmap_queue_resize(struct sbitmap_queue *sbq, unsigned int depth);
451 * sbitmap_queue with preemption already disabled.
456 int __sbitmap_queue_get(struct sbitmap_queue *sbq);
468 unsigned long __sbitmap_queue_get_batch(struct sbitmap_queue *sbq, int nr_tags,
473 * sbitmap_queue, limiting the depth used from each word, with preemption
484 int sbitmap_queue_get_shallow(struct sbitmap_queue *sbq,
489 * sbitmap_queue.
496 static inline int sbitmap_queue_get(struct sbitmap_queue *sbq,
508 * sbitmap_queue_min_shallow_depth() - Inform a &struct sbitmap_queue of the
521 void sbitmap_queue_min_shallow_depth(struct sbitmap_queue *sbq,
526 * &struct sbitmap_queue.
531 void sbitmap_queue_clear(struct sbitmap_queue *sbq, unsigned int nr,
536 * &struct sbitmap_queue.
542 void sbitmap_queue_clear_batch(struct sbitmap_queue *sbq, int offset,
559 * sbitmap_queue.
563 static inline struct sbq_wait_state *sbq_wait_ptr(struct sbitmap_queue *sbq,
575 * sbitmap_queue.
578 void sbitmap_queue_wake_all(struct sbitmap_queue *sbq);
582 * on a &struct sbitmap_queue.
586 void sbitmap_queue_wake_up(struct sbitmap_queue *sbq, int nr);
589 * sbitmap_queue_show() - Dump &struct sbitmap_queue information to a &struct
596 void sbitmap_queue_show(struct sbitmap_queue *sbq, struct seq_file *m);
599 struct sbitmap_queue *sbq; /* if set, sbq_wait is accounted */
617 void sbitmap_prepare_to_wait(struct sbitmap_queue *sbq,
624 void sbitmap_finish_wait(struct sbitmap_queue *sbq, struct sbq_wait_state *ws,
630 void sbitmap_add_wait_queue(struct sbitmap_queue *sbq,