Lines Matching refs:cgs
3036 struct lpfc_cgn_stat *cgs; in lpfc_cmf_stop() local
3051 cgs = per_cpu_ptr(phba->cmf_stat, cpu); in lpfc_cmf_stop()
3052 atomic64_set(&cgs->total_bytes, 0); in lpfc_cmf_stop()
3053 atomic64_set(&cgs->rcv_bytes, 0); in lpfc_cmf_stop()
3054 atomic_set(&cgs->rx_io_cnt, 0); in lpfc_cmf_stop()
3055 atomic64_set(&cgs->rx_latency, 0); in lpfc_cmf_stop()
3098 struct lpfc_cgn_stat *cgs; in lpfc_cmf_start() local
3116 cgs = per_cpu_ptr(phba->cmf_stat, cpu); in lpfc_cmf_start()
3117 atomic64_set(&cgs->total_bytes, 0); in lpfc_cmf_start()
3118 atomic64_set(&cgs->rcv_bytes, 0); in lpfc_cmf_start()
3119 atomic_set(&cgs->rx_io_cnt, 0); in lpfc_cmf_start()
3120 atomic64_set(&cgs->rx_latency, 0); in lpfc_cmf_start()
5868 struct lpfc_cgn_stat *cgs; in lpfc_cmf_timer() local
5915 cgs = per_cpu_ptr(phba->cmf_stat, cpu); in lpfc_cmf_timer()
5916 total += atomic64_xchg(&cgs->total_bytes, 0); in lpfc_cmf_timer()
5917 io_cnt += atomic_xchg(&cgs->rx_io_cnt, 0); in lpfc_cmf_timer()
5918 lat += atomic64_xchg(&cgs->rx_latency, 0); in lpfc_cmf_timer()
5919 rcv += atomic64_xchg(&cgs->rcv_bytes, 0); in lpfc_cmf_timer()