Home
last modified time | relevance | path

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

/illumos-gate/usr/src/tools/smatch/src/
H A Dstats.c18 x = *tot; in show_stats()
24 tot->allocations += x.allocations; in show_stats()
25 tot->useful_bytes += x.useful_bytes; in show_stats()
26 tot->total_bytes += x.total_bytes; in show_stats()
35 show_stats(get_token_stats, &tot); in show_allocation_stats()
36 show_stats(get_ident_stats, &tot); in show_allocation_stats()
37 show_stats(get_symbol_stats, &tot); in show_allocation_stats()
40 show_stats(get_scope_stats, &tot); in show_allocation_stats()
43 show_stats(get_pseudo_stats, &tot); in show_allocation_stats()
51 show_stats(get_bytes_stats, &tot); in show_allocation_stats()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dnblk.c43 fsblkcnt_t tot, count, count1, d_indirect, t_indirect, ind; in nblk() local
57 tot = howmany(size, bsize); in nblk()
59 if (tot > t_indirect) { in nblk()
60 count1 = (tot - ind * ind - (DIRECT + 1)) / ind; in nblk()
62 } else if (tot > d_indirect) { in nblk()
63 count = (tot - (DIRECT + 1)) / ind + 2; in nblk()
64 } else if (tot > DIRECT) { in nblk()
74 tot += count; in nblk()
80 tot *= howmany(bsize, DEV_BSIZE); in nblk()
82 tot = howmany(frags, DEV_BSIZE); in nblk()
[all …]
/illumos-gate/usr/src/cmd/intrd/
H A Dintrd.pl377 my $tot = $cpst->{tot};
442 $delta{$cpu}{tot} = $newcpst->{tot} - $cpst->{tot};
450 $delta{$cpu}{tot} = 1 if $delta{$cpu}{tot} == 0;
552 my ($intrs, $tot);
573 $tot += $cpu->{tot};
575 $newdelta{$cpuid}{tot} += $cpu->{tot};
607 $cpu->{tot} = 1 if $cpu->{tot} <= 0;
1109 my $tot = 0;
1111 $tot += $ivec->{time};
1115 push(@loads, $tot);
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libsum/
H A Dsum-ast4.c47 Ast4_sum_t tot; member
56 a->tot.sum0 ^= a->cur.sum0; in ast4_init()
58 a->tot.sum1 ^= a->cur.sum1; in ast4_init()
60 a->tot.sum2 ^= a->cur.sum2; in ast4_init()
62 a->tot.sum3 ^= a->cur.sum3; in ast4_init()
104 a = (flags & SUM_TOTAL) ? &((Ast4_t*)p)->tot : &((Ast4_t*)p)->cur; in ast4_print()
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_vwind.c103 int i, tot; in vup() local
127 tot = WECHO - WTOP; in vup()
128 … || (!insert_line && !scroll_reverse) || (!scroll && (cnt > tot || vfit(dot - cnt, cnt) > tot / 3 … in vup()
151 int i, tot; in vdown() local
174 tot = WECHO - WTOP; in vdown()
175 if (state != VISUAL || cnt - tot > 0 || vfit(dot, cnt) > tot / 3 + 1) { in vdown()
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsstat/
H A Dnfsstat.c138 int tot; member
550 uint64_t tot; in req_width() local
552 tot = 0; in req_width()
555 tot += knp[i].value.ui64; in req_width()
564 if (tot) in req_width()
773 uint64_t tot, old_tot; in req_print() local
792 tot = 0; in req_print()
805 tot -= old_tot; in req_print()
819 else if (tot) in req_print()
886 tot -= old_tot; in req_print_v4()
[all …]
/illumos-gate/usr/src/lib/libzonestat/common/
H A Dlibzonestat.c1017 timestruc_t tot; in zs_pset_usage_all() local
1021 *ts = tot; in zs_pset_usage_all()
1051 timestruc_t tot; in zs_pset_usage_all_pct() local
1088 timestruc_t tot; in zs_pset_usage_all_cpus() local
1240 timestruc_t tot; in zs_cpu_usage_all() local
1242 tot.tv_sec = 0; in zs_cpu_usage_all()
1243 tot.tv_nsec = 0; in zs_cpu_usage_all()
1246 *ts = tot; in zs_cpu_usage_all()
1254 tot.tv_sec = 0; in zs_cpu_usage_idle()
1255 tot.tv_nsec = 0; in zs_cpu_usage_idle()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_sec.c543 int tot = 0; in nfs_sec_nego() local
583 tot += cnt; in nfs_sec_nego()
584 if (tot >= MAX_FLAVORS) { in nfs_sec_nego()
624 int tot = 0; in nfs_sec_nego() local
668 tot += cnt; in nfs_sec_nego()
669 if (tot >= MAX_FLAVORS) { in nfs_sec_nego()
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_rx.c207 int i, idx, cnt=0, tot=0; in BnxeWaitForPacketsFromClient() local
235 tot = 0; in BnxeWaitForPacketsFromClient()
250 tot += cnt; in BnxeWaitForPacketsFromClient()
253 if (tot) in BnxeWaitForPacketsFromClient()
256 tot, idx); in BnxeWaitForPacketsFromClient()
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_lib.c847 int nlen, tot; in tlm_is_too_long() local
849 tot = 0; in tlm_is_too_long()
851 tot += strlen(dir); in tlm_is_too_long()
853 tot += strlen(TLM_SNAPSHOT_DIR) + 1; in tlm_is_too_long()
856 tot += nlen + 1; in tlm_is_too_long()
858 return ((tot >= PATH_MAX) ? TRUE : FALSE); in tlm_is_too_long()
/illumos-gate/usr/src/tools/scripts/
H A Dwebrev.sh1800 integer tot=$1 ins=$2 del=$3 mod=$4 unc=$5
1802 if (( tot == 1 )); then
1808 $tot $str $ins $del $mod $unc
1820 integer tot mod del ins unc err
1921 (( TOTL += tot ))
1933 printCI $tot $ins $del $mod $unc
/illumos-gate/usr/src/cmd/troff/
H A Dn3.c1006 int xx, cnt, tcnt, kk, tot; in casepm() local
1011 tot = !skip(); in casepm()
1024 if (!tot) { in casepm()
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_config.c3558 long tot; in conv_time() local
3588 tot = atol(s); in conv_time()
3589 if ((0 == tot) && (EINVAL == errno)) in conv_time()
3591 if (((LONG_MAX == tot) || (LONG_MIN == tot)) && (EINVAL == errno)) in conv_time()
3594 tot = tot * m; in conv_time()
3595 t = (time_t)tot; in conv_time()
3698 long tot; in __s_val_postime() local
3720 tot = atol(param->ns_pc); /* check overflow */ in __s_val_postime()
3721 if (tot >= 0) in __s_val_postime()
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfssubr.c1203 uint64_t q, r, c, bc, col, acols, scols, coff, devidx, asize, tot; in vdev_raidz_map_alloc() local
1208 tot = s + nparity * (q + (r == 0 ? 0 : 1)); in vdev_raidz_map_alloc()
1261 ASSERT3U(asize, ==, tot << unit_shift); in vdev_raidz_map_alloc()
1263 rm->rm_nskip = roundup(tot, nparity + 1) - tot; in vdev_raidz_map_alloc()
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_stat.c240 ixgbe_ks->tot.value.ui64 = ixgbe_ks->got.value.ui64; in ixgbe_update_stats()
564 ixgbe_ks->tot.value.ui64 = ixgbe_ks->got.value.ui64; in ixgbe_m_stat()
565 *val = ixgbe_ks->tot.value.ui64; in ixgbe_m_stat()
H A Dixgbe_sw.h852 kstat_named_t tot; /* Total Octets Xmitted Count */ member
/illumos-gate/usr/src/cmd/abi/appcert/scripts/
H A Dsymreport.pl673 my ($lib, $tot, $priv, @list) = @_;
685 $text .= sprintf($fmt, $tot, $libbase, $priv);
/illumos-gate/usr/src/lib/libproc/common/
H A DPgcore.c1674 size_t n, tot = 0; in proc_content2str() local
1689 tot += (n = strlcpy(buf, "default", size)); in proc_content2str()
1697 tot += (n = strlcpy(buf, "all", size)); in proc_content2str()
1717 tot++; in proc_content2str()
1720 tot += (n = strlcpy(buf, content_str[index], size)); in proc_content2str()
1730 return ((int)tot); in proc_content2str()
/illumos-gate/usr/src/uts/common/xen/dtrace/
H A Dxdt.c467 uint32_t tot = 0; in xdt_nr_active_probes() local
470 tot += xdt_classinfo[i].cnt; in xdt_nr_active_probes()
472 return (tot); in xdt_nr_active_probes()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_raidz.c350 uint64_t q, r, c, bc, col, acols, scols, coff, devidx, asize, tot; in vdev_raidz_map_alloc() local
372 tot = s + nparity * (q + (r == 0 ? 0 : 1)); in vdev_raidz_map_alloc()
428 ASSERT3U(asize, ==, tot << ashift); in vdev_raidz_map_alloc()
430 rm->rm_nskip = roundup(tot, nparity + 1) - tot; in vdev_raidz_map_alloc()
/illumos-gate/usr/src/uts/common/io/igc/core/
H A Digc_hw.h310 u64 tot; member
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_hw.h641 u64 tot; member
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c137 struct ifstat tot; member
3252 tlp->tot = t; in if_report()
3301 &walkold->tot, in if_report()
3565 tlp->tot = t; in if_report()
3614 &walkold->tot, in if_report()
/illumos-gate/usr/src/cmd/look/
H A Dwords23115 tot
/illumos-gate/usr/src/cmd/spell/
H A Dlist23114 tot