Home
last modified time | relevance | path

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

/linux-4.1.27/net/ipv4/
Dip_tunnel_core.c164 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/
Dppc_mmu_32.c77 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/
Dveth.c164 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()
Dvirtio_net.c1052 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 …]
Dxen-netfront.c1020 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/
Dvivid-vbi-gen.c83 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/
Dnfssvc.c462 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/
Dxfs_dir2.h132 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/
Dlov_request.c561 #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/
Dtracepoints.txt124 int tot = 0;
127 tot += calculate_nuggets();
129 trace_foo_bar(tot);
/linux-4.1.27/drivers/infiniband/hw/amso1100/
Dc2_qp.c661 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/
Dip_tunnels.h159 struct rtnl_link_stats64 *tot);
/linux-4.1.27/drivers/staging/unisys/uislib/
Duislib.c986 #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/
Dvvp_io.c487 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/
De1000_hw.h227 u64 tot; member
Digb_ethtool.c579 regs_buff[98] = adapter->stats.tot; in igb_get_regs()
Digb_main.c5316 adapter->stats.tot += rd32(E1000_TOTH); in igb_update_stats()
/linux-4.1.27/drivers/mtd/nand/
Dnandsim.c456 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/
Dhw.h382 u64 tot; member
/linux-4.1.27/drivers/net/ethernet/toshiba/
Dspider_net.c1001 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/
Ddsi.c4340 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/
Ddlmrecovery.c159 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/
Dbuffer.c3313 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/
Dcxgb3_main.c1654 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/
Dmmc_test.c576 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()