| /linux/tools/testing/selftests/net/mptcp/ |
| H A D | mptcp_inq.c | 353 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 D | npc.c | 2860 int tot = 0, rc; in npc_subbank_ref_alloc() 2874 "%s: ref=%d limit=%d r=%d l=%d start=%d stop=%d tot=%d count=%d rc=%d\n", in npc_subbank_ref_alloc() 2876 start, stop, tot, count, rc); in npc_subbank_ref_alloc() 2929 count - tot, mcam_idx + tot, in npc_subbank_ref_alloc() 2930 count - tot, max_alloc, in npc_subbank_ref_alloc() 2933 tot += alloc_cnt; in npc_subbank_ref_alloc() 2935 dev_dbg(rvu->dev, "%s: Allocated tot=%d alloc_cnt=%d\n", in npc_subbank_ref_alloc() 2936 __func__, tot, alloc_cnt); in npc_subbank_ref_alloc() 2938 if (!rc && count == tot) in npc_subbank_ref_alloc() 2863 int tot = 0, rc; npc_subbank_ref_alloc() local 2993 int tot = 0, rc; npc_subbank_noref_alloc() local 4073 int rc = 0, i, sb_off, tot; npc_cn20k_defrag() local [all...] |
| /linux/drivers/net/ethernet/alibaba/eea/ |
| H A D | eea_net.c | 359 static void eea_stats(struct net_device *netdev, struct rtnl_link_stats64 *tot) in eea_stats() argument 381 tot->rx_packets += packets; in eea_stats() 382 tot->rx_bytes += bytes; in eea_stats() 383 tot->rx_dropped += drop; in eea_stats() 384 tot->rx_length_errors += lerr; in eea_stats() 385 tot->rx_errors += lerr; in eea_stats() 401 tot->tx_packets += packets; in eea_stats() 402 tot->tx_bytes += bytes; in eea_stats() 403 tot->tx_dropped += drop; in eea_stats()
|
| /linux/fs/nfsd/ |
| H A D | nfssvc.c | 702 int tot = 0; in nfsd_set_nrthreads() 719 tot = 0; in nfsd_set_nrthreads() 722 tot += nthreads[i]; in nfsd_set_nrthreads() 724 if (tot > NFSD_MAXSERVS) { in nfsd_set_nrthreads() 726 for (i = 0; i < n && tot > 0; i++) { in nfsd_set_nrthreads() 727 int new = nthreads[i] * NFSD_MAXSERVS / tot; in nfsd_set_nrthreads() 728 tot -= (nthreads[i] - new); in nfsd_set_nrthreads() 731 for (i = 0; i < n && tot > 0; i++) { in nfsd_set_nrthreads() 733 tot--; in nfsd_set_nrthreads() 689 int tot = 0; nfsd_set_nrthreads() local
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_dir2.h | 65 xfs_extlen_t tot); 71 xfs_extlen_t tot); 74 xfs_extlen_t tot);
|
| /linux/drivers/net/ |
| H A D | veth.c | 458 struct rtnl_link_stats64 *tot) in veth_get_stats64() 464 tot->tx_dropped = atomic64_read(&priv->dropped); in veth_get_stats64() 465 dev_fetch_sw_netstats(tot, dev->tstats); in veth_get_stats64() 468 tot->tx_dropped += rx.xdp_tx_err; in veth_get_stats64() 469 tot->rx_dropped = rx.rx_drops + rx.peer_tq_xdp_xmit_err; in veth_get_stats64() 470 tot->rx_bytes += rx.xdp_bytes; in veth_get_stats64() 471 tot->rx_packets += rx.xdp_packets; in veth_get_stats64() 479 tot->rx_bytes += tot_peer.tx_bytes; in veth_get_stats64() 480 tot->rx_packets += tot_peer.tx_packets; in veth_get_stats64() 483 tot in veth_get_stats64() 453 veth_get_stats64(struct net_device * dev,struct rtnl_link_stats64 * tot) veth_get_stats64() argument [all...] |
| H A D | xen-netfront.c | 1400 struct rtnl_link_stats64 *tot) in xennet_get_stats64() argument 1423 tot->rx_packets += rx_packets; in xennet_get_stats64() 1424 tot->tx_packets += tx_packets; in xennet_get_stats64() 1425 tot->rx_bytes += rx_bytes; in xennet_get_stats64() 1426 tot->tx_bytes += tx_bytes; in xennet_get_stats64() 1429 tot->rx_errors = dev->stats.rx_errors; in xennet_get_stats64() 1430 tot->tx_dropped = dev->stats.tx_dropped; in xennet_get_stats64()
|
| H A D | virtio_net.c | 3718 struct rtnl_link_stats64 *tot) in virtnet_ack_link_announce() 3743 tot->rx_packets += rpackets; in virtnet_set_queues() 3744 tot->tx_packets += tpackets; in virtnet_set_queues() 3745 tot->rx_bytes += rbytes; in virtnet_set_queues() 3746 tot->tx_bytes += tbytes; in virtnet_set_queues() 3747 tot->rx_dropped += rdrops; in virtnet_set_queues() 3748 tot->tx_errors += terrors; in virtnet_set_queues() 3751 tot->tx_dropped = DEV_STATS_READ(dev, tx_dropped); in virtnet_set_queues() 3752 tot->tx_fifo_errors = DEV_STATS_READ(dev, tx_fifo_errors); in virtnet_set_queues() 3753 tot in virtnet_set_queues() 3676 virtnet_stats(struct net_device * dev,struct rtnl_link_stats64 * tot) virtnet_stats() argument [all...] |
| /linux/Documentation/trace/ |
| H A D | tracepoints.rst | 127 int tot = 0; 130 tot += calculate_nuggets(); 132 trace_foo_bar_tp(tot);
|
| /linux/tools/perf/ |
| H A D | builtin-c2c.c | 853 int tot = 0, st = 0; in percent_costly_snoop() 863 tot = total->rmt_hitm; in percent_costly_snoop() 867 tot = total->lcl_hitm; 871 tot = total->tot_hitm; 875 tot = total->tot_peer; in percent_costly_snoop_entry() 881 p = tot ? (double) st / tot : 0; in percent_costly_snoop_entry() 947 static double percent(u32 st, u32 tot) in PERCENT_FN() 949 return tot ? 100. * (double) st / (double) tot in PERCENT_FN() 835 int tot = 0, st = 0; percent_costly_snoop() local 929 percent(u32 st,u32 tot) percent() argument [all...] |
| H A D | builtin-kvm.c | 239 static double percent(u64 st, u64 tot) in percent() 241 return tot ? 100. * (double) st / (double) tot : 0; 236 percent(u64 st,u64 tot) percent() argument
|
| /linux/tools/testing/selftests/net/openvswitch/ |
| H A D | ovs-dpctl.py | 73 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/net/hyperv/ |
| H A D | netvsc_drv.c | 1225 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/drivers/scsi/lpfc/ |
| H A D | lpfc_debugfs.c | 1034 uint64_t tot, totin, totout; in lpfc_debugfs_nvmestat_data() local 1147 tot = atomic_read(&tgtp->rcv_fcp_cmd_drop); in lpfc_debugfs_nvmestat_data() 1148 tot += atomic_read(&tgtp->xmt_fcp_release); in lpfc_debugfs_nvmestat_data() 1149 tot = atomic_read(&tgtp->rcv_fcp_cmd_in) - tot; in lpfc_debugfs_nvmestat_data() 1157 tot); in lpfc_debugfs_nvmestat_data() 1181 tot = cstat->io_cmpls; in lpfc_debugfs_nvmestat_data() 1182 totin += tot; in lpfc_debugfs_nvmestat_data() 1198 tot, ((data1 + data2 + data3) - tot)); in lpfc_debugfs_nvmestat_data() 1253 u64 tot, totin, totout; in lpfc_debugfs_scsistat_data() local 1268 tot = cstat->io_cmpls; in lpfc_debugfs_scsistat_data() [all …]
|
| H A D | lpfc_attr.c | 459 uint64_t totin, totout, tot; in lpfc_nvme_info_show() local 579 tot = atomic_read(&tgtp->rcv_fcp_cmd_drop); in lpfc_nvme_info_show() 580 tot += atomic_read(&tgtp->xmt_fcp_release); in lpfc_nvme_info_show() 581 tot = atomic_read(&tgtp->rcv_fcp_cmd_in) - tot; in lpfc_nvme_info_show() 589 tot); in lpfc_nvme_info_show() 704 tot = cstat->io_cmpls; in lpfc_nvme_info_show() 705 totin += tot; in lpfc_nvme_info_show() 753 u64 tot, totin, totout; in lpfc_scsi_stat_show() local 766 tot = cstat->io_cmpls; in lpfc_scsi_stat_show() 767 totin += tot; in lpfc_scsi_stat_show() [all …]
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_transport.c | 12 #define ADF_PERCENT(tot, percent) (((tot) * (percent)) / 100) argument
|
| /linux/tools/perf/scripts/python/ |
| H A D | parallel-perf.py | |
| /linux/drivers/net/ethernet/intel/igc/ |
| H A D | igc_hw.h | 256 u64 tot; member
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | nandsim.c | 443 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 D | nexthop.c | 1014 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 D | e1000_hw.h | 209 u64 tot; member
|
| /linux/drivers/net/ethernet/intel/e1000e/ |
| H A D | hw.h | 420 u64 tot; member
|
| /linux/drivers/gpu/drm/bridge/ |
| H A D | tc358768.c | 909 u32 tot = dsi_hfp + dsi_hsw + dsi_hss; in tc358768_bridge_atomic_pre_enable() 911 dsi_hsw = tot / 3; in tc358768_bridge_atomic_pre_enable() 922 u32 tot = dsi_hfp + dsi_hsw + dsi_hss; tc358768_bridge_atomic_pre_enable() local
|
| /linux/fs/ |
| H A D | buffer.c | 2873 int tot = 0; in recalc_bh_state() 2879 tot += per_cpu(bh_accounting, i).nr; in alloc_buffer_head() 2880 buffer_heads_over_limit = (tot > max_buffer_heads); in alloc_buffer_head() 2869 int tot = 0; recalc_bh_state() local
|
| /linux/fs/ntfs3/ |
| H A D | index.c | 621 u32 tot = le32_to_cpu(hdr->total); in index_hdr_check() 625 if (!IS_ALIGNED(off, 8) || tot > bytes || end > tot || in index_hdr_check() 618 u32 tot = le32_to_cpu(hdr->total); index_hdr_check() local
|