Home
last modified time | relevance | path

Searched refs:counter_val (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/fs/xfs/
Dxfs_stats.c11 static int counter_val(struct xfsstats __percpu *stats, int idx) in counter_val() function
66 counter_val(stats, j)); in xfs_stats_format()
111 0, counter_val(xfsstats.xs_stats, XFSSTAT_END_XQMSTAT), in xqm_proc_show()
112 0, counter_val(xfsstats.xs_stats, XFSSTAT_END_XQMSTAT + 1)); in xqm_proc_show()
123 seq_printf(m, " %u", counter_val(xfsstats.xs_stats, j)); in xqmstat_proc_show()
/Linux-v4.19/drivers/scsi/csiostor/
Dcsio_wr.c1294 for (i = 0; i < ARRAY_SIZE(s->counter_val); i++) { in csio_closest_thresh()
1295 delta = cnt - s->counter_val[i]; in csio_closest_thresh()
1509 sge->counter_val[0] = THRESHOLD_0_G(ingress_rx_threshold); in csio_wr_get_sge()
1510 sge->counter_val[1] = THRESHOLD_1_G(ingress_rx_threshold); in csio_wr_get_sge()
1511 sge->counter_val[2] = THRESHOLD_2_G(ingress_rx_threshold); in csio_wr_get_sge()
1512 sge->counter_val[3] = THRESHOLD_3_G(ingress_rx_threshold); in csio_wr_get_sge()
1579 sge->counter_val[0] = CSIO_SGE_INT_CNT_VAL_0; in csio_wr_set_sge()
1580 sge->counter_val[1] = CSIO_SGE_INT_CNT_VAL_1; in csio_wr_set_sge()
1581 sge->counter_val[2] = CSIO_SGE_INT_CNT_VAL_2; in csio_wr_set_sge()
1582 sge->counter_val[3] = CSIO_SGE_INT_CNT_VAL_3; in csio_wr_set_sge()
[all …]
Dcsio_wr.h434 uint8_t counter_val[CSIO_SGE_NCOUNTERS]; member
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c986 for (i = 0; i < ARRAY_SIZE(s->counter_val); i++) { in closest_thres()
987 delta = thres - s->counter_val[i]; in closest_thres()
1617 ? adapter->sge.counter_val[rspq->pktcnt_idx] in cxgb4vf_get_coalesce()
2051 adapter->sge.counter_val[rxq[qs].rspq.pktcnt_idx]); in sge_qinfo_show()
2071 adapter->sge.counter_val[evtq->pktcnt_idx]); in sge_qinfo_show()
2082 adapter->sge.counter_val[intrq->pktcnt_idx]); in sge_qinfo_show()
2639 s->counter_val[0] = THRESHOLD_0_G(sge_params->sge_ingress_rx_threshold); in adap_init0()
2640 s->counter_val[1] = THRESHOLD_1_G(sge_params->sge_ingress_rx_threshold); in adap_init0()
2641 s->counter_val[2] = THRESHOLD_2_G(sge_params->sge_ingress_rx_threshold); in adap_init0()
2642 s->counter_val[3] = THRESHOLD_3_G(sge_params->sge_ingress_rx_threshold); in adap_init0()
Dadapter.h310 u8 counter_val[SGE_NCOUNTERS]; /* interrupt RX threshold array */ member
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_debugfs.c2774 S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); in sge_qinfo_show()
2837 S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); in sge_qinfo_show()
2867 S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); in sge_qinfo_show()
2887 S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); in sge_qinfo_show()
2913 S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); in sge_qinfo_show()
2939 S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); in sge_qinfo_show()
2973 S3("u", "Intr pktcnt:", s->counter_val[rx[i].rspq.pktcnt_idx]); in sge_qinfo_show()
3015 s->counter_val[evtq->pktcnt_idx]); in sge_qinfo_show()
Dsge.c4057 s->counter_val[0] = THRESHOLD_0_G(ingress_rx_threshold); in t4_sge_init_soft()
4058 s->counter_val[1] = THRESHOLD_1_G(ingress_rx_threshold); in t4_sge_init_soft()
4059 s->counter_val[2] = THRESHOLD_2_G(ingress_rx_threshold); in t4_sge_init_soft()
4060 s->counter_val[3] = THRESHOLD_3_G(ingress_rx_threshold); in t4_sge_init_soft()
Dcxgb4_ethtool.c944 adap->sge.counter_val[rq->pktcnt_idx] : 0; in get_coalesce()
Dcxgb4.h801 u8 counter_val[SGE_NCOUNTERS]; member
Dcxgb4_main.c998 for (i = 0; i < ARRAY_SIZE(s->counter_val); i++) { in closest_thres()
999 delta = thres - s->counter_val[i]; in closest_thres()