Home
last modified time | relevance | path

Searched refs:wake_batch (Results 1 – 2 of 2) sorted by relevance

/linux/lib/
H A Dsbitmap.c460 sbq->wake_batch = sbq_calc_wake_batch(sbq, depth); in sbitmap_queue_init_node()
482 unsigned int wake_batch; in sbitmap_queue_update_wake_batch() local
484 wake_batch = sbq_calc_wake_batch(sbq, depth); in sbitmap_queue_update_wake_batch()
485 if (sbq->wake_batch != wake_batch) in sbitmap_queue_update_wake_batch()
486 WRITE_ONCE(sbq->wake_batch, wake_batch); in sbitmap_queue_update_wake_batch()
492 unsigned int wake_batch; in sbitmap_queue_recalculate_wake_batch() local
495 wake_batch = clamp_val(depth / SBQ_WAIT_QUEUES, in sbitmap_queue_recalculate_wake_batch()
498 WRITE_ONCE(sbq->wake_batch, wake_batch); in sbitmap_queue_recalculate_wake_batch()
617 unsigned int wake_batch = READ_ONCE(sbq->wake_batch); in sbitmap_queue_wake_up() local
627 if (atomic_read(&sbq->completion_cnt) - wakeups < wake_batch) in sbitmap_queue_wake_up()
[all …]
/linux/include/linux/
H A Dsbitmap.h116 * @wake_batch: Number of bits which must be freed before we wake up any
119 unsigned int wake_batch; member