Lines Matching refs:stats
244 mutex_lock(&rhp->rdev.stats.lock); in c4iw_deallocate_pd()
245 rhp->rdev.stats.pd.cur--; in c4iw_deallocate_pd()
246 mutex_unlock(&rhp->rdev.stats.lock); in c4iw_deallocate_pd()
277 mutex_lock(&rhp->rdev.stats.lock); in c4iw_allocate_pd()
278 rhp->rdev.stats.pd.cur++; in c4iw_allocate_pd()
279 if (rhp->rdev.stats.pd.cur > rhp->rdev.stats.pd.max) in c4iw_allocate_pd()
280 rhp->rdev.stats.pd.max = rhp->rdev.stats.pd.cur; in c4iw_allocate_pd()
281 mutex_unlock(&rhp->rdev.stats.lock); in c4iw_allocate_pd()
449 union rdma_protocol_stats *stats) in c4iw_get_mib() argument
455 memset(stats, 0, sizeof *stats); in c4iw_get_mib()
456 stats->iw.tcpInSegs = v4.tcp_in_segs + v6.tcp_in_segs; in c4iw_get_mib()
457 stats->iw.tcpOutSegs = v4.tcp_out_segs + v6.tcp_out_segs; in c4iw_get_mib()
458 stats->iw.tcpRetransSegs = v4.tcp_retrans_segs + v6.tcp_retrans_segs; in c4iw_get_mib()
459 stats->iw.tcpOutRsts = v4.tcp_out_rsts + v6.tcp_out_rsts; in c4iw_get_mib()