Lines Matching refs:cgs
3180 struct lpfc_cgn_stat *cgs; in lpfc_cmf_stop() local
3196 cgs = per_cpu_ptr(phba->cmf_stat, cpu); in lpfc_cmf_stop()
3197 atomic64_set(&cgs->total_bytes, 0); in lpfc_cmf_stop()
3198 atomic64_set(&cgs->rcv_bytes, 0); in lpfc_cmf_stop()
3199 atomic_set(&cgs->rx_io_cnt, 0); in lpfc_cmf_stop()
3200 atomic64_set(&cgs->rx_latency, 0); in lpfc_cmf_stop()
3243 struct lpfc_cgn_stat *cgs; in lpfc_cmf_start() local
3261 cgs = per_cpu_ptr(phba->cmf_stat, cpu); in lpfc_cmf_start()
3262 atomic64_set(&cgs->total_bytes, 0); in lpfc_cmf_start()
3263 atomic64_set(&cgs->rcv_bytes, 0); in lpfc_cmf_start()
3264 atomic_set(&cgs->rx_io_cnt, 0); in lpfc_cmf_start()
3265 atomic64_set(&cgs->rx_latency, 0); in lpfc_cmf_start()
5973 struct lpfc_cgn_stat *cgs; in lpfc_cmf_timer() local
6020 cgs = per_cpu_ptr(phba->cmf_stat, cpu); in lpfc_cmf_timer()
6021 total += atomic64_xchg(&cgs->total_bytes, 0); in lpfc_cmf_timer()
6022 io_cnt += atomic_xchg(&cgs->rx_io_cnt, 0); in lpfc_cmf_timer()
6023 lat += atomic64_xchg(&cgs->rx_latency, 0); in lpfc_cmf_timer()
6024 rcv += atomic64_xchg(&cgs->rcv_bytes, 0); in lpfc_cmf_timer()