| /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/fs/nfsd/ |
| H A D | nfssvc.c | 682 int tot = 0; in nfsd_set_nrthreads() local 699 tot = 0; in nfsd_set_nrthreads() 702 tot += nthreads[i]; in nfsd_set_nrthreads() 704 if (tot > NFSD_MAXSERVS) { in nfsd_set_nrthreads() 706 for (i = 0; i < n && tot > 0; i++) { in nfsd_set_nrthreads() 707 int new = nthreads[i] * NFSD_MAXSERVS / tot; in nfsd_set_nrthreads() 708 tot -= (nthreads[i] - new); in nfsd_set_nrthreads() 711 for (i = 0; i < n && tot > 0; i++) { in nfsd_set_nrthreads() 713 tot--; in nfsd_set_nrthreads()
|
| /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 | 452 struct rtnl_link_stats64 *tot) in veth_get_stats64() argument 458 tot->tx_dropped = atomic64_read(&priv->dropped); in veth_get_stats64() 459 dev_fetch_sw_netstats(tot, dev->tstats); in veth_get_stats64() 462 tot->tx_dropped += rx.xdp_tx_err; in veth_get_stats64() 463 tot->rx_dropped = rx.rx_drops + rx.peer_tq_xdp_xmit_err; in veth_get_stats64() 464 tot->rx_bytes += rx.xdp_bytes; in veth_get_stats64() 465 tot->rx_packets += rx.xdp_packets; in veth_get_stats64() 473 tot->rx_bytes += tot_peer.tx_bytes; in veth_get_stats64() 474 tot->rx_packets += tot_peer.tx_packets; in veth_get_stats64() 477 tot->tx_dropped += rx.peer_tq_xdp_xmit_err; in veth_get_stats64() [all …]
|
| H A D | xen-netfront.c | 1390 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 D | virtio_net.c | 3631 struct rtnl_link_stats64 *tot) in virtnet_stats() argument 3656 tot->rx_packets += rpackets; in virtnet_stats() 3657 tot->tx_packets += tpackets; in virtnet_stats() 3658 tot->rx_bytes += rbytes; in virtnet_stats() 3659 tot->tx_bytes += tbytes; in virtnet_stats() 3660 tot->rx_dropped += rdrops; in virtnet_stats() 3661 tot->tx_errors += terrors; in virtnet_stats() 3664 tot->tx_dropped = DEV_STATS_READ(dev, tx_dropped); in virtnet_stats() 3665 tot->tx_fifo_errors = DEV_STATS_READ(dev, tx_fifo_errors); in virtnet_stats() 3666 tot->rx_length_errors = DEV_STATS_READ(dev, rx_length_errors); in virtnet_stats() [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/testing/selftests/net/openvswitch/ |
| H A D | ovs-dpctl.py | 74 tot = 0 77 return tot 78 tot += 1 79 return tot 83 tot = 0 86 return tot 87 tot += 1 88 return tot
|
| /linux/tools/perf/ |
| H A D | builtin-c2c.c | 835 int tot = 0, st = 0; in percent_costly_snoop() local 845 tot = total->rmt_hitm; in percent_costly_snoop() 849 tot = total->lcl_hitm; in percent_costly_snoop() 853 tot = total->tot_hitm; in percent_costly_snoop() 857 tot = total->tot_peer; in percent_costly_snoop() 863 p = tot ? (double) st / tot : 0; in percent_costly_snoop() 929 static double percent(u32 st, u32 tot) in percent() argument 931 return tot ? 100. * (double) st / (double) tot : 0; in percent()
|
| H A D | builtin-kvm.c | 236 static double percent(u64 st, u64 tot) in percent() argument 238 return tot ? 100. * (double) st / (double) tot : 0; in percent()
|
| /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 | 1043 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 …]
|
| H A D | lpfc_attr.c | 478 uint64_t totin, totout, tot; in lpfc_nvme_info_show() local 628 tot = atomic_read(&tgtp->rcv_fcp_cmd_drop); in lpfc_nvme_info_show() 629 tot += atomic_read(&tgtp->xmt_fcp_release); in lpfc_nvme_info_show() 630 tot = atomic_read(&tgtp->rcv_fcp_cmd_in) - tot; in lpfc_nvme_info_show() 638 tot); in lpfc_nvme_info_show() 781 tot = cstat->io_cmpls; in lpfc_nvme_info_show() 782 totin += tot; in lpfc_nvme_info_show() 845 u64 tot, totin, totout; in lpfc_scsi_stat_show() local 859 tot = cstat->io_cmpls; in lpfc_scsi_stat_show() 860 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 | 513 tot = 0 517 tot += cnt 540 interval = int(round(tot / divisor, 0))
|
| H A D | exported-sql-viewer.py | 2952 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 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/drivers/gpu/drm/omapdrm/dss/ |
| H A D | dsi.c | 3580 int bl, wc, pps, tot; in print_dsi_vm() local 3585 tot = bl + pps; in print_dsi_vm() 3594 bl, pps, tot, in print_dsi_vm() 3605 TO_DSI_T(tot)); in print_dsi_vm() 3612 int hact, bl, tot; in print_dispc_vm() local 3616 tot = hact + bl; in print_dispc_vm() 3625 bl, hact, tot, in print_dispc_vm() 3632 TO_DISPC_T(tot)); in print_dispc_vm()
|
| /linux/drivers/net/ethernet/intel/igb/ |
| H A D | e1000_hw.h | 209 u64 tot; member
|
| /linux/drivers/video/fbdev/omap2/omapfb/dss/ |
| H A D | dsi.c | 4322 int bl, wc, pps, tot; in print_dsi_vm() local 4327 tot = bl + pps; in print_dsi_vm() 4336 bl, pps, tot, in print_dsi_vm() 4347 TO_DSI_T(tot)); in print_dsi_vm() 4354 int hact, bl, tot; in print_dispc_vm() local 4358 tot = hact + bl; in print_dispc_vm() 4367 bl, hact, tot, in print_dispc_vm() 4374 TO_DISPC_T(tot)); in print_dispc_vm()
|
| /linux/drivers/net/ethernet/intel/e1000e/ |
| H A D | hw.h | 422 u64 tot; member
|
| /linux/fs/ |
| H A D | buffer.c | 3014 int tot = 0; in recalc_bh_state() local 3020 tot += per_cpu(bh_accounting, i).nr; in recalc_bh_state() 3021 buffer_heads_over_limit = (tot > max_buffer_heads); in recalc_bh_state()
|
| /linux/fs/ntfs3/ |
| H A D | index.c | 615 u32 tot = le32_to_cpu(hdr->total); in index_hdr_check() local 618 if (!IS_ALIGNED(off, 8) || tot > bytes || end > tot || in index_hdr_check()
|
| /linux/fs/ocfs2/dlm/ |
| H A D | dlmrecovery.c | 135 int tot=0; in dlm_dispatch_work() local 142 tot++; in dlm_dispatch_work() 144 mlog(0, "%s: work thread has %d work items\n", dlm->name, tot); in dlm_dispatch_work()
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-c2c.txt | 126 and sort on. Total HITMs (tot) as default, except Arm64 uses peer mode
|