Home
last modified time | relevance | path

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

12

/linux-6.12.1/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()
/linux-6.12.1/tools/testing/selftests/net/mptcp/
Dmptcp_inq.c343 ssize_t ret, tot; in process_one_client() local
407 tot = 0; in process_one_client()
414 tot += ret; in process_one_client()
418 if (tcp_inq > expect_len - tot) in process_one_client()
420 tcp_inq, expect_len - tot, (int)expect_len); in process_one_client()
422 assert(tcp_inq <= expect_len - tot); in process_one_client()
423 } while ((size_t)tot < expect_len); in process_one_client()
/linux-6.12.1/fs/nfsd/
Dnfssvc.c731 int tot = 0; in nfsd_set_nrthreads() local
751 tot = 0; in nfsd_set_nrthreads()
754 tot += nthreads[i]; in nfsd_set_nrthreads()
756 if (tot > NFSD_MAXSERVS) { in nfsd_set_nrthreads()
758 for (i = 0; i < n && tot > 0; i++) { in nfsd_set_nrthreads()
759 int new = nthreads[i] * NFSD_MAXSERVS / tot; in nfsd_set_nrthreads()
760 tot -= (nthreads[i] - new); in nfsd_set_nrthreads()
763 for (i = 0; i < n && tot > 0; i++) { in nfsd_set_nrthreads()
765 tot--; in nfsd_set_nrthreads()
/linux-6.12.1/fs/xfs/libxfs/
Dxfs_dir2.h66 xfs_extlen_t tot);
72 xfs_extlen_t tot);
75 xfs_extlen_t tot);
/linux-6.12.1/drivers/net/
Dveth.c423 struct rtnl_link_stats64 *tot) in veth_get_stats64() argument
429 tot->tx_dropped = atomic64_read(&priv->dropped); in veth_get_stats64()
430 dev_fetch_sw_netstats(tot, dev->tstats); in veth_get_stats64()
433 tot->tx_dropped += rx.xdp_tx_err; in veth_get_stats64()
434 tot->rx_dropped = rx.rx_drops + rx.peer_tq_xdp_xmit_err; in veth_get_stats64()
435 tot->rx_bytes += rx.xdp_bytes; in veth_get_stats64()
436 tot->rx_packets += rx.xdp_packets; in veth_get_stats64()
444 tot->rx_bytes += tot_peer.tx_bytes; in veth_get_stats64()
445 tot->rx_packets += tot_peer.tx_packets; in veth_get_stats64()
448 tot->tx_dropped += rx.peer_tq_xdp_xmit_err; in veth_get_stats64()
[all …]
Dxen-netfront.c1384 struct rtnl_link_stats64 *tot) in xennet_get_stats64() argument
1407 tot->rx_packets += rx_packets; in xennet_get_stats64()
1408 tot->tx_packets += tx_packets; in xennet_get_stats64()
1409 tot->rx_bytes += rx_bytes; in xennet_get_stats64()
1410 tot->tx_bytes += tx_bytes; in xennet_get_stats64()
1413 tot->rx_errors = dev->stats.rx_errors; in xennet_get_stats64()
1414 tot->tx_dropped = dev->stats.tx_dropped; in xennet_get_stats64()
Dvirtio_net.c3351 struct rtnl_link_stats64 *tot) in virtnet_stats() argument
3376 tot->rx_packets += rpackets; in virtnet_stats()
3377 tot->tx_packets += tpackets; in virtnet_stats()
3378 tot->rx_bytes += rbytes; in virtnet_stats()
3379 tot->tx_bytes += tbytes; in virtnet_stats()
3380 tot->rx_dropped += rdrops; in virtnet_stats()
3381 tot->tx_errors += terrors; in virtnet_stats()
3384 tot->tx_dropped = DEV_STATS_READ(dev, tx_dropped); in virtnet_stats()
3385 tot->tx_fifo_errors = DEV_STATS_READ(dev, tx_fifo_errors); in virtnet_stats()
3386 tot->rx_length_errors = DEV_STATS_READ(dev, rx_length_errors); in virtnet_stats()
[all …]
/linux-6.12.1/Documentation/trace/
Dtracepoints.rst127 int tot = 0;
130 tot += calculate_nuggets();
132 trace_foo_bar(tot);
/linux-6.12.1/drivers/net/ethernet/fungible/funeth/
Dfuneth_ethtool.c756 u64 *totals, *tot; in fun_get_ethtool_stats() local
766 *data = (cnt); *tot++ += *data++; \ in fun_get_ethtool_stats()
773 tot = totals; in fun_get_ethtool_stats()
799 tot = totals; in fun_get_ethtool_stats()
814 tot = totals; in fun_get_ethtool_stats()
/linux-6.12.1/tools/testing/selftests/net/openvswitch/
Dovs-dpctl.py74 tot = 0
77 return tot
78 tot += 1
79 return tot
83 tot = 0
86 return tot
87 tot += 1
88 return tot
/linux-6.12.1/tools/perf/
Dbuiltin-c2c.c797 int tot = 0, st = 0; in percent_costly_snoop() local
807 tot = total->rmt_hitm; in percent_costly_snoop()
811 tot = total->lcl_hitm; in percent_costly_snoop()
815 tot = total->tot_hitm; in percent_costly_snoop()
819 tot = total->tot_peer; in percent_costly_snoop()
825 p = tot ? (double) st / tot : 0; in percent_costly_snoop()
891 static double percent(u32 st, u32 tot) in percent() argument
893 return tot ? 100. * (double) st / (double) tot : 0; in percent()
Dbuiltin-kvm.c235 static double percent(u64 st, u64 tot) in percent() argument
237 return tot ? 100. * (double) st / (double) tot : 0; in percent()
/linux-6.12.1/drivers/net/hyperv/
Dnetvsc_drv.c1258 struct netvsc_vf_pcpu_stats *tot) in netvsc_get_vf_stats() argument
1263 memset(tot, 0, sizeof(*tot)); in netvsc_get_vf_stats()
1279 tot->rx_packets += rx_packets; in netvsc_get_vf_stats()
1280 tot->tx_packets += tx_packets; in netvsc_get_vf_stats()
1281 tot->rx_bytes += rx_bytes; in netvsc_get_vf_stats()
1282 tot->tx_bytes += tx_bytes; in netvsc_get_vf_stats()
1283 tot->tx_dropped += stats->tx_dropped; in netvsc_get_vf_stats()
/linux-6.12.1/drivers/crypto/intel/qat/qat_common/
Dadf_transport.c12 #define ADF_PERCENT(tot, percent) (((tot) * (percent)) / 100) argument
/linux-6.12.1/drivers/net/ethernet/intel/igc/
Digc_hw.h249 u64 tot; member
/linux-6.12.1/tools/perf/scripts/python/
Dparallel-perf.py513 tot = 0
517 tot += cnt
540 interval = int(round(tot / divisor, 0))
/linux-6.12.1/drivers/scsi/lpfc/
Dlpfc_debugfs.c1036 uint64_t tot, totin, totout; in lpfc_debugfs_nvmestat_data() local
1149 tot = atomic_read(&tgtp->rcv_fcp_cmd_drop); in lpfc_debugfs_nvmestat_data()
1150 tot += atomic_read(&tgtp->xmt_fcp_release); in lpfc_debugfs_nvmestat_data()
1151 tot = atomic_read(&tgtp->rcv_fcp_cmd_in) - tot; in lpfc_debugfs_nvmestat_data()
1159 tot); in lpfc_debugfs_nvmestat_data()
1183 tot = cstat->io_cmpls; in lpfc_debugfs_nvmestat_data()
1184 totin += tot; in lpfc_debugfs_nvmestat_data()
1200 tot, ((data1 + data2 + data3) - tot)); in lpfc_debugfs_nvmestat_data()
1255 u64 tot, totin, totout; in lpfc_debugfs_scsistat_data() local
1269 tot = cstat->io_cmpls; in lpfc_debugfs_scsistat_data()
[all …]
Dlpfc_attr.c346 uint64_t totin, totout, tot; in lpfc_nvme_info_show() local
496 tot = atomic_read(&tgtp->rcv_fcp_cmd_drop); in lpfc_nvme_info_show()
497 tot += atomic_read(&tgtp->xmt_fcp_release); in lpfc_nvme_info_show()
498 tot = atomic_read(&tgtp->rcv_fcp_cmd_in) - tot; in lpfc_nvme_info_show()
506 tot); in lpfc_nvme_info_show()
649 tot = cstat->io_cmpls; in lpfc_nvme_info_show()
650 totin += tot; in lpfc_nvme_info_show()
713 u64 tot, totin, totout; in lpfc_scsi_stat_show() local
727 tot = cstat->io_cmpls; in lpfc_scsi_stat_show()
728 totin += tot; in lpfc_scsi_stat_show()
[all …]
/linux-6.12.1/drivers/mtd/nand/raw/
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-6.12.1/drivers/gpu/drm/omapdrm/dss/
Ddsi.c3580 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-6.12.1/drivers/net/ethernet/toshiba/
Dspider_net.c999 int tot = 0; in show_rx_chain() local
1044 tot ++; in show_rx_chain()
1049 "for a total of %d descrs\n", cnt, cstat, tot); in show_rx_chain()
/linux-6.12.1/drivers/net/ethernet/intel/igb/
De1000_hw.h209 u64 tot; member
/linux-6.12.1/drivers/video/fbdev/omap2/omapfb/dss/
Ddsi.c4322 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-6.12.1/drivers/gpu/drm/bridge/
Dtc358768.c832 u32 tot = dsi_hfp + dsi_hsw + dsi_hss; in tc358768_bridge_pre_enable() local
834 dsi_hsw = tot / 3; in tc358768_bridge_pre_enable()
/linux-6.12.1/drivers/net/ethernet/intel/e1000e/
Dhw.h422 u64 tot; member

12