Lines Matching refs:ccs
2806 struct ioc_pcpu_stat *ccs; in ioc_rqos_done() local
2830 ccs = get_cpu_ptr(ioc->pcpu_stat); in ioc_rqos_done()
2834 local_inc(&ccs->missed[rw].nr_met); in ioc_rqos_done()
2836 local_inc(&ccs->missed[rw].nr_missed); in ioc_rqos_done()
2838 local64_add(rq_wait_ns, &ccs->rq_wait_ns); in ioc_rqos_done()
2840 put_cpu_ptr(ccs); in ioc_rqos_done()
2892 struct ioc_pcpu_stat *ccs = per_cpu_ptr(ioc->pcpu_stat, cpu); in blk_iocost_init() local
2894 for (i = 0; i < ARRAY_SIZE(ccs->missed); i++) { in blk_iocost_init()
2895 local_set(&ccs->missed[i].nr_met, 0); in blk_iocost_init()
2896 local_set(&ccs->missed[i].nr_missed, 0); in blk_iocost_init()
2898 local64_set(&ccs->rq_wait_ns, 0); in blk_iocost_init()