Searched refs:tot (Results 1 - 25 of 36) sorted by last modified time

12

/linux-master/drivers/net/ethernet/intel/igc/
H A Digc_main.c4990 adapter->stats.tot += rd32(IGC_TOTH);
H A Digc_ethtool.c273 regs_buff[71] = adapter->stats.tot;
/linux-master/drivers/net/
H A Dvirtio_net.c2625 struct rtnl_link_stats64 *tot)
2650 tot->rx_packets += rpackets;
2651 tot->tx_packets += tpackets;
2652 tot->rx_bytes += rbytes;
2653 tot->tx_bytes += tbytes;
2654 tot->rx_dropped += rdrops;
2655 tot->tx_errors += terrors;
2658 tot->tx_dropped = DEV_STATS_READ(dev, tx_dropped);
2659 tot->tx_fifo_errors = DEV_STATS_READ(dev, tx_fifo_errors);
2660 tot
2624 virtnet_stats(struct net_device *dev, struct rtnl_link_stats64 *tot) argument
[all...]
H A Dxen-netfront.c1384 struct rtnl_link_stats64 *tot)
1407 tot->rx_packets += rx_packets;
1408 tot->tx_packets += tx_packets;
1409 tot->rx_bytes += rx_bytes;
1410 tot->tx_bytes += tx_bytes;
1413 tot->rx_errors = dev->stats.rx_errors;
1414 tot->tx_dropped = dev->stats.tx_dropped;
1383 xennet_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *tot) argument
H A Dveth.c422 struct rtnl_link_stats64 *tot)
428 tot->tx_dropped = atomic64_read(&priv->dropped);
429 dev_fetch_sw_netstats(tot, dev->tstats);
432 tot->tx_dropped += rx.xdp_tx_err;
433 tot->rx_dropped = rx.rx_drops + rx.peer_tq_xdp_xmit_err;
434 tot->rx_bytes += rx.xdp_bytes;
435 tot->rx_packets += rx.xdp_packets;
443 tot->rx_bytes += tot_peer.tx_bytes;
444 tot->rx_packets += tot_peer.tx_packets;
447 tot
421 veth_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *tot) argument
[all...]
/linux-master/drivers/net/ethernet/intel/e1000e/
H A Dhw.h422 u64 tot; member in struct:e1000_hw_stats
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_debugfs.c423 "tot:%d get:%d put:%d mt:%d "
1036 uint64_t tot, totin, totout; local
1149 tot = atomic_read(&tgtp->rcv_fcp_cmd_drop);
1150 tot += atomic_read(&tgtp->xmt_fcp_release);
1151 tot = atomic_read(&tgtp->rcv_fcp_cmd_in) - tot;
1154 "IO_CTX: %08x WAIT: cur %08x tot %08x\n"
1159 tot);
1183 tot = cstat->io_cmpls;
1184 totin += tot;
1255 u64 tot, totin, totout; local
[all...]
H A Dlpfc_attr.c346 uint64_t totin, totout, tot; local
496 tot = atomic_read(&tgtp->rcv_fcp_cmd_drop);
497 tot += atomic_read(&tgtp->xmt_fcp_release);
498 tot = atomic_read(&tgtp->rcv_fcp_cmd_in) - tot;
501 "IO_CTX: %08x WAIT: cur %08x tot %08x\n"
506 tot);
649 tot = cstat->io_cmpls;
650 totin += tot;
713 u64 tot, toti local
[all...]
/linux-master/net/ipv4/
H A Dnexthop.c1005 size_t tot = nla_total_size(sz) + local
1009 tot += nh_nlmsg_size_grp_res(nhg);
1011 return tot;
/linux-master/tools/perf/
H A Dbuiltin-c2c.c814 int tot = 0, st = 0; local
824 tot = total->rmt_hitm;
828 tot = total->lcl_hitm;
832 tot = total->tot_hitm;
836 tot = total->tot_peer;
842 p = tot ? (double) st / tot : 0;
908 static double percent(u32 st, u32 tot) argument
910 return tot ? 100. * (double) st / (double) tot
[all...]
/linux-master/fs/xfs/libxfs/
H A Dxfs_dir2.h56 xfs_extlen_t tot);
62 xfs_extlen_t tot);
65 xfs_extlen_t tot);
/linux-master/kernel/events/
H A Dcore.c9393 size_t tot, pad; local
9398 tot = sizeof(text_poke_event.old_len) + old_len;
9399 tot += sizeof(text_poke_event.new_len) + new_len;
9400 pad = ALIGN(tot, sizeof(u64)) - tot;
9412 .size = sizeof(text_poke_event.event_id) + tot + pad,
/linux-master/fs/nfsd/
H A Dnfssvc.c717 int tot = 0; local
730 tot = 0;
733 tot += nthreads[i];
735 if (tot > NFSD_MAXSERVS) {
737 for (i = 0; i < n && tot > 0; i++) {
738 int new = nthreads[i] * NFSD_MAXSERVS / tot;
739 tot -= (nthreads[i] - new);
742 for (i = 0; i < n && tot > 0; i++) {
744 tot--;
/linux-master/fs/
H A Dbuffer.c2989 int tot = 0; local
2995 tot += per_cpu(bh_accounting, i).nr;
2996 buffer_heads_over_limit = (tot > max_buffer_heads);
/linux-master/drivers/net/ethernet/intel/igb/
H A Digb_main.c6789 adapter->stats.tot += rd32(E1000_TOTH);
H A Digb_ethtool.c594 regs_buff[98] = adapter->stats.tot;
/linux-master/tools/testing/selftests/net/openvswitch/
H A Dovs-dpctl.py68 tot = 0
71 return tot
72 tot += 1
73 return tot
77 tot = 0
80 return tot
81 tot += 1
82 return tot
/linux-master/fs/ntfs3/
H A Dindex.c617 u32 tot = le32_to_cpu(hdr->total); local
620 if (!IS_ALIGNED(off, 8) || tot > bytes || end > tot ||
/linux-master/drivers/net/hyperv/
H A Dnetvsc_drv.c1257 struct netvsc_vf_pcpu_stats *tot)
1262 memset(tot, 0, sizeof(*tot));
1278 tot->rx_packets += rx_packets;
1279 tot->tx_packets += tx_packets;
1280 tot->rx_bytes += rx_bytes;
1281 tot->tx_bytes += tx_bytes;
1282 tot->tx_dropped += stats->tx_dropped;
1256 netvsc_get_vf_stats(struct net_device *net, struct netvsc_vf_pcpu_stats *tot) argument
/linux-master/tools/perf/scripts/python/
H A Dexported-sql-viewer.py2949 tot = bsym_start + boff + 1 - sym_start - off
2950 if tot <= 0 or tot > 16384:
2960 buf_sz = tot + 16
2961 buf = create_string_buffer(tot + 16)
2966 while tot > 0:
2981 tot -= cnt
/linux-master/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_ethtool.c756 u64 *totals, *tot; local
766 *data = (cnt); *tot++ += *data++; \
773 tot = totals;
799 tot = totals;
814 tot = totals;
/linux-master/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_main.c1654 unsigned long tot = 0; local
1657 tot += adapter->sge.qs[i].port_stats[idx];
1658 return tot;
/linux-master/drivers/mmc/core/
H A Dmmc_test.c587 uint64_t tot = bytes * count; local
592 rate = mmc_test_rate(tot, &ts);
/linux-master/tools/testing/selftests/net/mptcp/
H A Dmptcp_inq.c343 ssize_t ret, tot; local
407 tot = 0;
414 tot += ret;
418 if (tcp_inq > expect_len - tot)
420 tcp_inq, expect_len - tot, (int)expect_len);
422 assert(tcp_inq <= expect_len - tot);
423 } while ((size_t)tot < expect_len);
/linux-master/drivers/gpu/drm/bridge/
H A Dtc358768.c815 u32 tot = dsi_hfp + dsi_hsw + dsi_hss; local
817 dsi_hsw = tot / 3;

Completed in 779 milliseconds

12