/linux-6.1.9/drivers/media/test-drivers/vivid/ |
D | vivid-vbi-gen.c | 71 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.1.9/tools/testing/selftests/net/mptcp/ |
D | mptcp_inq.c | 342 ssize_t ret, tot; in process_one_client() local 406 tot = 0; in process_one_client() 413 tot += ret; in process_one_client() 417 if (tcp_inq > expect_len - tot) in process_one_client() 419 tcp_inq, expect_len - tot, (int)expect_len); in process_one_client() 421 assert(tcp_inq <= expect_len - tot); in process_one_client() 422 } while ((size_t)tot < expect_len); in process_one_client()
|
/linux-6.1.9/fs/xfs/libxfs/ |
D | xfs_dir2.h | 43 xfs_extlen_t tot); 49 xfs_extlen_t tot); 52 xfs_extlen_t tot);
|
/linux-6.1.9/fs/nfsd/ |
D | nfssvc.c | 729 int tot = 0; in nfsd_set_nrthreads() local 742 tot = 0; in nfsd_set_nrthreads() 745 tot += nthreads[i]; in nfsd_set_nrthreads() 747 if (tot > NFSD_MAXSERVS) { in nfsd_set_nrthreads() 749 for (i = 0; i < n && tot > 0; i++) { in nfsd_set_nrthreads() 750 int new = nthreads[i] * NFSD_MAXSERVS / tot; in nfsd_set_nrthreads() 751 tot -= (nthreads[i] - new); in nfsd_set_nrthreads() 754 for (i = 0; i < n && tot > 0; i++) { in nfsd_set_nrthreads() 756 tot--; in nfsd_set_nrthreads()
|
/linux-6.1.9/drivers/net/ |
D | veth.c | 398 struct rtnl_link_stats64 *tot) in veth_get_stats64() argument 405 tot->tx_dropped = veth_stats_tx(dev, &packets, &bytes); in veth_get_stats64() 406 tot->tx_bytes = bytes; in veth_get_stats64() 407 tot->tx_packets = packets; in veth_get_stats64() 410 tot->tx_dropped += rx.xdp_tx_err; in veth_get_stats64() 411 tot->rx_dropped = rx.rx_drops + rx.peer_tq_xdp_xmit_err; in veth_get_stats64() 412 tot->rx_bytes = rx.xdp_bytes; in veth_get_stats64() 413 tot->rx_packets = rx.xdp_packets; in veth_get_stats64() 419 tot->rx_bytes += bytes; in veth_get_stats64() 420 tot->rx_packets += packets; in veth_get_stats64() [all …]
|
D | xen-netfront.c | 1383 struct rtnl_link_stats64 *tot) in xennet_get_stats64() argument 1406 tot->rx_packets += rx_packets; in xennet_get_stats64() 1407 tot->tx_packets += tx_packets; in xennet_get_stats64() 1408 tot->rx_bytes += rx_bytes; in xennet_get_stats64() 1409 tot->tx_bytes += tx_bytes; in xennet_get_stats64() 1412 tot->rx_errors = dev->stats.rx_errors; in xennet_get_stats64() 1413 tot->tx_dropped = dev->stats.tx_dropped; in xennet_get_stats64()
|
D | virtio_net.c | 2062 struct rtnl_link_stats64 *tot) in virtnet_stats() argument 2087 tot->rx_packets += rpackets; in virtnet_stats() 2088 tot->tx_packets += tpackets; in virtnet_stats() 2089 tot->rx_bytes += rbytes; in virtnet_stats() 2090 tot->tx_bytes += tbytes; in virtnet_stats() 2091 tot->rx_dropped += rdrops; in virtnet_stats() 2092 tot->tx_errors += terrors; in virtnet_stats() 2095 tot->tx_dropped = dev->stats.tx_dropped; in virtnet_stats() 2096 tot->tx_fifo_errors = dev->stats.tx_fifo_errors; in virtnet_stats() 2097 tot->rx_length_errors = dev->stats.rx_length_errors; in virtnet_stats() [all …]
|
/linux-6.1.9/Documentation/trace/ |
D | tracepoints.rst | 127 int tot = 0; 130 tot += calculate_nuggets(); 132 trace_foo_bar(tot);
|
/linux-6.1.9/drivers/net/ethernet/fungible/funeth/ |
D | funeth_ethtool.c | 756 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.1.9/tools/perf/ |
D | builtin-c2c.c | 808 int tot = 0, st = 0; in percent_costly_snoop() local 818 tot = total->rmt_hitm; in percent_costly_snoop() 822 tot = total->lcl_hitm; in percent_costly_snoop() 826 tot = total->tot_hitm; in percent_costly_snoop() 830 tot = total->tot_peer; in percent_costly_snoop() 836 p = tot ? (double) st / tot : 0; in percent_costly_snoop() 902 static double percent(u32 st, u32 tot) in percent() argument 904 return tot ? 100. * (double) st / (double) tot : 0; in percent()
|
/linux-6.1.9/drivers/net/hyperv/ |
D | netvsc_drv.c | 1253 struct netvsc_vf_pcpu_stats *tot) in netvsc_get_vf_stats() argument 1258 memset(tot, 0, sizeof(*tot)); in netvsc_get_vf_stats() 1274 tot->rx_packets += rx_packets; in netvsc_get_vf_stats() 1275 tot->tx_packets += tx_packets; in netvsc_get_vf_stats() 1276 tot->rx_bytes += rx_bytes; in netvsc_get_vf_stats() 1277 tot->tx_bytes += tx_bytes; in netvsc_get_vf_stats() 1278 tot->tx_dropped += stats->tx_dropped; in netvsc_get_vf_stats()
|
/linux-6.1.9/drivers/crypto/qat/qat_common/ |
D | adf_transport.c | 12 #define ADF_PERCENT(tot, percent) (((tot) * (percent)) / 100) argument
|
/linux-6.1.9/drivers/scsi/lpfc/ |
D | lpfc_attr.c | 346 uint64_t totin, totout, tot; in lpfc_nvme_info_show() local 495 tot = atomic_read(&tgtp->rcv_fcp_cmd_drop); in lpfc_nvme_info_show() 496 tot += atomic_read(&tgtp->xmt_fcp_release); in lpfc_nvme_info_show() 497 tot = atomic_read(&tgtp->rcv_fcp_cmd_in) - tot; in lpfc_nvme_info_show() 505 tot); in lpfc_nvme_info_show() 648 tot = cstat->io_cmpls; in lpfc_nvme_info_show() 649 totin += tot; in lpfc_nvme_info_show() 712 u64 tot, totin, totout; in lpfc_scsi_stat_show() local 726 tot = cstat->io_cmpls; in lpfc_scsi_stat_show() 727 totin += tot; in lpfc_scsi_stat_show() [all …]
|
D | lpfc_debugfs.c | 1038 uint64_t tot, totin, totout; in lpfc_debugfs_nvmestat_data() local 1151 tot = atomic_read(&tgtp->rcv_fcp_cmd_drop); in lpfc_debugfs_nvmestat_data() 1152 tot += atomic_read(&tgtp->xmt_fcp_release); in lpfc_debugfs_nvmestat_data() 1153 tot = atomic_read(&tgtp->rcv_fcp_cmd_in) - tot; in lpfc_debugfs_nvmestat_data() 1161 tot); in lpfc_debugfs_nvmestat_data() 1185 tot = cstat->io_cmpls; in lpfc_debugfs_nvmestat_data() 1186 totin += tot; in lpfc_debugfs_nvmestat_data() 1202 tot, ((data1 + data2 + data3) - tot)); in lpfc_debugfs_nvmestat_data() 1257 u64 tot, totin, totout; in lpfc_debugfs_scsistat_data() local 1271 tot = cstat->io_cmpls; in lpfc_debugfs_scsistat_data() [all …]
|
/linux-6.1.9/drivers/net/ethernet/intel/igc/ |
D | igc_hw.h | 249 u64 tot; member
|
/linux-6.1.9/drivers/mtd/nand/raw/ |
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-6.1.9/drivers/gpu/drm/omapdrm/dss/ |
D | dsi.c | 3574 int bl, wc, pps, tot; in print_dsi_vm() local 3579 tot = bl + pps; in print_dsi_vm() 3588 bl, pps, tot, in print_dsi_vm() 3599 TO_DSI_T(tot)); in print_dsi_vm() 3606 int hact, bl, tot; in print_dispc_vm() local 3610 tot = hact + bl; in print_dispc_vm() 3619 bl, hact, tot, in print_dispc_vm() 3626 TO_DISPC_T(tot)); in print_dispc_vm()
|
/linux-6.1.9/drivers/net/ethernet/intel/igb/ |
D | e1000_hw.h | 209 u64 tot; member
|
/linux-6.1.9/drivers/net/ethernet/toshiba/ |
D | spider_net.c | 999 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.1.9/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dsi.c | 4321 int bl, wc, pps, tot; in print_dsi_vm() local 4326 tot = bl + pps; in print_dsi_vm() 4335 bl, pps, tot, in print_dsi_vm() 4346 TO_DSI_T(tot)); in print_dsi_vm() 4353 int hact, bl, tot; in print_dispc_vm() local 4357 tot = hact + bl; in print_dispc_vm() 4366 bl, hact, tot, in print_dispc_vm() 4373 TO_DISPC_T(tot)); in print_dispc_vm()
|
/linux-6.1.9/drivers/net/ethernet/intel/e1000e/ |
D | hw.h | 410 u64 tot; member
|
/linux-6.1.9/fs/ |
D | buffer.c | 2887 int tot = 0; in recalc_bh_state() local 2893 tot += per_cpu(bh_accounting, i).nr; in recalc_bh_state() 2894 buffer_heads_over_limit = (tot > max_buffer_heads); in recalc_bh_state()
|
/linux-6.1.9/tools/perf/Documentation/ |
D | perf-c2c.txt | 115 and sort on. Total HITMs (tot) as default, except Arm64 uses peer mode
|
/linux-6.1.9/fs/ocfs2/dlm/ |
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-6.1.9/tools/perf/scripts/python/ |
D | exported-sql-viewer.py | 2949 tot = bsym_start + boff + 1 - sym_start - off 2950 if tot <= 0 or tot > 16384: 2960 buf_sz = tot + 16 2961 buf = create_string_buffer(tot + 16) 2966 while tot > 0: 2981 tot -= cnt
|