Lines Matching refs:stats
240 mutex_lock(&rhp->rdev.stats.lock); in c4iw_deallocate_pd()
241 rhp->rdev.stats.pd.cur--; in c4iw_deallocate_pd()
242 mutex_unlock(&rhp->rdev.stats.lock); in c4iw_deallocate_pd()
273 mutex_lock(&rhp->rdev.stats.lock); in c4iw_allocate_pd()
274 rhp->rdev.stats.pd.cur++; in c4iw_allocate_pd()
275 if (rhp->rdev.stats.pd.cur > rhp->rdev.stats.pd.max) in c4iw_allocate_pd()
276 rhp->rdev.stats.pd.max = rhp->rdev.stats.pd.cur; in c4iw_allocate_pd()
277 mutex_unlock(&rhp->rdev.stats.lock); in c4iw_allocate_pd()
441 union rdma_protocol_stats *stats) in c4iw_get_mib() argument
447 memset(stats, 0, sizeof *stats); in c4iw_get_mib()
448 stats->iw.tcpInSegs = v4.tcpInSegs + v6.tcpInSegs; in c4iw_get_mib()
449 stats->iw.tcpOutSegs = v4.tcpOutSegs + v6.tcpOutSegs; in c4iw_get_mib()
450 stats->iw.tcpRetransSegs = v4.tcpRetransSegs + v6.tcpRetransSegs; in c4iw_get_mib()
451 stats->iw.tcpOutRsts = v4.tcpOutRsts + v6.tcpOutSegs; in c4iw_get_mib()