Lines Matching refs:stats
464 dev->rdev.stats.pd.total, dev->rdev.stats.pd.cur, in stats_show()
465 dev->rdev.stats.pd.max, dev->rdev.stats.pd.fail); in stats_show()
467 dev->rdev.stats.qid.total, dev->rdev.stats.qid.cur, in stats_show()
468 dev->rdev.stats.qid.max, dev->rdev.stats.qid.fail); in stats_show()
470 dev->rdev.stats.stag.total, dev->rdev.stats.stag.cur, in stats_show()
471 dev->rdev.stats.stag.max, dev->rdev.stats.stag.fail); in stats_show()
473 dev->rdev.stats.pbl.total, dev->rdev.stats.pbl.cur, in stats_show()
474 dev->rdev.stats.pbl.max, dev->rdev.stats.pbl.fail); in stats_show()
476 dev->rdev.stats.rqt.total, dev->rdev.stats.rqt.cur, in stats_show()
477 dev->rdev.stats.rqt.max, dev->rdev.stats.rqt.fail); in stats_show()
479 dev->rdev.stats.ocqp.total, dev->rdev.stats.ocqp.cur, in stats_show()
480 dev->rdev.stats.ocqp.max, dev->rdev.stats.ocqp.fail); in stats_show()
481 seq_printf(seq, " DB FULL: %10llu\n", dev->rdev.stats.db_full); in stats_show()
482 seq_printf(seq, " DB EMPTY: %10llu\n", dev->rdev.stats.db_empty); in stats_show()
483 seq_printf(seq, " DB DROP: %10llu\n", dev->rdev.stats.db_drop); in stats_show()
486 dev->rdev.stats.db_state_transitions, in stats_show()
487 dev->rdev.stats.db_fc_interruptions); in stats_show()
488 seq_printf(seq, "TCAM_FULL: %10llu\n", dev->rdev.stats.tcam_full); in stats_show()
490 dev->rdev.stats.act_ofld_conn_fails); in stats_show()
492 dev->rdev.stats.pas_ofld_conn_fails); in stats_show()
493 seq_printf(seq, "NEG_ADV_RCVD: %10llu\n", dev->rdev.stats.neg_adv); in stats_show()
508 mutex_lock(&dev->rdev.stats.lock); in stats_clear()
509 dev->rdev.stats.pd.max = 0; in stats_clear()
510 dev->rdev.stats.pd.fail = 0; in stats_clear()
511 dev->rdev.stats.qid.max = 0; in stats_clear()
512 dev->rdev.stats.qid.fail = 0; in stats_clear()
513 dev->rdev.stats.stag.max = 0; in stats_clear()
514 dev->rdev.stats.stag.fail = 0; in stats_clear()
515 dev->rdev.stats.pbl.max = 0; in stats_clear()
516 dev->rdev.stats.pbl.fail = 0; in stats_clear()
517 dev->rdev.stats.rqt.max = 0; in stats_clear()
518 dev->rdev.stats.rqt.fail = 0; in stats_clear()
519 dev->rdev.stats.ocqp.max = 0; in stats_clear()
520 dev->rdev.stats.ocqp.fail = 0; in stats_clear()
521 dev->rdev.stats.db_full = 0; in stats_clear()
522 dev->rdev.stats.db_empty = 0; in stats_clear()
523 dev->rdev.stats.db_drop = 0; in stats_clear()
524 dev->rdev.stats.db_state_transitions = 0; in stats_clear()
525 dev->rdev.stats.tcam_full = 0; in stats_clear()
526 dev->rdev.stats.act_ofld_conn_fails = 0; in stats_clear()
527 dev->rdev.stats.pas_ofld_conn_fails = 0; in stats_clear()
528 mutex_unlock(&dev->rdev.stats.lock); in stats_clear()
570 ep->stats.connect_neg_adv, in dump_ep()
571 ep->stats.abort_neg_adv, in dump_ep()
594 ep->stats.connect_neg_adv, in dump_ep()
595 ep->stats.abort_neg_adv, in dump_ep()
745 mutex_lock(&rdev->stats.lock); in c4iw_release_dev_ucontext()
746 rdev->stats.qid.cur -= rdev->qpmask + 1; in c4iw_release_dev_ucontext()
747 mutex_unlock(&rdev->stats.lock); in c4iw_release_dev_ucontext()
832 rdev->stats.pd.total = T4_MAX_NUM_PD; in c4iw_rdev_open()
833 rdev->stats.stag.total = rdev->lldi.vr->stag.size; in c4iw_rdev_open()
834 rdev->stats.pbl.total = rdev->lldi.vr->pbl.size; in c4iw_rdev_open()
835 rdev->stats.rqt.total = rdev->lldi.vr->rq.size; in c4iw_rdev_open()
836 rdev->stats.ocqp.total = rdev->lldi.vr->ocq.size; in c4iw_rdev_open()
837 rdev->stats.qid.total = rdev->lldi.vr->qp.size; in c4iw_rdev_open()
1019 mutex_init(&devp->rdev.stats.lock); in c4iw_alloc()
1258 ctx->dev->rdev.stats.db_state_transitions++; in stop_queues()
1312 ctx->dev->rdev.stats.db_state_transitions++; in resume_queues()
1340 ctx->dev->rdev.stats.db_fc_interruptions++; in resume_queues()
1483 ctx->dev->rdev.stats.db_full++; in c4iw_uld_control()
1487 mutex_lock(&ctx->dev->rdev.stats.lock); in c4iw_uld_control()
1488 ctx->dev->rdev.stats.db_empty++; in c4iw_uld_control()
1489 mutex_unlock(&ctx->dev->rdev.stats.lock); in c4iw_uld_control()
1493 mutex_lock(&ctx->dev->rdev.stats.lock); in c4iw_uld_control()
1494 ctx->dev->rdev.stats.db_drop++; in c4iw_uld_control()
1495 mutex_unlock(&ctx->dev->rdev.stats.lock); in c4iw_uld_control()