Home
last modified time | relevance | path

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

/linux-6.6.21/fs/btrfs/
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()
Dsysfs.c542 READ_ONCE(fs_info->discard_ctl.kbps_limit)); in btrfs_discard_kbps_limit_show()
551 u32 kbps_limit; in btrfs_discard_kbps_limit_store() local
554 ret = kstrtou32(buf, 10, &kbps_limit); in btrfs_discard_kbps_limit_store()
558 WRITE_ONCE(discard_ctl->kbps_limit, kbps_limit); in btrfs_discard_kbps_limit_store()
562 BTRFS_ATTR_RW(discard, kbps_limit, btrfs_discard_kbps_limit_show,
607 BTRFS_ATTR_PTR(discard, kbps_limit),
Dfs.h329 u32 kbps_limit; member