Home
last modified time | relevance | path

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

12

/openbmc/qemu/target/riscv/
H A Dvector_internals.c24 uint32_t tot) in vext_set_elems_1s() argument
30 if (tot - cnt == 0) { in vext_set_elems_1s()
40 if (((tot - 1) ^ cnt) < 8) { in vext_set_elems_1s()
41 memset(base + H1(tot - 1), -1, tot - cnt); in vext_set_elems_1s()
55 memset(base + cnt, -1, tot - cnt); in vext_set_elems_1s()
H A Dvector_internals.h125 uint32_t tot);
/openbmc/linux/drivers/media/test-drivers/vivid/
H 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()
/openbmc/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_inq.c343 ssize_t ret, tot; in process_one_client() local
407 tot = 0; in process_one_client()
414 tot += ret; in process_one_client()
418 if (tcp_inq > expect_len - tot) in process_one_client()
420 tcp_inq, expect_len - tot, (int)expect_len); in process_one_client()
422 assert(tcp_inq <= expect_len - tot); in process_one_client()
423 } while ((size_t)tot < expect_len); in process_one_client()
/openbmc/linux/fs/nfsd/
H A Dnfssvc.c725 int tot = 0; in nfsd_set_nrthreads() local
738 tot = 0; in nfsd_set_nrthreads()
741 tot += nthreads[i]; in nfsd_set_nrthreads()
743 if (tot > NFSD_MAXSERVS) { in nfsd_set_nrthreads()
745 for (i = 0; i < n && tot > 0; i++) { in nfsd_set_nrthreads()
746 int new = nthreads[i] * NFSD_MAXSERVS / tot; in nfsd_set_nrthreads()
747 tot -= (nthreads[i] - new); in nfsd_set_nrthreads()
750 for (i = 0; i < n && tot > 0; i++) { in nfsd_set_nrthreads()
752 tot--; in nfsd_set_nrthreads()
/openbmc/openbmc/poky/meta/files/common-licenses/
H A DCC-BY-3.0-NL15 …f meer andere werken, die elk een afzonderlijk en zelfstandig werk vormen, tot een geheel is samen…
27 … Licentie uitoefent en die de voorwaarden van deze Licentie met betrekking tot het Werk niet eerde…
31 …eldwijde, niet-exclusieve licentie om de navolgende rechten met betrekking tot het Werk vrij van r…
35 …b. het maken en reproduceren van Afgeleide werken met dien verstande dat met betrekking tot het Af…
45 … niet voor afstand vatbare heffingsregelingen (bijvoorbeeld met betrekking tot thuiskopieën) de Li…
47 …l van voor afstand vatbare heffingsregelingen (bijvoorbeeld met betrekking tot leenrechten) de Lic…
51 …rbij voorbehouden aan de Licentiegever, met inbegrip van maar niet beperkt tot de rechten die in a…
57 …meldingen met betrekking tot het Werk te laten staan. Tevens dient de Gebruiker, op een wijze die …
77 …ntie die volgens de voorwaarden van deze Licentie (verplicht) is verleend) tot gevolg heeft, en de…
89 …sen de partijen met betrekking tot het in licentie gegeven Werk. Er zijn geen andere afspraken gem…
[all …]
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_dir2.h43 xfs_extlen_t tot);
49 xfs_extlen_t tot);
52 xfs_extlen_t tot);
/openbmc/linux/drivers/net/
H A Dveth.c422 struct rtnl_link_stats64 *tot) in veth_get_stats64() argument
428 tot->tx_dropped = atomic64_read(&priv->dropped); in veth_get_stats64()
429 dev_fetch_sw_netstats(tot, dev->tstats); in veth_get_stats64()
432 tot->tx_dropped += rx.xdp_tx_err; in veth_get_stats64()
433 tot->rx_dropped = rx.rx_drops + rx.peer_tq_xdp_xmit_err; in veth_get_stats64()
434 tot->rx_bytes += rx.xdp_bytes; in veth_get_stats64()
435 tot->rx_packets += rx.xdp_packets; in veth_get_stats64()
443 tot->rx_bytes += tot_peer.tx_bytes; in veth_get_stats64()
444 tot->rx_packets += tot_peer.tx_packets; in veth_get_stats64()
447 tot->tx_dropped += rx.peer_tq_xdp_xmit_err; in veth_get_stats64()
[all …]
H A Dxen-netfront.c1387 struct rtnl_link_stats64 *tot) in xennet_get_stats64() argument
1410 tot->rx_packets += rx_packets; in xennet_get_stats64()
1411 tot->tx_packets += tx_packets; in xennet_get_stats64()
1412 tot->rx_bytes += rx_bytes; in xennet_get_stats64()
1413 tot->tx_bytes += tx_bytes; in xennet_get_stats64()
1416 tot->rx_errors = dev->stats.rx_errors; in xennet_get_stats64()
1417 tot->tx_dropped = dev->stats.tx_dropped; in xennet_get_stats64()
H A Dvirtio_net.c2589 struct rtnl_link_stats64 *tot) in virtnet_stats() argument
2614 tot->rx_packets += rpackets; in virtnet_stats()
2615 tot->tx_packets += tpackets; in virtnet_stats()
2616 tot->rx_bytes += rbytes; in virtnet_stats()
2617 tot->tx_bytes += tbytes; in virtnet_stats()
2618 tot->rx_dropped += rdrops; in virtnet_stats()
2619 tot->tx_errors += terrors; in virtnet_stats()
2622 tot->tx_dropped = DEV_STATS_READ(dev, tx_dropped); in virtnet_stats()
2623 tot->tx_fifo_errors = DEV_STATS_READ(dev, tx_fifo_errors); in virtnet_stats()
2624 tot->rx_length_errors = DEV_STATS_READ(dev, rx_length_errors); in virtnet_stats()
[all …]
/openbmc/linux/Documentation/trace/
H A Dtracepoints.rst127 int tot = 0;
130 tot += calculate_nuggets();
132 trace_foo_bar(tot);
/openbmc/linux/tools/testing/selftests/net/openvswitch/
H A Dovs-dpctl.py68 tot = 0
71 return tot
72 tot += 1
73 return tot
77 tot = 0
80 return tot
81 tot += 1
82 return tot
/openbmc/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_ethtool.c756 u64 *totals, *tot; in fun_get_ethtool_stats() local
766 *data = (cnt); *tot++ += *data++; \ in fun_get_ethtool_stats()
773 tot = totals; in fun_get_ethtool_stats()
799 tot = totals; in fun_get_ethtool_stats()
814 tot = totals; in fun_get_ethtool_stats()
/openbmc/linux/tools/perf/
H A Dbuiltin-c2c.c814 int tot = 0, st = 0; in percent_costly_snoop() local
824 tot = total->rmt_hitm; in percent_costly_snoop()
828 tot = total->lcl_hitm; in percent_costly_snoop()
832 tot = total->tot_hitm; in percent_costly_snoop()
836 tot = total->tot_peer; in percent_costly_snoop()
842 p = tot ? (double) st / tot : 0; in percent_costly_snoop()
908 static double percent(u32 st, u32 tot) in percent() argument
910 return tot ? 100. * (double) st / (double) tot : 0; in percent()
/openbmc/linux/drivers/net/hyperv/
H A Dnetvsc_drv.c1257 struct netvsc_vf_pcpu_stats *tot) in netvsc_get_vf_stats() argument
1262 memset(tot, 0, sizeof(*tot)); in netvsc_get_vf_stats()
1278 tot->rx_packets += rx_packets; in netvsc_get_vf_stats()
1279 tot->tx_packets += tx_packets; in netvsc_get_vf_stats()
1280 tot->rx_bytes += rx_bytes; in netvsc_get_vf_stats()
1281 tot->tx_bytes += tx_bytes; in netvsc_get_vf_stats()
1282 tot->tx_dropped += stats->tx_dropped; in netvsc_get_vf_stats()
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_transport.c12 #define ADF_PERCENT(tot, percent) (((tot) * (percent)) / 100) argument
/openbmc/linux/drivers/net/ethernet/intel/igc/
H A Digc_hw.h249 u64 tot; member
/openbmc/linux/drivers/scsi/lpfc/
H 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()
1152 tot += atomic_read(&tgtp->xmt_fcp_release); 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()
[all …]
H 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 …]
/openbmc/linux/drivers/mtd/nand/raw/
H A Dnandsim.c443 unsigned long deciles[10], decile_max[10], tot = 0; in ns_show() local
453 tot += wear; in ns_show()
471 avg = tot / wear_eb_count; in ns_show()
474 seq_printf(m, "Total numbers of erases: %lu\n", tot); in ns_show()
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/
H A Ddsi.c3580 int bl, wc, pps, tot; in print_dsi_vm() local
3585 tot = bl + pps; in print_dsi_vm()
3594 bl, pps, tot, in print_dsi_vm()
3605 TO_DSI_T(tot)); in print_dsi_vm()
3612 int hact, bl, tot; in print_dispc_vm() local
3616 tot = hact + bl; in print_dispc_vm()
3625 bl, hact, tot, in print_dispc_vm()
3632 TO_DISPC_T(tot)); in print_dispc_vm()
/openbmc/linux/drivers/net/ethernet/toshiba/
H A Dspider_net.c999 int tot = 0; in show_rx_chain() local
1044 tot ++; in show_rx_chain()
1049 "for a total of %d descrs\n", cnt, cstat, tot); in show_rx_chain()
/openbmc/linux/drivers/net/ethernet/intel/igb/
H A De1000_hw.h209 u64 tot; member
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddsi.c4321 int bl, wc, pps, tot; in print_dsi_vm() local
4326 tot = bl + pps; in print_dsi_vm()
4335 bl, pps, tot, in print_dsi_vm()
4346 TO_DSI_T(tot)); in print_dsi_vm()
4353 int hact, bl, tot; in print_dispc_vm() local
4357 tot = hact + bl; in print_dispc_vm()
4366 bl, hact, tot, in print_dispc_vm()
4373 TO_DISPC_T(tot)); in print_dispc_vm()
/openbmc/linux/drivers/gpu/drm/bridge/
H A Dtc358768.c832 u32 tot = dsi_hfp + dsi_hsw + dsi_hss; in tc358768_bridge_pre_enable() local
834 dsi_hsw = tot / 3; in tc358768_bridge_pre_enable()

12