Home
last modified time | relevance | path

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

/lib/
Dsbitmap.c341 unsigned int wake_batch; in sbq_calc_wake_batch() local
363 wake_batch = clamp_t(unsigned int, depth / SBQ_WAIT_QUEUES, 1, in sbq_calc_wake_batch()
366 return wake_batch; in sbq_calc_wake_batch()
391 sbq->wake_batch = sbq_calc_wake_batch(sbq, depth); in sbitmap_queue_init_node()
404 atomic_set(&sbq->ws[i].wait_cnt, sbq->wake_batch); in sbitmap_queue_init_node()
415 unsigned int wake_batch = sbq_calc_wake_batch(sbq, depth); in sbitmap_queue_update_wake_batch() local
418 if (sbq->wake_batch != wake_batch) { in sbitmap_queue_update_wake_batch()
419 WRITE_ONCE(sbq->wake_batch, wake_batch); in sbitmap_queue_update_wake_batch()
531 unsigned int wake_batch; in __sbq_wake_up() local
542 wake_batch = READ_ONCE(sbq->wake_batch); in __sbq_wake_up()
[all …]