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