Home
last modified time | relevance | path

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

12

/linux/drivers/media/test-drivers/vivid/
A Dvivid-vbi-gen.c71 unsigned tot = 0; in cc_insert() local
76 tot += cc[2 * i]; in cc_insert()
78 cc[14] = cc[15] = !(tot & 1); in cc_insert()
169 unsigned tot = 0; in calc_parity() local
172 tot += (val & (1 << i)) ? 1 : 0; in calc_parity()
173 return val | ((tot & 1) ? 0 : 0x80); in calc_parity()
/linux/fs/nfsd/
A Dnfssvc.c715 int tot = 0; in nfsd_set_nrthreads() local
728 tot = 0; in nfsd_set_nrthreads()
731 tot += nthreads[i]; in nfsd_set_nrthreads()
733 if (tot > NFSD_MAXSERVS) { in nfsd_set_nrthreads()
735 for (i = 0; i < n && tot > 0; i++) { in nfsd_set_nrthreads()
736 int new = nthreads[i] * NFSD_MAXSERVS / tot; in nfsd_set_nrthreads()
737 tot -= (nthreads[i] - new); in nfsd_set_nrthreads()
740 for (i = 0; i < n && tot > 0; i++) { in nfsd_set_nrthreads()
742 tot--; in nfsd_set_nrthreads()
/linux/fs/xfs/libxfs/
A Dxfs_dir2.h43 xfs_extlen_t tot);
49 xfs_extlen_t tot);
52 xfs_extlen_t tot);
/linux/drivers/net/
A Dveth.c405 struct rtnl_link_stats64 *tot) in veth_get_stats64() argument
413 tot->tx_bytes = bytes; in veth_get_stats64()
414 tot->tx_packets = packets; in veth_get_stats64()
417 tot->tx_dropped += rx.xdp_tx_err; in veth_get_stats64()
419 tot->rx_bytes = rx.xdp_bytes; in veth_get_stats64()
420 tot->rx_packets = rx.xdp_packets; in veth_get_stats64()
426 tot->rx_bytes += bytes; in veth_get_stats64()
427 tot->rx_packets += packets; in veth_get_stats64()
431 tot->rx_dropped += rx.xdp_tx_err; in veth_get_stats64()
432 tot->tx_bytes += rx.xdp_bytes; in veth_get_stats64()
[all …]
A Dvirtio_net.c1870 struct rtnl_link_stats64 *tot) in virtnet_stats() argument
1895 tot->rx_packets += rpackets; in virtnet_stats()
1896 tot->tx_packets += tpackets; in virtnet_stats()
1897 tot->rx_bytes += rbytes; in virtnet_stats()
1898 tot->tx_bytes += tbytes; in virtnet_stats()
1899 tot->rx_dropped += rdrops; in virtnet_stats()
1900 tot->tx_errors += terrors; in virtnet_stats()
1903 tot->tx_dropped = dev->stats.tx_dropped; in virtnet_stats()
1904 tot->tx_fifo_errors = dev->stats.tx_fifo_errors; in virtnet_stats()
1905 tot->rx_length_errors = dev->stats.rx_length_errors; in virtnet_stats()
[all …]
A Dxen-netfront.c1316 struct rtnl_link_stats64 *tot) in xennet_get_stats64() argument
1339 tot->rx_packets += rx_packets; in xennet_get_stats64()
1340 tot->tx_packets += tx_packets; in xennet_get_stats64()
1341 tot->rx_bytes += rx_bytes; in xennet_get_stats64()
1342 tot->tx_bytes += tx_bytes; in xennet_get_stats64()
1345 tot->rx_errors = dev->stats.rx_errors; in xennet_get_stats64()
1346 tot->tx_dropped = dev->stats.tx_dropped; in xennet_get_stats64()
/linux/Documentation/trace/
A Dtracepoints.rst127 int tot = 0;
130 tot += calculate_nuggets();
132 trace_foo_bar(tot);
/linux/tools/perf/
A Dbuiltin-c2c.c792 int tot = 0, st = 0; in percent_hitm() local
802 tot = total->rmt_hitm; in percent_hitm()
806 tot = total->lcl_hitm; in percent_hitm()
810 tot = total->tot_hitm; in percent_hitm()
815 p = tot ? (double) st / tot : 0; in percent_hitm()
881 static double percent(u32 st, u32 tot) in percent() argument
883 return tot ? 100. * (double) st / (double) tot : 0; in percent()
/linux/drivers/net/hyperv/
A Dnetvsc_drv.c1297 struct netvsc_vf_pcpu_stats *tot) in netvsc_get_vf_stats() argument
1302 memset(tot, 0, sizeof(*tot)); in netvsc_get_vf_stats()
1318 tot->rx_packets += rx_packets; in netvsc_get_vf_stats()
1319 tot->tx_packets += tx_packets; in netvsc_get_vf_stats()
1320 tot->rx_bytes += rx_bytes; in netvsc_get_vf_stats()
1321 tot->tx_bytes += tx_bytes; in netvsc_get_vf_stats()
1322 tot->tx_dropped += stats->tx_dropped; in netvsc_get_vf_stats()
/linux/drivers/scsi/lpfc/
A Dlpfc_debugfs.c1038 uint64_t tot, totin, totout; in lpfc_debugfs_nvmestat_data() local
1151 tot = atomic_read(&tgtp->rcv_fcp_cmd_drop); in lpfc_debugfs_nvmestat_data()
1153 tot = atomic_read(&tgtp->rcv_fcp_cmd_in) - tot; in lpfc_debugfs_nvmestat_data()
1161 tot); in lpfc_debugfs_nvmestat_data()
1185 tot = cstat->io_cmpls; in lpfc_debugfs_nvmestat_data()
1186 totin += tot; in lpfc_debugfs_nvmestat_data()
1202 tot, ((data1 + data2 + data3) - tot)); in lpfc_debugfs_nvmestat_data()
1257 u64 tot, totin, totout; in lpfc_debugfs_scsistat_data() local
1271 tot = cstat->io_cmpls; in lpfc_debugfs_scsistat_data()
1272 totin += tot; in lpfc_debugfs_scsistat_data()
[all …]
A Dlpfc_attr.c346 uint64_t totin, totout, tot; in lpfc_nvme_info_show() local
495 tot = atomic_read(&tgtp->rcv_fcp_cmd_drop); in lpfc_nvme_info_show()
496 tot += atomic_read(&tgtp->xmt_fcp_release); in lpfc_nvme_info_show()
497 tot = atomic_read(&tgtp->rcv_fcp_cmd_in) - tot; in lpfc_nvme_info_show()
505 tot); in lpfc_nvme_info_show()
648 tot = cstat->io_cmpls; in lpfc_nvme_info_show()
649 totin += tot; in lpfc_nvme_info_show()
712 u64 tot, totin, totout; in lpfc_scsi_stat_show() local
726 tot = cstat->io_cmpls; in lpfc_scsi_stat_show()
727 totin += tot; in lpfc_scsi_stat_show()
[all …]
/linux/drivers/net/ethernet/intel/igc/
A Digc_hw.h261 u64 tot; member
/linux/drivers/mtd/nand/raw/
A Dnandsim.c440 unsigned long deciles[10], decile_max[10], tot = 0; in ns_show() local
450 tot += wear; in ns_show()
468 avg = tot / wear_eb_count; in ns_show()
471 seq_printf(m, "Total numbers of erases: %lu\n", tot); in ns_show()
/linux/drivers/gpu/drm/omapdrm/dss/
A Ddsi.c3574 int bl, wc, pps, tot; in print_dsi_vm() local
3579 tot = bl + pps; in print_dsi_vm()
3588 bl, pps, tot, in print_dsi_vm()
3599 TO_DSI_T(tot)); in print_dsi_vm()
3606 int hact, bl, tot; in print_dispc_vm() local
3610 tot = hact + bl; in print_dispc_vm()
3619 bl, hact, tot, in print_dispc_vm()
3626 TO_DISPC_T(tot)); in print_dispc_vm()
/linux/drivers/net/ethernet/toshiba/
A Dspider_net.c998 int tot = 0; in show_rx_chain() local
1043 tot ++; in show_rx_chain()
1048 "for a total of %d descrs\n", cnt, cstat, tot); in show_rx_chain()
/linux/drivers/video/fbdev/omap2/omapfb/dss/
A Ddsi.c4315 int bl, wc, pps, tot; in print_dsi_vm() local
4320 tot = bl + pps; in print_dsi_vm()
4329 bl, pps, tot, in print_dsi_vm()
4340 TO_DSI_T(tot)); in print_dsi_vm()
4347 int hact, bl, tot; in print_dispc_vm() local
4351 tot = hact + bl; in print_dispc_vm()
4360 bl, hact, tot, in print_dispc_vm()
4367 TO_DISPC_T(tot)); in print_dispc_vm()
/linux/drivers/net/ethernet/intel/igb/
A De1000_hw.h209 u64 tot; member
/linux/drivers/net/ethernet/intel/e1000e/
A Dhw.h410 u64 tot; member
/linux/fs/
A Dbuffer.c3297 int tot = 0; in recalc_bh_state() local
3303 tot += per_cpu(bh_accounting, i).nr; in recalc_bh_state()
3304 buffer_heads_over_limit = (tot > max_buffer_heads); in recalc_bh_state()
/linux/fs/ocfs2/dlm/
A Ddlmrecovery.c135 int tot=0; in dlm_dispatch_work() local
142 tot++; in dlm_dispatch_work()
144 mlog(0, "%s: work thread has %d work items\n", dlm->name, tot); in dlm_dispatch_work()
/linux/tools/perf/scripts/python/
A Dexported-sql-viewer.py2949 tot = bsym_start + boff + 1 - sym_start - off
2950 if tot <= 0 or tot > 16384:
2960 buf_sz = tot + 16
2961 buf = create_string_buffer(tot + 16)
2966 while tot > 0:
2981 tot -= cnt
/linux/drivers/net/ethernet/chelsio/cxgb3/
A Dcxgb3_main.c1655 unsigned long tot = 0; in collect_sge_port_stats() local
1658 tot += adapter->sge.qs[i].port_stats[idx]; in collect_sge_port_stats()
1659 return tot; in collect_sge_port_stats()
/linux/net/ipv4/
A Dnexthop.c786 size_t tot = nla_total_size(sz) + in nh_nlmsg_size_grp() local
790 tot += nh_nlmsg_size_grp_res(nhg); in nh_nlmsg_size_grp()
792 return tot; in nh_nlmsg_size_grp()
/linux/drivers/mmc/core/
A Dmmc_test.c587 uint64_t tot = bytes * count; in mmc_test_print_avg_rate() local
592 rate = mmc_test_rate(tot, &ts); in mmc_test_print_avg_rate()
/linux/drivers/net/ethernet/mellanox/mlx4/
A Dresource_tracker.c2733 int tot; in qp_get_mtt_size() local
2738 tot = (total_mem + (page_offset << 6)) >> page_shift; in qp_get_mtt_size()
2739 total_pages = !tot ? 1 : roundup_pow_of_two(tot); in qp_get_mtt_size()

Completed in 160 milliseconds

12