Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
Dvivid-vbi-gen.c71 unsigned tot = 0; in cc_insert() local
76 tot += cc[2 * i]; in cc_insert()
78 cc[14] = cc[15] = !(tot & 1); in cc_insert()
169 unsigned tot = 0; in calc_parity() local
172 tot += (val & (1 << i)) ? 1 : 0; in calc_parity()
173 return val | ((tot & 1) ? 0 : 0x80); in calc_parity()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_dir2.h43 xfs_extlen_t tot);
49 xfs_extlen_t tot);
54 xfs_extlen_t tot);
/kernel/linux/linux-5.10/drivers/net/
Dveth.c363 struct rtnl_link_stats64 *tot) in veth_get_stats64() argument
370 tot->tx_dropped = veth_stats_tx(dev, &packets, &bytes); in veth_get_stats64()
371 tot->tx_bytes = bytes; in veth_get_stats64()
372 tot->tx_packets = packets; in veth_get_stats64()
375 tot->tx_dropped += rx.xdp_tx_err; in veth_get_stats64()
376 tot->rx_dropped = rx.rx_drops + rx.peer_tq_xdp_xmit_err; in veth_get_stats64()
377 tot->rx_bytes = rx.xdp_bytes; in veth_get_stats64()
378 tot->rx_packets = rx.xdp_packets; in veth_get_stats64()
384 tot->rx_bytes += bytes; in veth_get_stats64()
385 tot->rx_packets += packets; in veth_get_stats64()
[all …]
Dvirtio_net.c1809 struct rtnl_link_stats64 *tot) in virtnet_stats() argument
1833 tot->rx_packets += rpackets; in virtnet_stats()
1834 tot->tx_packets += tpackets; in virtnet_stats()
1835 tot->rx_bytes += rbytes; in virtnet_stats()
1836 tot->tx_bytes += tbytes; in virtnet_stats()
1837 tot->rx_dropped += rdrops; in virtnet_stats()
1840 tot->tx_dropped = dev->stats.tx_dropped; in virtnet_stats()
1841 tot->tx_fifo_errors = dev->stats.tx_fifo_errors; in virtnet_stats()
1842 tot->rx_length_errors = dev->stats.rx_length_errors; in virtnet_stats()
1843 tot->rx_frame_errors = dev->stats.rx_frame_errors; in virtnet_stats()
Dxen-netfront.c1318 struct rtnl_link_stats64 *tot) in xennet_get_stats64() argument
1341 tot->rx_packets += rx_packets; in xennet_get_stats64()
1342 tot->tx_packets += tx_packets; in xennet_get_stats64()
1343 tot->rx_bytes += rx_bytes; in xennet_get_stats64()
1344 tot->tx_bytes += tx_bytes; in xennet_get_stats64()
1347 tot->rx_errors = dev->stats.rx_errors; in xennet_get_stats64()
1348 tot->tx_dropped = dev->stats.tx_dropped; in xennet_get_stats64()
/kernel/linux/linux-5.10/fs/nfsd/
Dnfssvc.c684 int tot = 0; in nfsd_set_nrthreads() local
697 tot = 0; in nfsd_set_nrthreads()
700 tot += nthreads[i]; in nfsd_set_nrthreads()
702 if (tot > NFSD_MAXSERVS) { in nfsd_set_nrthreads()
704 for (i = 0; i < n && tot > 0; i++) { in nfsd_set_nrthreads()
705 int new = nthreads[i] * NFSD_MAXSERVS / tot; in nfsd_set_nrthreads()
706 tot -= (nthreads[i] - new); in nfsd_set_nrthreads()
709 for (i = 0; i < n && tot > 0; i++) { in nfsd_set_nrthreads()
711 tot--; in nfsd_set_nrthreads()
/kernel/linux/linux-5.10/Documentation/trace/
Dtracepoints.rst127 int tot = 0;
130 tot += calculate_nuggets();
132 trace_foo_bar(tot);
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-c2c.c786 int tot = 0, st = 0; in percent_hitm() local
796 tot = total->rmt_hitm; in percent_hitm()
800 tot = total->lcl_hitm; in percent_hitm()
804 tot = total->tot_hitm; in percent_hitm()
809 p = tot ? (double) st / tot : 0; in percent_hitm()
875 static double percent(int st, int tot) in percent() argument
877 return tot ? 100. * (double) st / (double) tot : 0; in percent()
/kernel/linux/linux-5.10/drivers/net/hyperv/
Dnetvsc_drv.c1272 struct netvsc_vf_pcpu_stats *tot) in netvsc_get_vf_stats() argument
1277 memset(tot, 0, sizeof(*tot)); in netvsc_get_vf_stats()
1293 tot->rx_packets += rx_packets; in netvsc_get_vf_stats()
1294 tot->tx_packets += tx_packets; in netvsc_get_vf_stats()
1295 tot->rx_bytes += rx_bytes; in netvsc_get_vf_stats()
1296 tot->tx_bytes += tx_bytes; in netvsc_get_vf_stats()
1297 tot->tx_dropped += stats->tx_dropped; in netvsc_get_vf_stats()
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
Dlpfc_debugfs.c1040 uint64_t tot, totin, totout; in lpfc_debugfs_nvmestat_data() local
1153 tot = atomic_read(&tgtp->rcv_fcp_cmd_drop); in lpfc_debugfs_nvmestat_data()
1154 tot += atomic_read(&tgtp->xmt_fcp_release); in lpfc_debugfs_nvmestat_data()
1155 tot = atomic_read(&tgtp->rcv_fcp_cmd_in) - tot; in lpfc_debugfs_nvmestat_data()
1163 tot); in lpfc_debugfs_nvmestat_data()
1187 tot = cstat->io_cmpls; in lpfc_debugfs_nvmestat_data()
1188 totin += tot; in lpfc_debugfs_nvmestat_data()
1204 tot, ((data1 + data2 + data3) - tot)); in lpfc_debugfs_nvmestat_data()
1259 u64 tot, totin, totout; in lpfc_debugfs_scsistat_data() local
1273 tot = cstat->io_cmpls; in lpfc_debugfs_scsistat_data()
[all …]
Dlpfc_attr.c171 uint64_t totin, totout, tot; in lpfc_nvme_info_show() local
320 tot = atomic_read(&tgtp->rcv_fcp_cmd_drop); in lpfc_nvme_info_show()
321 tot += atomic_read(&tgtp->xmt_fcp_release); in lpfc_nvme_info_show()
322 tot = atomic_read(&tgtp->rcv_fcp_cmd_in) - tot; in lpfc_nvme_info_show()
330 tot); in lpfc_nvme_info_show()
473 tot = cstat->io_cmpls; in lpfc_nvme_info_show()
474 totin += tot; in lpfc_nvme_info_show()
539 u64 tot, totin, totout; in lpfc_scsi_stat_show() local
553 tot = cstat->io_cmpls; in lpfc_scsi_stat_show()
554 totin += tot; in lpfc_scsi_stat_show()
[all …]
/kernel/linux/linux-5.10/net/ipv4/
Dip_tunnel_core.c434 struct rtnl_link_stats64 *tot) in ip_tunnel_get_stats64() argument
436 netdev_stats_to_stats64(tot, &dev->stats); in ip_tunnel_get_stats64()
437 dev_fetch_sw_netstats(tot, dev->tstats); in ip_tunnel_get_stats64()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
Digc_hw.h260 u64 tot; member
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dnandsim.c441 unsigned long deciles[10], decile_max[10], tot = 0; in ns_show() local
451 tot += wear; in ns_show()
469 avg = tot / wear_eb_count; in ns_show()
472 seq_printf(m, "Total numbers of erases: %lu\n", tot); in ns_show()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
De1000_hw.h209 u64 tot; member
/kernel/linux/linux-5.10/include/net/
Dip_tunnels.h278 struct rtnl_link_stats64 *tot);
/kernel/linux/linux-5.10/drivers/net/ethernet/toshiba/
Dspider_net.c986 int tot = 0; in show_rx_chain() local
1031 tot ++; in show_rx_chain()
1036 "for a total of %d descrs\n", cnt, cstat, tot); in show_rx_chain()
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
Ddsi.c4323 int bl, wc, pps, tot; in print_dsi_vm() local
4328 tot = bl + pps; in print_dsi_vm()
4337 bl, pps, tot, in print_dsi_vm()
4348 TO_DSI_T(tot)); in print_dsi_vm()
4355 int hact, bl, tot; in print_dispc_vm() local
4359 tot = hact + bl; in print_dispc_vm()
4368 bl, hact, tot, in print_dispc_vm()
4375 TO_DISPC_T(tot)); in print_dispc_vm()
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
Ddsi.c4215 int bl, wc, pps, tot; in print_dsi_vm() local
4220 tot = bl + pps; in print_dsi_vm()
4229 bl, pps, tot, in print_dsi_vm()
4240 TO_DSI_T(tot)); in print_dsi_vm()
4247 int hact, bl, tot; in print_dispc_vm() local
4251 tot = hact + bl; in print_dispc_vm()
4260 bl, hact, tot, in print_dispc_vm()
4267 TO_DISPC_T(tot)); in print_dispc_vm()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/
Dhw.h401 u64 tot; member
/kernel/linux/linux-5.10/fs/
Dbuffer.c3324 int tot = 0; in recalc_bh_state() local
3330 tot += per_cpu(bh_accounting, i).nr; in recalc_bh_state()
3331 buffer_heads_over_limit = (tot > max_buffer_heads); in recalc_bh_state()
/kernel/linux/linux-5.10/fs/ocfs2/dlm/
Ddlmrecovery.c144 int tot=0; in dlm_dispatch_work() local
151 tot++; in dlm_dispatch_work()
153 mlog(0, "%s: work thread has %d work items\n", dlm->name, tot); in dlm_dispatch_work()
/kernel/linux/linux-5.10/tools/perf/scripts/python/
Dexported-sql-viewer.py2948 tot = bsym_start + boff + 1 - sym_start - off
2949 if tot <= 0 or tot > 16384:
2959 buf_sz = tot + 16
2960 buf = create_string_buffer(tot + 16)
2965 while tot > 0:
2980 tot -= cnt
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c1655 unsigned long tot = 0; in collect_sge_port_stats() local
1658 tot += adapter->sge.qs[i].port_stats[idx]; in collect_sge_port_stats()
1659 return tot; in collect_sge_port_stats()
/kernel/linux/linux-5.10/drivers/mmc/core/
Dmmc_test.c588 uint64_t tot = bytes * count; in mmc_test_print_avg_rate() local
593 rate = mmc_test_rate(tot, &ts); in mmc_test_print_avg_rate()

12