Home
last modified time | relevance | path

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

/linux/fs/btrfs/
A Ddiscard.c354 u64 bps_limit = ((u64)kbps_limit) * SZ_1K; in __btrfs_discard_schedule_work() local
356 NSEC_PER_SEC, bps_limit); in __btrfs_discard_schedule_work()
/linux/block/
A Dblk-throttle.c803 u64 bps_limit, unsigned long *wait) in tg_with_in_bps_limit() argument
810 if (bps_limit == U64_MAX) { in tg_with_in_bps_limit()
824 tmp = bps_limit * jiffy_elapsed_rnd; in tg_with_in_bps_limit()
836 jiffy_wait = div64_u64(extra_bytes * HZ, bps_limit); in tg_with_in_bps_limit()
860 u64 bps_limit = tg_bps_limit(tg, rw); in tg_may_dispatch() local
873 if (bps_limit == U64_MAX && iops_limit == UINT_MAX) { in tg_may_dispatch()
898 if (tg_with_in_bps_limit(tg, bio, bps_limit, &bps_wait) && in tg_may_dispatch()

Completed in 8 milliseconds