Searched refs:tot (Results 1 - 37 of 37) sorted by relevance

/linux-4.4.14/drivers/net/
H A Dveth.c164 struct rtnl_link_stats64 *tot) veth_get_stats64()
170 tot->tx_dropped = veth_stats_one(&one, dev); veth_get_stats64()
171 tot->tx_bytes = one.bytes; veth_get_stats64()
172 tot->tx_packets = one.packets; veth_get_stats64()
177 tot->rx_dropped = veth_stats_one(&one, peer); veth_get_stats64()
178 tot->rx_bytes = one.bytes; veth_get_stats64()
179 tot->rx_packets = one.packets; veth_get_stats64()
183 return tot; veth_get_stats64()
163 veth_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *tot) veth_get_stats64() argument
H A Dvirtio_net.c1057 struct rtnl_link_stats64 *tot) virtnet_stats()
1079 tot->rx_packets += rpackets; for_each_possible_cpu()
1080 tot->tx_packets += tpackets; for_each_possible_cpu()
1081 tot->rx_bytes += rbytes; for_each_possible_cpu()
1082 tot->tx_bytes += tbytes; for_each_possible_cpu()
1085 tot->tx_dropped = dev->stats.tx_dropped;
1086 tot->tx_fifo_errors = dev->stats.tx_fifo_errors;
1087 tot->rx_dropped = dev->stats.rx_dropped;
1088 tot->rx_length_errors = dev->stats.rx_length_errors;
1089 tot->rx_frame_errors = dev->stats.rx_frame_errors;
1091 return tot;
1056 virtnet_stats(struct net_device *dev, struct rtnl_link_stats64 *tot) virtnet_stats() argument
H A Dxen-netfront.c1071 struct rtnl_link_stats64 *tot) xennet_get_stats64()
1094 tot->rx_packets += rx_packets; for_each_possible_cpu()
1095 tot->tx_packets += tx_packets; for_each_possible_cpu()
1096 tot->rx_bytes += rx_bytes; for_each_possible_cpu()
1097 tot->tx_bytes += tx_bytes; for_each_possible_cpu()
1100 tot->rx_errors = dev->stats.rx_errors;
1101 tot->tx_dropped = dev->stats.tx_dropped;
1103 return tot;
1070 xennet_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *tot) xennet_get_stats64() argument
/linux-4.4.14/drivers/media/platform/vivid/
H A Dvivid-vbi-gen.c83 unsigned tot = 0; cc_insert() local
88 tot += cc[2 * i]; cc_insert()
90 cc[14] = cc[15] = !(tot & 1); cc_insert()
181 unsigned tot = 0; calc_parity() local
184 tot += (val & (1 << i)) ? 1 : 0; calc_parity()
185 return val | ((tot & 1) ? 0 : 0x80); calc_parity()
/linux-4.4.14/arch/powerpc/mm/
H A Dppc_mmu_32.c77 unsigned long tot, bl, done; mmu_mapin_ram() local
89 tot = top; mmu_mapin_ram()
91 if (bl * 2 > tot) mmu_mapin_ram()
97 if ((done < tot) && !bat_addrs[3].limit) { mmu_mapin_ram()
99 tot -= done; mmu_mapin_ram()
101 if (bl * 2 > tot) mmu_mapin_ram()
/linux-4.4.14/net/ipv4/
H A Dip_tunnel_core.c193 struct rtnl_link_stats64 *tot) ip_tunnel_get_stats64()
197 netdev_stats_to_stats64(tot, &dev->stats); ip_tunnel_get_stats64()
213 tot->rx_packets += rx_packets; for_each_possible_cpu()
214 tot->tx_packets += tx_packets; for_each_possible_cpu()
215 tot->rx_bytes += rx_bytes; for_each_possible_cpu()
216 tot->tx_bytes += tx_bytes; for_each_possible_cpu()
219 return tot;
192 ip_tunnel_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *tot) ip_tunnel_get_stats64() argument
/linux-4.4.14/drivers/net/wireless/realtek/rtl818x/rtl8180/
H A Drtl8180.h28 * mac80211 can use just one, + beacon = 2 tot.
33 * mac80211 can use 4 QoS data queue, + beacon = 5 tot
/linux-4.4.14/fs/nfsd/
H A Dnfssvc.c470 int tot = 0; nfsd_set_nrthreads() local
483 tot = 0; nfsd_set_nrthreads()
486 tot += nthreads[i]; nfsd_set_nrthreads()
488 if (tot > NFSD_MAXSERVS) { nfsd_set_nrthreads()
490 for (i = 0; i < n && tot > 0; i++) { nfsd_set_nrthreads()
491 int new = nthreads[i] * NFSD_MAXSERVS / tot; nfsd_set_nrthreads()
492 tot -= (nthreads[i] - new); nfsd_set_nrthreads()
495 for (i = 0; i < n && tot > 0; i++) { nfsd_set_nrthreads()
497 tot--; nfsd_set_nrthreads()
/linux-4.4.14/fs/xfs/libxfs/
H A 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/
H A Dlov_request.c550 #define LOV_SUM_MAX(tot, add) \
552 if ((tot) + (add) < (tot)) \
553 (tot) = LOV_U64_MAX; \
555 (tot) += (add); \
/linux-4.4.14/drivers/staging/rdma/amso1100/
H A Dc2_qp.c661 u32 tot = 0; /* running total */ move_sgl() local
674 if ((tot + src->length) < tot) { move_sgl()
682 tot += src->length; move_sgl()
705 *p_len = tot; move_sgl()
/linux-4.4.14/lib/842/
H A D842_decompress.c205 pr_debug("index%x to %lx off %lx adjoff %lx tot %lx data %lx\n", __do_index()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
H A De1000_hw.h227 u64 tot; member in struct:e1000_hw_stats
H A Digb_ethtool.c579 regs_buff[98] = adapter->stats.tot; igb_get_regs()
H A Digb_main.c5307 adapter->stats.tot += rd32(E1000_TOTH); igb_update_stats()
/linux-4.4.14/include/net/
H A Dip_tunnels.h237 struct rtnl_link_stats64 *tot);
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
H A Dvvp_io.c485 long tot = cio->cui_tot_count; vvp_io_read_start() local
495 result = ccc_prep_size(env, obj, io, pos, tot, &exceed); vvp_io_read_start()
515 bead->lrr_count = cl_index(obj, tot + PAGE_CACHE_SIZE - 1); vvp_io_read_start()
/linux-4.4.14/drivers/net/wireless/ath/ar5523/
H A Dar5523.c776 ar5523_dbg(ar, "stop queues (tot %d pend %d)\n", ar5523_tx()
912 ar5523_err(ar, "TX queue stuck (tot %d pend %d)\n", ar5523_tx_wd_work()
930 ar5523_err(ar, "flush timeout (tot %d pend %d)\n", ar5523_flush_tx()
/linux-4.4.14/drivers/target/
H A Dtarget_core_rd.c265 * tot sg needed = rd_page_count * (PGSZ/block_size) * rd_build_prot_space()
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
H A Dhw.h382 u64 tot; member in struct:e1000_hw_stats
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
H A Ddsi.c4341 int bl, wc, pps, tot; print_dsi_vm() local
4346 tot = bl + pps; print_dsi_vm()
4355 bl, pps, tot, print_dsi_vm()
4366 TO_DSI_T(tot)); print_dsi_vm()
4373 int hact, bl, tot; print_dispc_vm() local
4377 tot = hact + bl; print_dispc_vm()
4386 bl, hact, tot, print_dispc_vm()
4393 TO_DISPC_T(tot)); print_dispc_vm()
/linux-4.4.14/drivers/net/ethernet/toshiba/
H A Dspider_net.c1000 int tot = 0; show_rx_chain() local
1045 tot ++; show_rx_chain()
1050 "for a total of %d descrs\n", cnt, cstat, tot); show_rx_chain()
/linux-4.4.14/drivers/tty/serial/
H A Darc_uart.c69 #define RXFULL1 0x10 /* Receive FIFO has space for 1 char (tot space=4) */
/linux-4.4.14/drivers/mtd/nand/
H A Dnandsim.c456 unsigned long deciles[10], decile_max[10], tot = 0; nandsim_debugfs_show() local
466 tot += wear; nandsim_debugfs_show()
484 avg = tot / wear_eb_count; nandsim_debugfs_show()
487 seq_printf(m, "Total numbers of erases: %lu\n", tot); nandsim_debugfs_show()
/linux-4.4.14/drivers/video/fbdev/intelfb/
H A Dintelfbhw.c1183 DBG_MSG("H: act %d, ss %d, se %d, tot %d bs %d, be %d\n", intelfbhw_mode_to_hw()
1196 DBG_MSG("V: act %d, ss %d, se %d, tot %d bs %d, be %d\n", intelfbhw_mode_to_hw()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_main.c1654 unsigned long tot = 0; collect_sge_port_stats() local
1657 tot += adapter->sge.qs[i].port_stats[idx]; collect_sge_port_stats()
1658 return tot; collect_sge_port_stats()
/linux-4.4.14/fs/ocfs2/dlm/
H A Ddlmrecovery.c159 int tot=0; dlm_dispatch_work() local
166 tot++; dlm_dispatch_work()
168 mlog(0, "%s: work thread has %d work items\n", dlm->name, tot); dlm_dispatch_work()
/linux-4.4.14/drivers/mmc/card/
H A Dmmc_test.c570 uint64_t tot = bytes * count; mmc_test_print_avg_rate() local
575 rate = mmc_test_rate(tot, &ts); mmc_test_print_avg_rate()
/linux-4.4.14/drivers/media/pci/zoran/
H A Dzr36050.c505 "%s: code: csize=%d, tot=%d, bit=%ld, highbits=%ld\n", zr36050_init()
H A Dzr36060.c491 "%s: code: csize=%d, tot=%d, bit=%ld, highbits=%ld\n", zr36060_init()
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
H A Dsdio.c231 "hif-scatter: (%s) addr: 0x%X, (block len: %d, block count: %d) , (tot:%d,sg:%d)\n", ath6kl_sdio_setup_scat_data()
/linux-4.4.14/fs/ubifs/
H A Dorphan.c543 dbg_mnt("ino %lu, new %d, tot %d", (unsigned long)inum, insert_dead_orphan()
/linux-4.4.14/drivers/gpu/drm/i915/
H A Di915_debugfs.c2427 uint64_t tot = 0; i915_guc_client_info() local
2445 tot += client->submissions[i]; for_each_ring()
2447 seq_printf(m, "\tTotal: %llu\n", tot);
/linux-4.4.14/fs/
H A Dbuffer.c3313 int tot = 0; recalc_bh_state() local
3319 tot += per_cpu(bh_accounting, i).nr; recalc_bh_state()
3320 buffer_heads_over_limit = (tot > max_buffer_heads); recalc_bh_state()
/linux-4.4.14/drivers/atm/
H A Dfirestream.c99 /* tot mem: almost 4M */
/linux-4.4.14/mm/
H A Dpage-writeback.c1081 /* keep avg > 0 to guarantee that tot > 0 if there are dirty wbs */ wb_update_write_bandwidth()
/linux-4.4.14/drivers/net/wireless/ath/wcn36xx/
H A Dhal.h3274 * ucUcastPatternFilteringEnable flag must be set tot true as well

Completed in 1734 milliseconds