/linux-master/drivers/media/test-drivers/vivid/ |
H A D | vivid-vbi-gen.c | 71 unsigned tot = 0; local 76 tot += cc[2 * i]; 78 cc[14] = cc[15] = !(tot & 1); 169 unsigned tot = 0; local 172 tot += (val & (1 << i)) ? 1 : 0; 173 return val | ((tot & 1) ? 0 : 0x80);
|
/linux-master/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_inq.c | 343 ssize_t ret, tot; local 407 tot = 0; 414 tot += ret; 418 if (tcp_inq > expect_len - tot) 420 tcp_inq, expect_len - tot, (int)expect_len); 422 assert(tcp_inq <= expect_len - tot); 423 } while ((size_t)tot < expect_len);
|
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_dir2.h | 56 xfs_extlen_t tot); 62 xfs_extlen_t tot); 65 xfs_extlen_t tot);
|
/linux-master/fs/nfsd/ |
H A D | nfssvc.c | 717 int tot = 0; local 730 tot = 0; 733 tot += nthreads[i]; 735 if (tot > NFSD_MAXSERVS) { 737 for (i = 0; i < n && tot > 0; i++) { 738 int new = nthreads[i] * NFSD_MAXSERVS / tot; 739 tot -= (nthreads[i] - new); 742 for (i = 0; i < n && tot > 0; i++) { 744 tot--;
|
/linux-master/drivers/net/ |
H A D | veth.c | 422 struct rtnl_link_stats64 *tot) 428 tot->tx_dropped = atomic64_read(&priv->dropped); 429 dev_fetch_sw_netstats(tot, dev->tstats); 432 tot->tx_dropped += rx.xdp_tx_err; 433 tot->rx_dropped = rx.rx_drops + rx.peer_tq_xdp_xmit_err; 434 tot->rx_bytes += rx.xdp_bytes; 435 tot->rx_packets += rx.xdp_packets; 443 tot->rx_bytes += tot_peer.tx_bytes; 444 tot->rx_packets += tot_peer.tx_packets; 447 tot 421 veth_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *tot) argument [all...] |
H A D | xen-netfront.c | 1384 struct rtnl_link_stats64 *tot) 1407 tot->rx_packets += rx_packets; 1408 tot->tx_packets += tx_packets; 1409 tot->rx_bytes += rx_bytes; 1410 tot->tx_bytes += tx_bytes; 1413 tot->rx_errors = dev->stats.rx_errors; 1414 tot->tx_dropped = dev->stats.tx_dropped; 1383 xennet_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *tot) argument
|
H A D | virtio_net.c | 2625 struct rtnl_link_stats64 *tot) 2650 tot->rx_packets += rpackets; 2651 tot->tx_packets += tpackets; 2652 tot->rx_bytes += rbytes; 2653 tot->tx_bytes += tbytes; 2654 tot->rx_dropped += rdrops; 2655 tot->tx_errors += terrors; 2658 tot->tx_dropped = DEV_STATS_READ(dev, tx_dropped); 2659 tot->tx_fifo_errors = DEV_STATS_READ(dev, tx_fifo_errors); 2660 tot 2624 virtnet_stats(struct net_device *dev, struct rtnl_link_stats64 *tot) argument [all...] |
/linux-master/tools/testing/selftests/net/openvswitch/ |
H A D | ovs-dpctl.py | 68 tot = 0 71 return tot 72 tot += 1 73 return tot 77 tot = 0 80 return tot 81 tot += 1 82 return tot
|
/linux-master/drivers/net/ethernet/intel/igc/ |
H A D | igc_hw.h | 249 u64 tot; member in struct:igc_hw_stats
|
/linux-master/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_ethtool.c | 756 u64 *totals, *tot; local 766 *data = (cnt); *tot++ += *data++; \ 773 tot = totals; 799 tot = totals; 814 tot = totals;
|
/linux-master/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_transport.c | 12 #define ADF_PERCENT(tot, percent) (((tot) * (percent)) / 100)
|
/linux-master/drivers/net/hyperv/ |
H A D | netvsc_drv.c | 1257 struct netvsc_vf_pcpu_stats *tot) 1262 memset(tot, 0, sizeof(*tot)); 1278 tot->rx_packets += rx_packets; 1279 tot->tx_packets += tx_packets; 1280 tot->rx_bytes += rx_bytes; 1281 tot->tx_bytes += tx_bytes; 1282 tot->tx_dropped += stats->tx_dropped; 1256 netvsc_get_vf_stats(struct net_device *net, struct netvsc_vf_pcpu_stats *tot) argument
|
/linux-master/drivers/scsi/lpfc/ |
H A D | lpfc_debugfs.c | 423 "tot:%d get:%d put:%d mt:%d " 1036 uint64_t tot, totin, totout; local 1149 tot = atomic_read(&tgtp->rcv_fcp_cmd_drop); 1150 tot += atomic_read(&tgtp->xmt_fcp_release); 1151 tot = atomic_read(&tgtp->rcv_fcp_cmd_in) - tot; 1154 "IO_CTX: %08x WAIT: cur %08x tot %08x\n" 1159 tot); 1183 tot = cstat->io_cmpls; 1184 totin += tot; 1255 u64 tot, totin, totout; local [all...] |
H A D | lpfc_attr.c | 346 uint64_t totin, totout, tot; local 496 tot = atomic_read(&tgtp->rcv_fcp_cmd_drop); 497 tot += atomic_read(&tgtp->xmt_fcp_release); 498 tot = atomic_read(&tgtp->rcv_fcp_cmd_in) - tot; 501 "IO_CTX: %08x WAIT: cur %08x tot %08x\n" 506 tot); 649 tot = cstat->io_cmpls; 650 totin += tot; 713 u64 tot, toti local [all...] |
/linux-master/tools/perf/ |
H A D | builtin-c2c.c | 814 int tot = 0, st = 0; local 824 tot = total->rmt_hitm; 828 tot = total->lcl_hitm; 832 tot = total->tot_hitm; 836 tot = total->tot_peer; 842 p = tot ? (double) st / tot : 0; 908 static double percent(u32 st, u32 tot) argument 910 return tot ? 100. * (double) st / (double) tot [all...] |
H A D | builtin-kvm.c | 235 static double percent(u64 st, u64 tot) argument 237 return tot ? 100. * (double) st / (double) tot : 0;
|
/linux-master/drivers/net/ethernet/intel/igb/ |
H A D | e1000_hw.h | 209 u64 tot; member in struct:e1000_hw_stats
|
/linux-master/drivers/net/ethernet/toshiba/ |
H A D | spider_net.c | 999 int tot = 0; local 1044 tot ++; 1049 "for a total of %d descrs\n", cnt, cstat, tot);
|
/linux-master/drivers/mtd/nand/raw/ |
H A D | nandsim.c | 443 unsigned long deciles[10], decile_max[10], tot = 0; local 453 tot += wear; 471 avg = tot / wear_eb_count; 474 seq_printf(m, "Total numbers of erases: %lu\n", tot);
|
/linux-master/drivers/net/ethernet/intel/e1000e/ |
H A D | hw.h | 422 u64 tot; member in struct:e1000_hw_stats
|
/linux-master/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | dsi.c | 4321 int bl, wc, pps, tot; local 4326 tot = bl + pps; 4335 bl, pps, tot, 4346 TO_DSI_T(tot)); 4353 int hact, bl, tot; local 4357 tot = hact + bl; 4366 bl, hact, tot, 4373 TO_DISPC_T(tot));
|
/linux-master/drivers/gpu/drm/omapdrm/dss/ |
H A D | dsi.c | 3580 int bl, wc, pps, tot; local 3585 tot = bl + pps; 3594 bl, pps, tot, 3605 TO_DSI_T(tot)); 3612 int hact, bl, tot; local 3616 tot = hact + bl; 3625 bl, hact, tot, 3632 TO_DISPC_T(tot));
|
/linux-master/drivers/gpu/drm/bridge/ |
H A D | tc358768.c | 815 u32 tot = dsi_hfp + dsi_hsw + dsi_hss; local 817 dsi_hsw = tot / 3;
|
/linux-master/fs/ocfs2/dlm/ |
H A D | dlmrecovery.c | 135 int tot=0; local 142 tot++; 144 mlog(0, "%s: work thread has %d work items\n", dlm->name, tot);
|
/linux-master/fs/ntfs3/ |
H A D | index.c | 617 u32 tot = le32_to_cpu(hdr->total); local 620 if (!IS_ALIGNED(off, 8) || tot > bytes || end > tot ||
|