Searched refs:cprc (Results 1 – 2 of 2) sorted by relevance
1775 struct ckpt_req_control *cprc = &sbi->cprc_info; in __checkpoint_and_complete_reqs() local1781 dispatch_list = llist_del_all(&cprc->issue_list); in __checkpoint_and_complete_reqs()1787 atomic_inc(&cprc->issued_ckpt); in __checkpoint_and_complete_reqs()1797 atomic_sub(count, &cprc->queued_ckpt); in __checkpoint_and_complete_reqs()1798 atomic_add(count, &cprc->total_ckpt); in __checkpoint_and_complete_reqs()1800 spin_lock(&cprc->stat_lock); in __checkpoint_and_complete_reqs()1801 cprc->cur_time = (unsigned int)div64_u64(sum_diff, count); in __checkpoint_and_complete_reqs()1802 if (cprc->peak_time < cprc->cur_time) in __checkpoint_and_complete_reqs()1803 cprc->peak_time = cprc->cur_time; in __checkpoint_and_complete_reqs()1804 spin_unlock(&cprc->stat_lock); in __checkpoint_and_complete_reqs()[all …]
308 struct ckpt_req_control *cprc = &sbi->cprc_info; in f2fs_sbi_show() local310 int class = IOPRIO_PRIO_CLASS(cprc->ckpt_thread_ioprio); in f2fs_sbi_show()311 int data = IOPRIO_PRIO_DATA(cprc->ckpt_thread_ioprio); in f2fs_sbi_show()418 struct ckpt_req_control *cprc = &sbi->cprc_info; in __sbi_store() local437 cprc->ckpt_thread_ioprio = IOPRIO_PRIO_VALUE(class, data); in __sbi_store()439 ret = set_task_ioprio(cprc->f2fs_issue_ckpt, in __sbi_store()440 cprc->ckpt_thread_ioprio); in __sbi_store()