Home
last modified time | relevance | path

Searched refs:kbps_limit (Results 1 – 3 of 3) sorted by relevance

/linux/fs/btrfs/
H A Ddiscard.c388 u32 kbps_limit = READ_ONCE(discard_ctl->kbps_limit); in __btrfs_discard_schedule_work() local
395 if (kbps_limit && discard_ctl->prev_discard) { in __btrfs_discard_schedule_work()
396 u64 bps_limit = ((u64)kbps_limit) * SZ_1K; in __btrfs_discard_schedule_work()
766 discard_ctl->kbps_limit = 0; in btrfs_discard_init()
H A Dsysfs.c557 READ_ONCE(fs_info->discard_ctl.kbps_limit)); in btrfs_discard_kbps_limit_show()
566 u32 kbps_limit; in btrfs_discard_kbps_limit_store() local
569 ret = kstrtou32(buf, 10, &kbps_limit); in btrfs_discard_kbps_limit_store()
573 WRITE_ONCE(discard_ctl->kbps_limit, kbps_limit); in btrfs_discard_kbps_limit_store()
577 BTRFS_ATTR_RW(discard, kbps_limit, btrfs_discard_kbps_limit_show,
622 BTRFS_ATTR_PTR(discard, kbps_limit),
H A Dfs.h377 u32 kbps_limit; member