Home
last modified time | relevance | path

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

/block/
Dbadblocks.c60 sector_t target = s + sectors; in badblocks_check() local
66 target += (1<<bb->shift) - 1; in badblocks_check()
67 target >>= bb->shift; in badblocks_check()
68 sectors = target - s; in badblocks_check()
90 if (a < target) in badblocks_check()
106 if (BB_OFFSET(p[lo]) < target) { in badblocks_check()
335 sector_t target = s + sectors; in badblocks_clear() local
347 target >>= bb->shift; in badblocks_clear()
348 sectors = target - s; in badblocks_clear()
361 if (a < target) in badblocks_clear()
[all …]
Dblk-crypto-profile.c558 bool blk_crypto_has_capabilities(const struct blk_crypto_profile *target, in blk_crypto_has_capabilities() argument
566 if (!target) in blk_crypto_has_capabilities()
569 for (i = 0; i < ARRAY_SIZE(target->modes_supported); i++) { in blk_crypto_has_capabilities()
570 if (reference->modes_supported[i] & ~target->modes_supported[i]) in blk_crypto_has_capabilities()
575 target->max_dun_bytes_supported) in blk_crypto_has_capabilities()
578 if (reference->key_types_supported & ~target->key_types_supported) in blk_crypto_has_capabilities()
Dkyber-iosched.c621 u64 target, u64 latency) in add_latency_sample() argument
627 divisor = max_t(u64, target >> KYBER_LATENCY_SHIFT, 1); in add_latency_sample()
642 u64 target; in kyber_completed_request() local
649 target = kqd->latency_targets[sched_domain]; in kyber_completed_request()
651 target, now - rq->start_time_ns); in kyber_completed_request()
652 add_latency_sample(cpu_latency, sched_domain, KYBER_IO_LATENCY, target, in kyber_completed_request()
DKconfig.iosched17 multiqueue and other fast devices. Given target latencies for reads and
DKconfig119 the configured latency target, throttling anybody with a higher latency
120 target than the victimized group.
Dblk-iocost.c388 s64 target; member
767 margins->target = (period_us * MARGIN_TARGET_PCT / 100) * vrate; in ioc_refresh_margins()
1296 vtarget = now->vnow - ioc->margins.target; in iocg_activate()
1739 s64 excess, delta, target, new_hwi; in hweight_after_donation() local
1751 excess = now->vnow - vtime - ioc->margins.target; in hweight_after_donation()
1777 target = WEIGHT_ONE * MARGIN_TARGET_PCT / 100; in hweight_after_donation()
1778 new_hwi = div64_s64(WEIGHT_ONE * usage, WEIGHT_ONE - target + delta); in hweight_after_donation()
2202 excess = now->vnow - vtime - ioc->margins.target; in ioc_check_iocgs()