Lines Matching refs:depth
108 * Return true, if we can't increase the depth further by scaling
112 unsigned int depth;
117 * to have one request ready when one completes, so force a depth of
118 * 2 for those devices. On the backend, it'll be a depth of 1 anyway,
134 * writes, and we allow a temporarily higher depth to
137 depth = min_t(unsigned int, rqd->default_depth,
140 depth = 1 + ((depth - 1) >> min(31, rqd->scale_step));
144 depth = 1 + ((depth - 1) << -rqd->scale_step);
145 if (depth > maxd) {
146 depth = maxd;
151 rqd->max_depth = depth;