Home
last modified time | relevance | path

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

/linux/lib/
H A Dsbitmap.c426 wake_batch = clamp_t(unsigned int, depth / SBQ_WAIT_QUEUES, 1, in sbq_calc_wake_batch()
450 sbq->ws = kzalloc_node(SBQ_WAIT_QUEUES * sizeof(*sbq->ws), flags, node); in sbitmap_queue_init_node()
456 for (i = 0; i < SBQ_WAIT_QUEUES; i++) in sbitmap_queue_init_node()
479 wake_batch = clamp_val(depth / SBQ_WAIT_QUEUES, in sbitmap_queue_recalculate_wake_batch()
576 for (i = 0; i < SBQ_WAIT_QUEUES; i++) { in __sbitmap_queue_wake_up()
698 for (i = 0; i < SBQ_WAIT_QUEUES; i++) { in sbitmap_queue_wake_all()
731 for (i = 0; i < SBQ_WAIT_QUEUES; i++) { in sbitmap_queue_show()
/linux/include/linux/
H A Dsbitmap.h87 #define SBQ_WAIT_QUEUES 8 macro
552 return (index + 1) & (SBQ_WAIT_QUEUES - 1); in sbq_index_inc()