Home
last modified time | relevance | path

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

/fs/btrfs/
Ddiscard.c367 u32 kbps_limit = READ_ONCE(discard_ctl->kbps_limit); in __btrfs_discard_schedule_work() local
374 if (kbps_limit && discard_ctl->prev_discard) { in __btrfs_discard_schedule_work()
375 u64 bps_limit = ((u64)kbps_limit) * SZ_1K; in __btrfs_discard_schedule_work()
747 discard_ctl->kbps_limit = 0; in btrfs_discard_init()
Dsysfs.c532 READ_ONCE(fs_info->discard_ctl.kbps_limit)); in btrfs_discard_kbps_limit_show()
541 u32 kbps_limit; in btrfs_discard_kbps_limit_store() local
544 ret = kstrtou32(buf, 10, &kbps_limit); in btrfs_discard_kbps_limit_store()
548 WRITE_ONCE(discard_ctl->kbps_limit, kbps_limit); in btrfs_discard_kbps_limit_store()
552 BTRFS_ATTR_RW(discard, kbps_limit, btrfs_discard_kbps_limit_show,
597 BTRFS_ATTR_PTR(discard, kbps_limit),
Dctree.h532 u32 kbps_limit; member