Home
last modified time | relevance | path

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

/lib/
Dsbitmap.c401 unsigned int wake_batch; in sbq_calc_wake_batch() local
423 wake_batch = clamp_t(unsigned int, depth / SBQ_WAIT_QUEUES, 1, in sbq_calc_wake_batch()
426 return wake_batch; in sbq_calc_wake_batch()
441 sbq->wake_batch = sbq_calc_wake_batch(sbq, depth); in sbitmap_queue_init_node()
453 atomic_set(&sbq->ws[i].wait_cnt, sbq->wake_batch); in sbitmap_queue_init_node()
463 unsigned int wake_batch = sbq_calc_wake_batch(sbq, depth); in sbitmap_queue_update_wake_batch() local
466 if (sbq->wake_batch != wake_batch) { in sbitmap_queue_update_wake_batch()
467 WRITE_ONCE(sbq->wake_batch, wake_batch); in sbitmap_queue_update_wake_batch()
535 unsigned int wake_batch; in __sbq_wake_up() local
546 wake_batch = READ_ONCE(sbq->wake_batch); in __sbq_wake_up()
[all …]