/illumos-gate/usr/src/tools/smatch/src/ |
H A D | stats.c | 11 static void show_stats(get_t get, struct allocator_stats * tot) in show_stats() argument 18 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() 31 struct allocator_stats tot = { .name = "total", }; in show_allocation_stats() local 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() 38 show_stats(get_expression_stats, &tot); in show_allocation_stats() [all …]
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | nblk.c | 43 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 D | intrd.pl | 188 $stat{$cpu}{tot} = ($cpu_sys->{cpu_nsec_idle} + 377 my $tot = $cpst->{tot}; 379 $cpu, $cpst->{intrload}*100, $cpst->{bigintr}*100/$tot); 389 $ivst->{time}*100 / $tot, $ivst->{time}); 442 $delta{$cpu}{tot} = $newcpst->{tot} - $cpst->{tot}; 443 if (VERIFY($delta{$cpu}{tot} >= 0, 450 $delta{$cpu}{tot} = 1 if $delta{$cpu}{tot} == 0; 518 if ($delta{$cpu}{tot} < $delta{$cpu}{intrs}) { 521 $delta{$cpu}{tot} = $delta{$cpu}{intrs}; 524 $delta{$cpu}{intrs} / $delta{$cpu}{tot}; [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libsum/ |
H A D | sum-ast4.c | 47 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 D | ex_vwind.c | 103 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 D | nfsstat.c | 138 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() 565 per = (int)(knp[i].value.ui64 * 100 / tot); in req_width() 773 uint64_t tot, old_tot; in req_print() local 792 tot = 0; in req_print() 800 tot += kptr[i].value.ui64; in req_print() 805 tot -= old_tot; in req_print() [all …]
|
/illumos-gate/usr/src/lib/libzonestat/common/ |
H A D | libzonestat.c | 1017 timestruc_t tot; in zs_pset_usage_all() local 1019 tot = pset->zsp_usage_kern; in zs_pset_usage_all() 1020 TIMESTRUC_ADD_TIMESTRUC(tot, pset->zsp_usage_zones); in zs_pset_usage_all() 1021 *ts = tot; in zs_pset_usage_all() 1027 timestruc_t tot, time, idle; in zs_pset_usage_idle() local 1029 tot = pset->zsp_usage_kern; in zs_pset_usage_idle() 1030 TIMESTRUC_ADD_TIMESTRUC(tot, pset->zsp_usage_zones); in zs_pset_usage_idle() 1032 TIMESTRUC_DELTA(idle, time, tot); in zs_pset_usage_idle() 1051 timestruc_t tot; in zs_pset_usage_all_pct() local 1053 tot = pset->zsp_usage_kern; in zs_pset_usage_all_pct() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfs_sec.c | 543 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 D | bnxe_rx.c | 207 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 D | tlm_lib.c | 847 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 D | webrev.sh | 1800 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 D | n3.c | 1006 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 D | ns_config.c | 3558 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 D | zfssubr.c | 1203 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 D | ixgbe_stat.c | 240 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 D | ixgbe_sw.h | 852 kstat_named_t tot; /* Total Octets Xmitted Count */ member
|
/illumos-gate/usr/src/cmd/abi/appcert/scripts/ |
H A D | symreport.pl | 673 my ($lib, $tot, $priv, @list) = @_; 685 $text .= sprintf($fmt, $tot, $libbase, $priv);
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pgcore.c | 1689 size_t n, tot = 0; in proc_content2str() local 1704 tot += (n = strlcpy(buf, "default", size)); in proc_content2str() 1712 tot += (n = strlcpy(buf, "all", size)); in proc_content2str() 1732 tot++; in proc_content2str() 1735 tot += (n = strlcpy(buf, content_str[index], size)); in proc_content2str() 1745 return ((int)tot); in proc_content2str()
|
/illumos-gate/usr/src/uts/common/xen/dtrace/ |
H A D | xdt.c | 467 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 D | vdev_raidz.c | 350 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 D | igc_hw.h | 310 u64 tot; member
|
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_hw.h | 641 u64 tot; member
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/ |
H A D | netstat.c | 137 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/spell/ |
H A D | list | 23114 tot
|
/illumos-gate/usr/src/cmd/look/ |
H A D | words | 23115 tot
|