Home
last modified time | relevance | path

Searched refs:tot (Results 1 – 25 of 31) sorted by relevance

12

/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_inq.c353 ssize_t ret, tot; in process_one_client() local
417 tot = 0; in process_one_client()
424 tot += ret; in process_one_client()
428 if (tcp_inq > expect_len - tot) in process_one_client()
430 tcp_inq, expect_len - tot, (int)expect_len); in process_one_client()
432 assert(tcp_inq <= expect_len - tot); in process_one_client()
433 } while ((size_t)tot < expect_len); in process_one_client()
/linux/drivers/net/ethernet/marvell/octeontx2/af/cn20k/
H A Dnpc.c2863 int tot = 0, rc; in npc_subbank_ref_alloc() local
2879 start, stop, tot, count, rc); in npc_subbank_ref_alloc()
2932 count - tot, mcam_idx + tot, in npc_subbank_ref_alloc()
2933 count - tot, max_alloc, in npc_subbank_ref_alloc()
2936 tot += alloc_cnt; in npc_subbank_ref_alloc()
2939 __func__, tot, alloc_cnt); in npc_subbank_ref_alloc()
2941 if (!rc && count == tot) in npc_subbank_ref_alloc()
2950 rc = npc_idx_free(rvu, mcam_idx, tot, false); in npc_subbank_ref_alloc()
2954 __func__, tot); in npc_subbank_ref_alloc()
2993 int tot = 0, rc; in npc_subbank_noref_alloc() local
[all …]
/linux/fs/nfsd/
H A Dnfssvc.c689 int tot = 0; in nfsd_set_nrthreads() local
706 tot = 0; in nfsd_set_nrthreads()
709 tot += nthreads[i]; in nfsd_set_nrthreads()
711 if (tot > NFSD_MAXSERVS) { in nfsd_set_nrthreads()
713 for (i = 0; i < n && tot > 0; i++) { in nfsd_set_nrthreads()
714 int new = nthreads[i] * NFSD_MAXSERVS / tot; in nfsd_set_nrthreads()
715 tot -= (nthreads[i] - new); in nfsd_set_nrthreads()
718 for (i = 0; i < n && tot > 0; i++) { in nfsd_set_nrthreads()
720 tot--; in nfsd_set_nrthreads()
/linux/fs/xfs/libxfs/
H A Dxfs_dir2.h65 xfs_extlen_t tot);
71 xfs_extlen_t tot);
74 xfs_extlen_t tot);
/linux/drivers/net/
H A Dveth.c453 struct rtnl_link_stats64 *tot) in veth_get_stats64() argument
459 tot->tx_dropped = atomic64_read(&priv->dropped); in veth_get_stats64()
460 dev_fetch_sw_netstats(tot, dev->tstats); in veth_get_stats64()
463 tot->tx_dropped += rx.xdp_tx_err; in veth_get_stats64()
464 tot->rx_dropped = rx.rx_drops + rx.peer_tq_xdp_xmit_err; in veth_get_stats64()
465 tot->rx_bytes += rx.xdp_bytes; in veth_get_stats64()
466 tot->rx_packets += rx.xdp_packets; in veth_get_stats64()
474 tot->rx_bytes += tot_peer.tx_bytes; in veth_get_stats64()
475 tot->rx_packets += tot_peer.tx_packets; in veth_get_stats64()
478 tot->tx_dropped += rx.peer_tq_xdp_xmit_err; in veth_get_stats64()
[all …]
H A Dxen-netfront.c1390 struct rtnl_link_stats64 *tot) in xennet_get_stats64() argument
1413 tot->rx_packets += rx_packets; in xennet_get_stats64()
1414 tot->tx_packets += tx_packets; in xennet_get_stats64()
1415 tot->rx_bytes += rx_bytes; in xennet_get_stats64()
1416 tot->tx_bytes += tx_bytes; in xennet_get_stats64()
1419 tot->rx_errors = dev->stats.rx_errors; in xennet_get_stats64()
1420 tot->tx_dropped = dev->stats.tx_dropped; in xennet_get_stats64()
H A Dvirtio_net.c3665 struct rtnl_link_stats64 *tot) in virtnet_stats() argument
3690 tot->rx_packets += rpackets; in virtnet_stats()
3691 tot->tx_packets += tpackets; in virtnet_stats()
3692 tot->rx_bytes += rbytes; in virtnet_stats()
3693 tot->tx_bytes += tbytes; in virtnet_stats()
3694 tot->rx_dropped += rdrops; in virtnet_stats()
3695 tot->tx_errors += terrors; in virtnet_stats()
3698 tot->tx_dropped = DEV_STATS_READ(dev, tx_dropped); in virtnet_stats()
3699 tot->tx_fifo_errors = DEV_STATS_READ(dev, tx_fifo_errors); in virtnet_stats()
3700 tot->rx_length_errors = DEV_STATS_READ(dev, rx_length_errors); in virtnet_stats()
[all …]
/linux/Documentation/trace/
H A Dtracepoints.rst127 int tot = 0;
130 tot += calculate_nuggets();
132 trace_foo_bar_tp(tot);
/linux/tools/perf/
H A Dbuiltin-c2c.c794 int tot = 0, st = 0; in tot_loads_cmp()
804 tot = total->rmt_hitm; in tot_loads_cmp()
808 tot = total->lcl_hitm; in tot_loads_cmp()
812 tot = total->tot_hitm;
816 tot = total->tot_peer; in percent_color()
822 p = tot ? (double) st / tot : 0; in percent_color()
888 static double percent(u32 st, u32 tot)
890 return tot ? 100. * (double) st / (double) tot in percent_costly_snoop_color()
835 int tot = 0, st = 0; percent_costly_snoop() local
929 percent(u32 st,u32 tot) percent() argument
[all...]
H A Dbuiltin-kvm.c238 static double percent(u64 st, u64 tot) in percent()
240 return tot ? 100. * (double) st / (double) tot : 0;
236 percent(u64 st,u64 tot) percent() argument
/linux/drivers/net/hyperv/
H A Dnetvsc_drv.c1225 struct netvsc_vf_pcpu_stats *tot) in netvsc_get_vf_stats() argument
1230 memset(tot, 0, sizeof(*tot)); in netvsc_get_vf_stats()
1246 tot->rx_packets += rx_packets; in netvsc_get_vf_stats()
1247 tot->tx_packets += tx_packets; in netvsc_get_vf_stats()
1248 tot->rx_bytes += rx_bytes; in netvsc_get_vf_stats()
1249 tot->tx_bytes += tx_bytes; in netvsc_get_vf_stats()
1250 tot->tx_dropped += stats->tx_dropped; in netvsc_get_vf_stats()
/linux/tools/testing/selftests/net/openvswitch/
H A Dovs-dpctl.py73 tot = 0
76 return tot
77 tot += 1
78 return tot
82 tot = 0
85 return tot
86 tot += 1
87 return tot
/linux/drivers/scsi/lpfc/
H A Dlpfc_debugfs.c1043 uint64_t tot, totin, totout; in lpfc_debugfs_nvmestat_data() local
1156 tot = atomic_read(&tgtp->rcv_fcp_cmd_drop); in lpfc_debugfs_nvmestat_data()
1157 tot += atomic_read(&tgtp->xmt_fcp_release); in lpfc_debugfs_nvmestat_data()
1158 tot = atomic_read(&tgtp->rcv_fcp_cmd_in) - tot; in lpfc_debugfs_nvmestat_data()
1166 tot); in lpfc_debugfs_nvmestat_data()
1190 tot = cstat->io_cmpls; in lpfc_debugfs_nvmestat_data()
1191 totin += tot; in lpfc_debugfs_nvmestat_data()
1207 tot, ((data1 + data2 + data3) - tot)); in lpfc_debugfs_nvmestat_data()
1262 u64 tot, totin, totout; in lpfc_debugfs_scsistat_data() local
1276 tot = cstat->io_cmpls; in lpfc_debugfs_scsistat_data()
[all …]
/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_transport.c12 #define ADF_PERCENT(tot, percent) (((tot) * (percent)) / 100) argument
/linux/drivers/net/ethernet/intel/igc/
H A Digc_hw.h256 u64 tot; member
/linux/tools/perf/scripts/python/
H A Dparallel-perf.py513 tot = 0
517 tot += cnt
540 interval = int(round(tot / divisor, 0))
H A Dexported-sql-viewer.py2952 tot = bsym_start + boff + 1 - sym_start - off
2953 if tot <= 0 or tot > 16384:
2963 buf_sz = tot + 16
2964 buf = create_string_buffer(tot + 16)
2969 while tot > 0:
2984 tot -= cnt
/linux/drivers/mtd/nand/raw/
H A Dnandsim.c443 unsigned long deciles[10], decile_max[10], tot = 0; in ns_show() local
453 tot += wear; in ns_show()
471 avg = tot / wear_eb_count; in ns_show()
474 seq_printf(m, "Total numbers of erases: %lu\n", tot); in ns_show()
/linux/net/ipv4/
H A Dnexthop.c1014 size_t tot = nla_total_size(sz) + in nh_nlmsg_size_grp() local
1019 tot += nh_nlmsg_size_grp_res(nhg); in nh_nlmsg_size_grp()
1022 tot += nla_total_size(0) + /* NHA_GROUP_STATS */ in nh_nlmsg_size_grp()
1024 tot += nhg->num_nh * in nh_nlmsg_size_grp()
1030 tot += nhg->num_nh * in nh_nlmsg_size_grp()
1032 tot += nla_total_size(4); /* NHA_HW_STATS_USED */ in nh_nlmsg_size_grp()
1036 return tot; in nh_nlmsg_size_grp()
/linux/drivers/net/ethernet/intel/igb/
H A De1000_hw.h209 u64 tot; member
/linux/drivers/net/ethernet/intel/e1000e/
H A Dhw.h420 u64 tot; member
/linux/fs/
H A Dbuffer.c2860 int tot = 0; in recalc_bh_state() local
2866 tot += per_cpu(bh_accounting, i).nr; in recalc_bh_state()
2867 buffer_heads_over_limit = (tot > max_buffer_heads); in recalc_bh_state()
/linux/fs/ntfs3/
H A Dindex.c618 u32 tot = le32_to_cpu(hdr->total); in index_hdr_check() local
622 if (!IS_ALIGNED(off, 8) || tot > bytes || end > tot || in index_hdr_check()
/linux/tools/perf/Documentation/
H A Dperf-c2c.txt126 and sort on. Total HITMs (tot) as default, except Arm64 uses peer mode
/linux/drivers/mmc/core/
H A Dmmc_test.c586 uint64_t tot = bytes * count; in mmc_test_print_avg_rate() local
591 rate = mmc_test_rate(tot, &ts); in mmc_test_print_avg_rate()

12