Lines Matching refs:cgs
3191 struct lpfc_cgn_stat *cgs; in lpfc_cmf_stop() local
3207 cgs = per_cpu_ptr(phba->cmf_stat, cpu); in lpfc_cmf_stop()
3208 atomic64_set(&cgs->total_bytes, 0); in lpfc_cmf_stop()
3209 atomic64_set(&cgs->rcv_bytes, 0); in lpfc_cmf_stop()
3210 atomic_set(&cgs->rx_io_cnt, 0); in lpfc_cmf_stop()
3211 atomic64_set(&cgs->rx_latency, 0); in lpfc_cmf_stop()
3254 struct lpfc_cgn_stat *cgs; in lpfc_cmf_start() local
3272 cgs = per_cpu_ptr(phba->cmf_stat, cpu); in lpfc_cmf_start()
3273 atomic64_set(&cgs->total_bytes, 0); in lpfc_cmf_start()
3274 atomic64_set(&cgs->rcv_bytes, 0); in lpfc_cmf_start()
3275 atomic_set(&cgs->rx_io_cnt, 0); in lpfc_cmf_start()
3276 atomic64_set(&cgs->rx_latency, 0); in lpfc_cmf_start()
5960 struct lpfc_cgn_stat *cgs; in lpfc_cmf_timer() local
6007 cgs = per_cpu_ptr(phba->cmf_stat, cpu); in lpfc_cmf_timer()
6008 total += atomic64_xchg(&cgs->total_bytes, 0); in lpfc_cmf_timer()
6009 io_cnt += atomic_xchg(&cgs->rx_io_cnt, 0); in lpfc_cmf_timer()
6010 lat += atomic64_xchg(&cgs->rx_latency, 0); in lpfc_cmf_timer()
6011 rcv += atomic64_xchg(&cgs->rcv_bytes, 0); in lpfc_cmf_timer()