Home
last modified time | relevance | path

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

/lib/
Dsbitmap.c250 unsigned long shallow_depth) in __sbitmap_get_shallow() argument
260 min(sb->map[index].depth, shallow_depth), in __sbitmap_get_shallow()
283 int sbitmap_get_shallow(struct sbitmap *sb, unsigned long shallow_depth) in sbitmap_get_shallow() argument
293 nr = __sbitmap_get_shallow(sb, hint, shallow_depth); in sbitmap_get_shallow()
402 unsigned int shallow_depth; in sbq_calc_wake_batch() local
420 shallow_depth = min(1U << sbq->sb.shift, sbq->min_shallow_depth); in sbq_calc_wake_batch()
421 depth = ((depth >> sbq->sb.shift) * shallow_depth + in sbq_calc_wake_batch()
422 min(depth & ((1U << sbq->sb.shift) - 1), shallow_depth)); in sbq_calc_wake_batch()
493 unsigned int shallow_depth) in __sbitmap_queue_get_shallow() argument
495 WARN_ON_ONCE(shallow_depth < sbq->min_shallow_depth); in __sbitmap_queue_get_shallow()
[all …]