Searched refs:wake_batch (Results 1 – 2 of 2) sorted by relevance
460 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() local484 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() local495 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() local627 if (atomic_read(&sbq->completion_cnt) - wakeups < wake_batch) in sbitmap_queue_wake_up()[all …]
116 * @wake_batch: Number of bits which must be freed before we wake up any119 unsigned int wake_batch; member