Searched refs:kbps_limit (Results 1 – 3 of 3) sorted by relevance
388 u32 kbps_limit = READ_ONCE(discard_ctl->kbps_limit); in __btrfs_discard_schedule_work() local395 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()
557 READ_ONCE(fs_info->discard_ctl.kbps_limit)); in btrfs_discard_kbps_limit_show()566 u32 kbps_limit; in btrfs_discard_kbps_limit_store() local569 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),
377 u32 kbps_limit; member