Searched refs:cprc (Results 1 – 2 of 2) sorted by relevance
1786 struct ckpt_req_control *cprc = &sbi->cprc_info; in __checkpoint_and_complete_reqs() local1792 dispatch_list = llist_del_all(&cprc->issue_list); in __checkpoint_and_complete_reqs()1798 atomic_inc(&cprc->issued_ckpt); in __checkpoint_and_complete_reqs()1808 atomic_sub(count, &cprc->queued_ckpt); in __checkpoint_and_complete_reqs()1809 atomic_add(count, &cprc->total_ckpt); in __checkpoint_and_complete_reqs()1811 spin_lock(&cprc->stat_lock); in __checkpoint_and_complete_reqs()1812 cprc->cur_time = (unsigned int)div64_u64(sum_diff, count); in __checkpoint_and_complete_reqs()1813 if (cprc->peak_time < cprc->cur_time) in __checkpoint_and_complete_reqs()1814 cprc->peak_time = cprc->cur_time; in __checkpoint_and_complete_reqs()1815 spin_unlock(&cprc->stat_lock); in __checkpoint_and_complete_reqs()[all …]
303 struct ckpt_req_control *cprc = &sbi->cprc_info; in f2fs_sbi_show() local305 int class = IOPRIO_PRIO_CLASS(cprc->ckpt_thread_ioprio); in f2fs_sbi_show()306 int data = IOPRIO_PRIO_DATA(cprc->ckpt_thread_ioprio); in f2fs_sbi_show()398 struct ckpt_req_control *cprc = &sbi->cprc_info; in __sbi_store() local417 cprc->ckpt_thread_ioprio = IOPRIO_PRIO_VALUE(class, data); in __sbi_store()419 ret = set_task_ioprio(cprc->f2fs_issue_ckpt, in __sbi_store()420 cprc->ckpt_thread_ioprio); in __sbi_store()