Searched refs:cprc (Results 1 – 2 of 2) sorted by relevance
1773 struct ckpt_req_control *cprc = &sbi->cprc_info; in __checkpoint_and_complete_reqs() local1779 dispatch_list = llist_del_all(&cprc->issue_list); in __checkpoint_and_complete_reqs()1785 atomic_inc(&cprc->issued_ckpt); in __checkpoint_and_complete_reqs()1795 atomic_sub(count, &cprc->queued_ckpt); in __checkpoint_and_complete_reqs()1796 atomic_add(count, &cprc->total_ckpt); in __checkpoint_and_complete_reqs()1798 spin_lock(&cprc->stat_lock); in __checkpoint_and_complete_reqs()1799 cprc->cur_time = (unsigned int)div64_u64(sum_diff, count); in __checkpoint_and_complete_reqs()1800 if (cprc->peak_time < cprc->cur_time) in __checkpoint_and_complete_reqs()1801 cprc->peak_time = cprc->cur_time; in __checkpoint_and_complete_reqs()1802 spin_unlock(&cprc->stat_lock); in __checkpoint_and_complete_reqs()[all …]
314 struct ckpt_req_control *cprc = &sbi->cprc_info; in f2fs_sbi_show() local315 int class = IOPRIO_PRIO_CLASS(cprc->ckpt_thread_ioprio); in f2fs_sbi_show()316 int data = IOPRIO_PRIO_DATA(cprc->ckpt_thread_ioprio); in f2fs_sbi_show()424 struct ckpt_req_control *cprc = &sbi->cprc_info; in __sbi_store() local443 cprc->ckpt_thread_ioprio = IOPRIO_PRIO_VALUE(class, data); in __sbi_store()445 ret = set_task_ioprio(cprc->f2fs_issue_ckpt, in __sbi_store()446 cprc->ckpt_thread_ioprio); in __sbi_store()