Home
last modified time | relevance | path

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

/titanic_44/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 …]
/titanic_44/usr/src/cmd/intrd/
H A Dintrd.pl188 $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 …]
/titanic_44/usr/src/lib/libsum/common/
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()
/titanic_44/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()
/titanic_44/usr/src/cmd/fs.d/nfs/nfsstat/
H A Dnfsstat.c137 int tot; member
549 uint64_t tot; in req_width() local
551 tot = 0; in req_width()
554 tot += knp[i].value.ui64; in req_width()
563 if (tot) in req_width()
564 per = (int)(knp[i].value.ui64 * 100 / tot); in req_width()
772 uint64_t tot, old_tot; in req_print() local
791 tot = 0; in req_print()
799 tot += kptr[i].value.ui64; in req_print()
804 tot -= old_tot; in req_print()
[all …]
/titanic_44/usr/src/lib/libzonestat/common/
H A Dlibzonestat.c1017 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 …]
/titanic_44/usr/src/tools/ctf/cvt/
H A Dhash.c261 int tot = min; in hash_stats() local
279 tot += count; in hash_stats()
284 printf(" Items : %d\n", tot); in hash_stats()
286 printf(" Average: %5.2f\n", (float)tot / (float)hash->h_nbuckets); in hash_stats()
/titanic_44/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_sec.c550 int tot = 0; in nfs_sec_nego() local
590 tot += cnt; in nfs_sec_nego()
591 if (tot >= MAX_FLAVORS) { in nfs_sec_nego()
631 int tot = 0; in nfs_sec_nego() local
675 tot += cnt; in nfs_sec_nego()
676 if (tot >= MAX_FLAVORS) { in nfs_sec_nego()
/titanic_44/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()
/titanic_44/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()
/titanic_44/usr/src/uts/common/io/ixgbe/
H A Dixgbe_stat.c104 ixgbe_ks->tot.value.ui64 = 0; in ixgbe_update_stats()
135 ixgbe_ks->tot.value.ui64 += ixgbe_ks->qbtc[i].value.ui64; in ixgbe_update_stats()
149 ixgbe_ks->got.value.ui64 = ixgbe_ks->tot.value.ui64; in ixgbe_update_stats()
582 ixgbe_ks->tot.value.ui64 = 0; in ixgbe_m_stat()
604 ixgbe_ks->tot.value.ui64 += in ixgbe_m_stat()
607 *val = ixgbe_ks->tot.value.ui64; in ixgbe_m_stat()
H A Dixgbe_sw.h816 kstat_named_t tot; /* Total Octets Xmitted Count */ member
/titanic_44/usr/src/cmd/troff/
H A Dn3.c1008 int xx, cnt, tcnt, kk, tot; in casepm() local
1013 tot = !skip(); in casepm()
1026 if (!tot) { in casepm()
/titanic_44/usr/src/tools/scripts/
H A Dwebrev.sh1557 integer tot=$1 ins=$2 del=$3 mod=$4 unc=$5
1559 if (( tot == 1 )); then
1565 $tot $str $ins $del $mod $unc
1577 integer tot mod del ins unc err
1678 (( TOTL += tot ))
1690 printCI $tot $ins $del $mod $unc
/titanic_44/usr/src/lib/libsldap/common/
H A Dns_config.c3561 long tot; in conv_time() local
3591 tot = atol(s); in conv_time()
3592 if ((0 == tot) && (EINVAL == errno)) in conv_time()
3594 if (((LONG_MAX == tot) || (LONG_MIN == tot)) && (EINVAL == errno)) in conv_time()
3597 tot = tot * m; in conv_time()
3598 t = (time_t)tot; in conv_time()
3701 long tot; in __s_val_postime() local
3722 tot = atol(param->ns_pc); /* check overflow */ in __s_val_postime()
3723 if (tot >= 0) in __s_val_postime()
/titanic_44/usr/src/cmd/abi/appcert/scripts/
H A Dsymreport.pl673 my ($lib, $tot, $priv, @list) = @_;
685 $text .= sprintf($fmt, $tot, $libbase, $priv);
/titanic_44/usr/src/lib/libproc/common/
H A DPgcore.c1598 size_t n, tot = 0; in proc_content2str() local
1613 tot += (n = strlcpy(buf, "default", size)); in proc_content2str()
1621 tot += (n = strlcpy(buf, "all", size)); in proc_content2str()
1641 tot++; in proc_content2str()
1644 tot += (n = strlcpy(buf, content_str[index], size)); in proc_content2str()
1654 return ((int)tot); in proc_content2str()
/titanic_44/usr/src/uts/common/fs/sockfs/
H A Dnl7curi.c346 int n, nz, tot; in nl7c_mi_report_hash() local
356 tot = 0; in nl7c_mi_report_hash()
364 tot += n; in nl7c_mi_report_hash()
375 uri_hash_sz[cur], nz != 0 ? ((tot * 10 + 5) / nz) / 10 : 0); in nl7c_mi_report_hash()
/titanic_44/usr/src/uts/common/fs/zfs/
H A Dvdev_raidz.c456 uint64_t q, r, c, bc, col, acols, scols, coff, devidx, asize, tot; in vdev_raidz_map_alloc() local
477 tot = s + nparity * (q + (r == 0 ? 0 : 1)); in vdev_raidz_map_alloc()
533 ASSERT3U(asize, ==, tot << unit_shift); in vdev_raidz_map_alloc()
535 rm->rm_nskip = roundup(tot, nparity + 1) - tot; in vdev_raidz_map_alloc()
/titanic_44/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()
/titanic_44/usr/src/uts/common/io/e1000api/
H A De1000_hw.h560 u64 tot; member
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c135 struct ifstat tot; member
2855 tlp->tot = t; in if_report()
2904 &walkold->tot, in if_report()
3170 tlp->tot = t; in if_report()
3219 &walkold->tot, in if_report()
/titanic_44/usr/src/cmd/look/
H A Dwords23117 tot
/titanic_44/usr/src/cmd/spell/
H A Dlist23116 tot