Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/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.c1057 struct rtnl_link_stats64 *tot) in virtnet_stats() argument
1079 tot->rx_packets += rpackets; in virtnet_stats()
1080 tot->tx_packets += tpackets; in virtnet_stats()
1081 tot->rx_bytes += rbytes; in virtnet_stats()
1082 tot->tx_bytes += tbytes; in virtnet_stats()
1085 tot->tx_dropped = dev->stats.tx_dropped; in virtnet_stats()
1086 tot->tx_fifo_errors = dev->stats.tx_fifo_errors; in virtnet_stats()
1087 tot->rx_dropped = dev->stats.rx_dropped; in virtnet_stats()
1088 tot->rx_length_errors = dev->stats.rx_length_errors; in virtnet_stats()
1089 tot->rx_frame_errors = dev->stats.rx_frame_errors; in virtnet_stats()
[all …]
Dxen-netfront.c1071 struct rtnl_link_stats64 *tot) in xennet_get_stats64() argument
1094 tot->rx_packets += rx_packets; in xennet_get_stats64()
1095 tot->tx_packets += tx_packets; in xennet_get_stats64()
1096 tot->rx_bytes += rx_bytes; in xennet_get_stats64()
1097 tot->tx_bytes += tx_bytes; in xennet_get_stats64()
1100 tot->rx_errors = dev->stats.rx_errors; in xennet_get_stats64()
1101 tot->tx_dropped = dev->stats.tx_dropped; in xennet_get_stats64()
1103 return tot; in xennet_get_stats64()
/linux-4.4.14/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.4.14/fs/nfsd/
Dnfssvc.c470 int tot = 0; in nfsd_set_nrthreads() local
483 tot = 0; in nfsd_set_nrthreads()
486 tot += nthreads[i]; in nfsd_set_nrthreads()
488 if (tot > NFSD_MAXSERVS) { in nfsd_set_nrthreads()
490 for (i = 0; i < n && tot > 0; i++) { in nfsd_set_nrthreads()
491 int new = nthreads[i] * NFSD_MAXSERVS / tot; in nfsd_set_nrthreads()
492 tot -= (nthreads[i] - new); in nfsd_set_nrthreads()
495 for (i = 0; i < n && tot > 0; i++) { in nfsd_set_nrthreads()
497 tot--; in nfsd_set_nrthreads()
/linux-4.4.14/net/ipv4/
Dip_tunnel_core.c193 struct rtnl_link_stats64 *tot) in ip_tunnel_get_stats64() argument
197 netdev_stats_to_stats64(tot, &dev->stats); in ip_tunnel_get_stats64()
213 tot->rx_packets += rx_packets; in ip_tunnel_get_stats64()
214 tot->tx_packets += tx_packets; in ip_tunnel_get_stats64()
215 tot->rx_bytes += rx_bytes; in ip_tunnel_get_stats64()
216 tot->tx_bytes += tx_bytes; in ip_tunnel_get_stats64()
219 return tot; in ip_tunnel_get_stats64()
/linux-4.4.14/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.4.14/drivers/staging/lustre/lustre/lov/
Dlov_request.c550 #define LOV_SUM_MAX(tot, add) \ argument
552 if ((tot) + (add) < (tot)) \
553 (tot) = LOV_U64_MAX; \
555 (tot) += (add); \
/linux-4.4.14/Documentation/trace/
Dtracepoints.txt124 int tot = 0;
127 tot += calculate_nuggets();
129 trace_foo_bar(tot);
/linux-4.4.14/drivers/staging/rdma/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.4.14/drivers/staging/lustre/lustre/llite/
Dvvp_io.c485 long tot = cio->cui_tot_count; in vvp_io_read_start() local
495 result = ccc_prep_size(env, obj, io, pos, tot, &exceed); in vvp_io_read_start()
515 bead->lrr_count = cl_index(obj, tot + PAGE_CACHE_SIZE - 1); in vvp_io_read_start()
/linux-4.4.14/include/net/
Dip_tunnels.h237 struct rtnl_link_stats64 *tot);
/linux-4.4.14/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.c5307 adapter->stats.tot += rd32(E1000_TOTH); in igb_update_stats()
/linux-4.4.14/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.4.14/drivers/net/ethernet/intel/e1000e/
Dhw.h382 u64 tot; member
/linux-4.4.14/drivers/net/ethernet/toshiba/
Dspider_net.c1000 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-4.4.14/drivers/video/fbdev/omap2/dss/
Ddsi.c4341 int bl, wc, pps, tot; in print_dsi_vm() local
4346 tot = bl + pps; in print_dsi_vm()
4355 bl, pps, tot, in print_dsi_vm()
4366 TO_DSI_T(tot)); in print_dsi_vm()
4373 int hact, bl, tot; in print_dispc_vm() local
4377 tot = hact + bl; in print_dispc_vm()
4386 bl, hact, tot, in print_dispc_vm()
4393 TO_DISPC_T(tot)); in print_dispc_vm()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/mmc/card/
Dmmc_test.c570 uint64_t tot = bytes * count; in mmc_test_print_avg_rate() local
575 rate = mmc_test_rate(tot, &ts); in mmc_test_print_avg_rate()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_debugfs.c2427 uint64_t tot = 0; in i915_guc_client_info() local
2445 tot += client->submissions[i]; in i915_guc_client_info()
2447 seq_printf(m, "\tTotal: %llu\n", tot); in i915_guc_client_info()