Home
last modified time | relevance | path

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

/lib/
Dsbitmap.c193 unsigned long shallow_depth) in sbitmap_get_shallow() argument
203 min(sb->map[index].depth, shallow_depth), in sbitmap_get_shallow()
342 unsigned int shallow_depth; in sbq_calc_wake_batch() local
360 shallow_depth = min(1U << sbq->sb.shift, sbq->min_shallow_depth); in sbq_calc_wake_batch()
361 depth = ((depth >> sbq->sb.shift) * shallow_depth + in sbq_calc_wake_batch()
362 min(depth & ((1U << sbq->sb.shift) - 1), shallow_depth)); in sbq_calc_wake_batch()
467 unsigned int shallow_depth) in __sbitmap_queue_get_shallow() argument
472 WARN_ON_ONCE(shallow_depth < sbq->min_shallow_depth); in __sbitmap_queue_get_shallow()
480 nr = sbitmap_get_shallow(&sbq->sb, hint, shallow_depth); in __sbitmap_queue_get_shallow()