/linux-4.1.27/net/ipv4/ |
D | ip_tunnel_core.c | 164 struct rtnl_link_stats64 *tot) in ip_tunnel_get_stats64() argument 182 tot->rx_packets += rx_packets; in ip_tunnel_get_stats64() 183 tot->tx_packets += tx_packets; in ip_tunnel_get_stats64() 184 tot->rx_bytes += rx_bytes; in ip_tunnel_get_stats64() 185 tot->tx_bytes += tx_bytes; in ip_tunnel_get_stats64() 188 tot->multicast = dev->stats.multicast; in ip_tunnel_get_stats64() 190 tot->rx_crc_errors = dev->stats.rx_crc_errors; in ip_tunnel_get_stats64() 191 tot->rx_fifo_errors = dev->stats.rx_fifo_errors; in ip_tunnel_get_stats64() 192 tot->rx_length_errors = dev->stats.rx_length_errors; in ip_tunnel_get_stats64() 193 tot->rx_frame_errors = dev->stats.rx_frame_errors; in ip_tunnel_get_stats64() [all …]
|
/linux-4.1.27/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-4.1.27/drivers/net/ |
D | veth.c | 164 struct rtnl_link_stats64 *tot) in veth_get_stats64() argument 170 tot->tx_dropped = veth_stats_one(&one, dev); in veth_get_stats64() 171 tot->tx_bytes = one.bytes; in veth_get_stats64() 172 tot->tx_packets = one.packets; in veth_get_stats64() 177 tot->rx_dropped = veth_stats_one(&one, peer); in veth_get_stats64() 178 tot->rx_bytes = one.bytes; in veth_get_stats64() 179 tot->rx_packets = one.packets; in veth_get_stats64() 183 return tot; in veth_get_stats64()
|
D | virtio_net.c | 1052 struct rtnl_link_stats64 *tot) in virtnet_stats() argument 1074 tot->rx_packets += rpackets; in virtnet_stats() 1075 tot->tx_packets += tpackets; in virtnet_stats() 1076 tot->rx_bytes += rbytes; in virtnet_stats() 1077 tot->tx_bytes += tbytes; in virtnet_stats() 1080 tot->tx_dropped = dev->stats.tx_dropped; in virtnet_stats() 1081 tot->tx_fifo_errors = dev->stats.tx_fifo_errors; in virtnet_stats() 1082 tot->rx_dropped = dev->stats.rx_dropped; in virtnet_stats() 1083 tot->rx_length_errors = dev->stats.rx_length_errors; in virtnet_stats() 1084 tot->rx_frame_errors = dev->stats.rx_frame_errors; in virtnet_stats() [all …]
|
D | xen-netfront.c | 1020 struct rtnl_link_stats64 *tot) in xennet_get_stats64() argument 1043 tot->rx_packets += rx_packets; in xennet_get_stats64() 1044 tot->tx_packets += tx_packets; in xennet_get_stats64() 1045 tot->rx_bytes += rx_bytes; in xennet_get_stats64() 1046 tot->tx_bytes += tx_bytes; in xennet_get_stats64() 1049 tot->rx_errors = dev->stats.rx_errors; in xennet_get_stats64() 1050 tot->tx_dropped = dev->stats.tx_dropped; in xennet_get_stats64() 1052 return tot; in xennet_get_stats64()
|
/linux-4.1.27/drivers/media/platform/vivid/ |
D | vivid-vbi-gen.c | 83 unsigned tot = 0; in cc_insert() local 88 tot += cc[2 * i]; in cc_insert() 90 cc[14] = cc[15] = !(tot & 1); in cc_insert() 181 unsigned tot = 0; in calc_parity() local 184 tot += (val & (1 << i)) ? 1 : 0; in calc_parity() 185 return val | ((tot & 1) ? 0 : 0x80); in calc_parity()
|
/linux-4.1.27/fs/nfsd/ |
D | nfssvc.c | 462 int tot = 0; in nfsd_set_nrthreads() local 475 tot = 0; in nfsd_set_nrthreads() 478 tot += nthreads[i]; in nfsd_set_nrthreads() 480 if (tot > NFSD_MAXSERVS) { in nfsd_set_nrthreads() 482 for (i = 0; i < n && tot > 0; i++) { in nfsd_set_nrthreads() 483 int new = nthreads[i] * NFSD_MAXSERVS / tot; in nfsd_set_nrthreads() 484 tot -= (nthreads[i] - new); in nfsd_set_nrthreads() 487 for (i = 0; i < n && tot > 0; i++) { in nfsd_set_nrthreads() 489 tot--; in nfsd_set_nrthreads()
|
/linux-4.1.27/fs/xfs/libxfs/ |
D | xfs_dir2.h | 132 struct xfs_bmap_free *flist, xfs_extlen_t tot); 139 struct xfs_bmap_free *flist, xfs_extlen_t tot); 143 struct xfs_bmap_free *flist, xfs_extlen_t tot);
|
/linux-4.1.27/drivers/staging/lustre/lustre/lov/ |
D | lov_request.c | 561 #define LOV_SUM_MAX(tot, add) \ argument 563 if ((tot) + (add) < (tot)) \ 564 (tot) = LOV_U64_MAX; \ 566 (tot) += (add); \
|
/linux-4.1.27/Documentation/trace/ |
D | tracepoints.txt | 124 int tot = 0; 127 tot += calculate_nuggets(); 129 trace_foo_bar(tot);
|
/linux-4.1.27/drivers/infiniband/hw/amso1100/ |
D | c2_qp.c | 661 u32 tot = 0; /* running total */ in move_sgl() local 674 if ((tot + src->length) < tot) { in move_sgl() 682 tot += src->length; in move_sgl() 705 *p_len = tot; in move_sgl()
|
/linux-4.1.27/include/net/ |
D | ip_tunnels.h | 159 struct rtnl_link_stats64 *tot);
|
/linux-4.1.27/drivers/staging/unisys/uislib/ |
D | uislib.c | 986 #define PLINE(...) uisutil_add_proc_line_ex(&tot, buff, \ 992 int i, tot = 0; in info_debugfs_read_helper() local 1039 return tot; in info_debugfs_read_helper()
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
D | vvp_io.c | 487 long tot = cio->cui_tot_count; in vvp_io_read_start() local 497 result = ccc_prep_size(env, obj, io, pos, tot, &exceed); in vvp_io_read_start() 517 bead->lrr_count = cl_index(obj, tot + PAGE_CACHE_SIZE - 1); in vvp_io_read_start()
|
/linux-4.1.27/drivers/net/ethernet/intel/igb/ |
D | e1000_hw.h | 227 u64 tot; member
|
D | igb_ethtool.c | 579 regs_buff[98] = adapter->stats.tot; in igb_get_regs()
|
D | igb_main.c | 5316 adapter->stats.tot += rd32(E1000_TOTH); in igb_update_stats()
|
/linux-4.1.27/drivers/mtd/nand/ |
D | nandsim.c | 456 unsigned long deciles[10], decile_max[10], tot = 0; in nandsim_debugfs_show() local 466 tot += wear; in nandsim_debugfs_show() 484 avg = tot / wear_eb_count; in nandsim_debugfs_show() 487 seq_printf(m, "Total numbers of erases: %lu\n", tot); in nandsim_debugfs_show()
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/ |
D | hw.h | 382 u64 tot; member
|
/linux-4.1.27/drivers/net/ethernet/toshiba/ |
D | spider_net.c | 1001 int tot = 0; in show_rx_chain() local 1046 tot ++; in show_rx_chain() 1051 "for a total of %d descrs\n", cnt, cstat, tot); in show_rx_chain()
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
D | dsi.c | 4340 int bl, wc, pps, tot; in print_dsi_vm() local 4345 tot = bl + pps; in print_dsi_vm() 4354 bl, pps, tot, in print_dsi_vm() 4365 TO_DSI_T(tot)); in print_dsi_vm() 4372 int hact, bl, tot; in print_dispc_vm() local 4376 tot = hact + bl; in print_dispc_vm() 4385 bl, hact, tot, in print_dispc_vm() 4392 TO_DISPC_T(tot)); in print_dispc_vm()
|
/linux-4.1.27/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-4.1.27/fs/ |
D | buffer.c | 3313 int tot = 0; in recalc_bh_state() local 3319 tot += per_cpu(bh_accounting, i).nr; in recalc_bh_state() 3320 buffer_heads_over_limit = (tot > max_buffer_heads); in recalc_bh_state()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_main.c | 1654 unsigned long tot = 0; in collect_sge_port_stats() local 1657 tot += adapter->sge.qs[i].port_stats[idx]; in collect_sge_port_stats() 1658 return tot; in collect_sge_port_stats()
|
/linux-4.1.27/drivers/mmc/card/ |
D | mmc_test.c | 576 uint64_t tot = bytes * count; in mmc_test_print_avg_rate() local 581 rate = mmc_test_rate(tot, &ts); in mmc_test_print_avg_rate()
|