Lines Matching defs:depth
54 * Maximum device-wide depth for each scheduling domain.
57 * device with only a fraction of the maximum possible queue depth. So, we cap
161 * Async request percentage, converted to per-word depth for
267 unsigned int sched_domain, unsigned int depth)
269 depth = clamp(depth, 1U, kyber_depth[sched_domain]);
270 if (depth != kqd->domain_tokens[sched_domain].sb.depth) {
271 sbitmap_queue_resize(&kqd->domain_tokens[sched_domain], depth);
273 depth);
317 unsigned int orig_depth, depth;
344 * The new depth is scaled linearly with the p99 latency vs the
346 * we throttle down to 3/4 of the current depth, and if the p99
347 * is 2x the target, then we double the depth.
350 orig_depth = kqd->domain_tokens[sched_domain].sb.depth;
351 depth = (orig_depth * (p99 + 1)) >> KYBER_LATENCY_SHIFT;
352 kyber_resize_domain(kqd, sched_domain, depth);