Searched refs:cprc (Results 1 – 2 of 2) sorted by relevance
1792 struct ckpt_req_control *cprc = &sbi->cprc_info; in __checkpoint_and_complete_reqs() local1798 dispatch_list = llist_del_all(&cprc->issue_list); in __checkpoint_and_complete_reqs()1804 atomic_inc(&cprc->issued_ckpt); in __checkpoint_and_complete_reqs()1814 atomic_sub(count, &cprc->queued_ckpt); in __checkpoint_and_complete_reqs()1815 atomic_add(count, &cprc->total_ckpt); in __checkpoint_and_complete_reqs()1817 spin_lock(&cprc->stat_lock); in __checkpoint_and_complete_reqs()1818 cprc->cur_time = (unsigned int)div64_u64(sum_diff, count); in __checkpoint_and_complete_reqs()1819 if (cprc->peak_time < cprc->cur_time) in __checkpoint_and_complete_reqs()1820 cprc->peak_time = cprc->cur_time; in __checkpoint_and_complete_reqs()1821 spin_unlock(&cprc->stat_lock); in __checkpoint_and_complete_reqs()[all …]
344 struct ckpt_req_control *cprc = &sbi->cprc_info; in f2fs_sbi_show() local345 int class = IOPRIO_PRIO_CLASS(cprc->ckpt_thread_ioprio); in f2fs_sbi_show()346 int level = IOPRIO_PRIO_LEVEL(cprc->ckpt_thread_ioprio); in f2fs_sbi_show()454 struct ckpt_req_control *cprc = &sbi->cprc_info; in __sbi_store() local473 cprc->ckpt_thread_ioprio = IOPRIO_PRIO_VALUE(class, level); in __sbi_store()475 ret = set_task_ioprio(cprc->f2fs_issue_ckpt, in __sbi_store()476 cprc->ckpt_thread_ioprio); in __sbi_store()