/Linux-v4.19/arch/powerpc/mm/ |
D | ppc_mmu_32.c | 77 unsigned long tot, bl, done; in mmu_mapin_ram() local 89 tot = top; in mmu_mapin_ram() 91 if (bl * 2 > tot) in mmu_mapin_ram() 97 if ((done < tot) && !bat_addrs[3].limit) { in mmu_mapin_ram() 99 tot -= done; in mmu_mapin_ram() 101 if (bl * 2 > tot) in mmu_mapin_ram()
|
/Linux-v4.19/drivers/media/platform/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-v4.19/fs/nfsd/ |
D | nfssvc.c | 570 int tot = 0; in nfsd_set_nrthreads() local 583 tot = 0; in nfsd_set_nrthreads() 586 tot += nthreads[i]; in nfsd_set_nrthreads() 588 if (tot > NFSD_MAXSERVS) { in nfsd_set_nrthreads() 590 for (i = 0; i < n && tot > 0; i++) { in nfsd_set_nrthreads() 591 int new = nthreads[i] * NFSD_MAXSERVS / tot; in nfsd_set_nrthreads() 592 tot -= (nthreads[i] - new); in nfsd_set_nrthreads() 595 for (i = 0; i < n && tot > 0; i++) { in nfsd_set_nrthreads() 597 tot--; in nfsd_set_nrthreads()
|
/Linux-v4.19/net/ipv4/ |
D | ip_tunnel_core.c | 194 struct rtnl_link_stats64 *tot) in ip_tunnel_get_stats64() argument 198 netdev_stats_to_stats64(tot, &dev->stats); in ip_tunnel_get_stats64() 214 tot->rx_packets += rx_packets; in ip_tunnel_get_stats64() 215 tot->tx_packets += tx_packets; in ip_tunnel_get_stats64() 216 tot->rx_bytes += rx_bytes; in ip_tunnel_get_stats64() 217 tot->tx_bytes += tx_bytes; in ip_tunnel_get_stats64()
|
/Linux-v4.19/fs/xfs/libxfs/ |
D | xfs_dir2.h | 120 xfs_extlen_t tot); 126 xfs_extlen_t tot); 129 xfs_extlen_t tot);
|
/Linux-v4.19/drivers/net/ |
D | veth.c | 248 struct rtnl_link_stats64 *tot) in veth_get_stats64() argument 254 tot->tx_dropped = veth_stats_one(&one, dev); in veth_get_stats64() 255 tot->tx_bytes = one.bytes; in veth_get_stats64() 256 tot->tx_packets = one.packets; in veth_get_stats64() 261 tot->rx_dropped = veth_stats_one(&one, peer); in veth_get_stats64() 262 tot->rx_bytes = one.bytes; in veth_get_stats64() 263 tot->rx_packets = one.packets; in veth_get_stats64()
|
D | xen-netfront.c | 1098 struct rtnl_link_stats64 *tot) in xennet_get_stats64() argument 1121 tot->rx_packets += rx_packets; in xennet_get_stats64() 1122 tot->tx_packets += tx_packets; in xennet_get_stats64() 1123 tot->rx_bytes += rx_bytes; in xennet_get_stats64() 1124 tot->tx_bytes += tx_bytes; in xennet_get_stats64() 1127 tot->rx_errors = dev->stats.rx_errors; in xennet_get_stats64() 1128 tot->tx_dropped = dev->stats.tx_dropped; in xennet_get_stats64()
|
D | virtio_net.c | 1665 struct rtnl_link_stats64 *tot) in virtnet_stats() argument 1689 tot->rx_packets += rpackets; in virtnet_stats() 1690 tot->tx_packets += tpackets; in virtnet_stats() 1691 tot->rx_bytes += rbytes; in virtnet_stats() 1692 tot->tx_bytes += tbytes; in virtnet_stats() 1693 tot->rx_dropped += rdrops; in virtnet_stats() 1696 tot->tx_dropped = dev->stats.tx_dropped; in virtnet_stats() 1697 tot->tx_fifo_errors = dev->stats.tx_fifo_errors; in virtnet_stats() 1698 tot->rx_length_errors = dev->stats.rx_length_errors; in virtnet_stats() 1699 tot->rx_frame_errors = dev->stats.rx_frame_errors; in virtnet_stats()
|
/Linux-v4.19/Documentation/trace/ |
D | tracepoints.rst | 127 int tot = 0; 130 tot += calculate_nuggets(); 132 trace_foo_bar(tot);
|
/Linux-v4.19/drivers/net/hyperv/ |
D | netvsc_drv.c | 1093 struct netvsc_vf_pcpu_stats *tot) in netvsc_get_vf_stats() argument 1098 memset(tot, 0, sizeof(*tot)); in netvsc_get_vf_stats() 1114 tot->rx_packets += rx_packets; in netvsc_get_vf_stats() 1115 tot->tx_packets += tx_packets; in netvsc_get_vf_stats() 1116 tot->rx_bytes += rx_bytes; in netvsc_get_vf_stats() 1117 tot->tx_bytes += tx_bytes; in netvsc_get_vf_stats() 1118 tot->tx_dropped += stats->tx_dropped; in netvsc_get_vf_stats()
|
/Linux-v4.19/tools/perf/ |
D | builtin-c2c.c | 810 int tot = 0, st = 0; in percent_hitm() local 820 tot = total->rmt_hitm; in percent_hitm() 824 tot = total->lcl_hitm; in percent_hitm() 828 tot = total->tot_hitm; in percent_hitm() 833 p = tot ? (double) st / tot : 0; in percent_hitm() 899 static double percent(int st, int tot) in percent() argument 901 return tot ? 100. * (double) st / (double) tot : 0; in percent()
|
/Linux-v4.19/drivers/scsi/lpfc/ |
D | lpfc_debugfs.c | 777 uint64_t tot, totin, totout; in lpfc_debugfs_nvmestat_data() local 890 tot = atomic_read(&tgtp->rcv_fcp_cmd_drop); in lpfc_debugfs_nvmestat_data() 891 tot += atomic_read(&tgtp->xmt_fcp_release); in lpfc_debugfs_nvmestat_data() 892 tot = atomic_read(&tgtp->rcv_fcp_cmd_in) - tot; in lpfc_debugfs_nvmestat_data() 900 tot); in lpfc_debugfs_nvmestat_data() 928 tot = atomic_read(&cstat->fc4NvmeIoCmpls); in lpfc_debugfs_nvmestat_data() 929 totin += tot; in lpfc_debugfs_nvmestat_data() 945 tot, ((data1 + data2 + data3) - tot)); in lpfc_debugfs_nvmestat_data()
|
D | lpfc_attr.c | 160 uint64_t totin, totout, tot; in lpfc_nvme_info_show() local 309 tot = atomic_read(&tgtp->rcv_fcp_cmd_drop); in lpfc_nvme_info_show() 310 tot += atomic_read(&tgtp->xmt_fcp_release); in lpfc_nvme_info_show() 311 tot = atomic_read(&tgtp->rcv_fcp_cmd_in) - tot; in lpfc_nvme_info_show() 319 tot); in lpfc_nvme_info_show() 462 tot = atomic_read(&cstat->fc4NvmeIoCmpls); in lpfc_nvme_info_show() 463 totin += tot; in lpfc_nvme_info_show()
|
D | lpfc_init.c | 1266 uint64_t tot, data1, data2, data3; in lpfc_hb_timeout_handler() local 1295 tot = 0xffff; in lpfc_hb_timeout_handler() 1301 tot = atomic_read(&tgtp->rcv_fcp_cmd_drop); in lpfc_hb_timeout_handler() 1302 tot += atomic_read(&tgtp->xmt_fcp_release); in lpfc_hb_timeout_handler() 1303 tot = atomic_read(&tgtp->rcv_fcp_cmd_in) - tot; in lpfc_hb_timeout_handler() 1310 tot = 0; in lpfc_hb_timeout_handler() 1320 tot += (data1 + data2 + data3); in lpfc_hb_timeout_handler() 1321 tot -= atomic_read( in lpfc_hb_timeout_handler() 1345 if (tot < LPFC_NODELAY_MAX_IO || in lpfc_hb_timeout_handler()
|
/Linux-v4.19/drivers/mtd/nand/raw/ |
D | nandsim.c | 449 unsigned long deciles[10], decile_max[10], tot = 0; in nandsim_debugfs_show() local 459 tot += wear; in nandsim_debugfs_show() 477 avg = tot / wear_eb_count; in nandsim_debugfs_show() 480 seq_printf(m, "Total numbers of erases: %lu\n", tot); in nandsim_debugfs_show()
|
/Linux-v4.19/drivers/net/ethernet/intel/igb/ |
D | e1000_hw.h | 209 u64 tot; member
|
/Linux-v4.19/include/net/ |
D | ip_tunnels.h | 295 struct rtnl_link_stats64 *tot);
|
/Linux-v4.19/drivers/net/ethernet/toshiba/ |
D | spider_net.c | 1000 int tot = 0; in show_rx_chain() local 1045 tot ++; in show_rx_chain() 1050 "for a total of %d descrs\n", cnt, cstat, tot); in show_rx_chain()
|
/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/ |
D | dsi.c | 4332 int bl, wc, pps, tot; in print_dsi_vm() local 4337 tot = bl + pps; in print_dsi_vm() 4346 bl, pps, tot, in print_dsi_vm() 4357 TO_DSI_T(tot)); in print_dsi_vm() 4364 int hact, bl, tot; in print_dispc_vm() local 4368 tot = hact + bl; in print_dispc_vm() 4377 bl, hact, tot, in print_dispc_vm() 4384 TO_DISPC_T(tot)); in print_dispc_vm()
|
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dsi.c | 4331 int bl, wc, pps, tot; in print_dsi_vm() local 4336 tot = bl + pps; in print_dsi_vm() 4345 bl, pps, tot, in print_dsi_vm() 4356 TO_DSI_T(tot)); in print_dsi_vm() 4363 int hact, bl, tot; in print_dispc_vm() local 4367 tot = hact + bl; in print_dispc_vm() 4376 bl, hact, tot, in print_dispc_vm() 4383 TO_DISPC_T(tot)); in print_dispc_vm()
|
/Linux-v4.19/drivers/net/ethernet/intel/e1000e/ |
D | hw.h | 378 u64 tot; member
|
/Linux-v4.19/fs/ |
D | buffer.c | 3348 int tot = 0; in recalc_bh_state() local 3354 tot += per_cpu(bh_accounting, i).nr; in recalc_bh_state() 3355 buffer_heads_over_limit = (tot > max_buffer_heads); in recalc_bh_state()
|
/Linux-v4.19/fs/ocfs2/dlm/ |
D | dlmrecovery.c | 159 int tot=0; in dlm_dispatch_work() local 166 tot++; in dlm_dispatch_work() 168 mlog(0, "%s: work thread has %d work items\n", dlm->name, tot); in dlm_dispatch_work()
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_main.c | 1658 unsigned long tot = 0; in collect_sge_port_stats() local 1661 tot += adapter->sge.qs[i].port_stats[idx]; in collect_sge_port_stats() 1662 return tot; in collect_sge_port_stats()
|
/Linux-v4.19/drivers/mmc/core/ |
D | mmc_test.c | 590 uint64_t tot = bytes * count; in mmc_test_print_avg_rate() local 595 rate = mmc_test_rate(tot, &ts); in mmc_test_print_avg_rate()
|