Home
last modified time | relevance | path

Searched refs:total (Results 26 – 50 of 259) sorted by relevance

1234567891011

/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DDrop.java129 private final long total; field in Drop
157 total = totalDrops; in Drop()
168 if (total < 0) { in validate()
220 return total; in getTotal()
271 buf.append(total); in toString()
H A DLinearDistribution.java189 double total = 0; in getValue() local
196 total = (double)bucket.getFrequency() * (double)(getBase() - 1); in getValue()
200 total += (double)bucket.getFrequency() * (double)bucket.getMin(); in getValue()
207 total += (double)bucket.getFrequency() * in getValue()
210 return (new Double(total)); in getValue()
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwgetwstr.c51 int total = 0; in wgetnwstr() local
94 i = total; in wgetnwstr()
95 total = cpos = 0; in wgetnwstr()
101 total -= (i = length[cpos]); in wgetnwstr()
136 total += length[cpos]; in wgetnwstr()
H A Dwgetstr.c66 int total = 0; in wgetnstr() local
112 i = total; in wgetnstr()
113 total = cpos = 0; in wgetnstr()
120 total -= (i = length[cpos]); in wgetnstr()
176 total += length[cpos]; in wgetnstr()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pid/
H A Dtst.fork.c38 int i, j, total = 0; in go() local
42 total += i * j; in go()
46 return (total); in go()
H A Dtst.vfork.c38 int i, j, total = 0; in go() local
42 total += i * j; in go()
46 return (total); in go()
/illumos-gate/usr/src/cmd/bhyve/test/tests/mevent/
H A Dlists_delete.c56 int total; in get_count() local
64 total = global + change + del_pending; in get_count()
66 VERBOSE(("count = %d (%d + %d + %d)", total, global, change, in get_count()
69 return (total); in get_count()
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_rm.c93 ulong_t total = total_pages; in rm_pctmemory() local
104 total >>= shift; in rm_pctmemory()
106 return (num / total); in rm_pctmemory()
/illumos-gate/usr/src/test/util-tests/tests/grep_xpg4/
H A Dgrep_test.ksh56 print -n "test $total: grep $flags: "
57 ((total++))
92 print -n "test $total: grep (stdin) $flags: "
93 ((total++))
117 total=0
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/
H A DResourceMonitor.java222 BigInteger total = new BigInteger("0"); in calcDerivedStatistic() local
238 total = total.add((UnsignedInt64) sv1. in calcDerivedStatistic()
241 utilV = 100 * ((total.doubleValue() - idleV) / in calcDerivedStatistic()
242 total.doubleValue()); in calcDerivedStatistic()
H A DStatisticList.java505 private AggregateStatistic total; field in StatisticOperations
517 total = new DoubleStatistic(new Double(0.0)); in StatisticOperations()
622 mean = ((Double)((DoubleStatistic)total).getValue()). in process()
722 total = total.add(e.getTarget()); in onStatisticAdd()
734 total = total.subtract(e.getTarget()); in onStatisticRemove()
/illumos-gate/usr/src/cmd/sendmail/db/mp/
H A Dmp_region.c61 size_t fsize, total; local
96 total = 0;
110 total += fsize = __db_shsizeof(bhp);
111 if (fsize >= len || total >= 3 * len)
116 restart = total = 0;
168 total += fsize = __db_shsizeof(bhp);
186 if (fsize >= len || total >= 3 * len)
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dmalloc.c210 size_t total; in calloc() local
213 total = 0; in calloc()
215 total = num * size; in calloc()
218 if ((total / num) != size) { in calloc()
224 if ((mp = malloc(total)) == NULL) in calloc()
226 (void) memset(mp, 0, total); in calloc()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/
H A Dtmxtime.c130 for (lp = &tm_data.leap[0]; t < lp->time - (lp+1)->total; lp++); in tmxtime()
131 t += lp->total; in tmxtime()
132 n = lp->total - (lp+1)->total; in tmxtime()
H A Dtmxmake.c60 if (lp->total) in tmxtm()
62 if (n == lp->time && (leapsec = (lp->total - (lp+1)->total)) < 0) in tmxtm()
64 t = tmxsns(n - lp->total, tmxnsec(t)); in tmxtm()
/illumos-gate/usr/src/uts/common/fs/ctfs/
H A Dctfs_all.c80 int i, total; in ctfs_adir_getattr() local
84 for (i = 0, total = 0; i < ct_ntypes; i++) in ctfs_adir_getattr()
85 total += contract_type_count(ct_types[i]); in ctfs_adir_getattr()
87 vap->va_size = 2 + total; in ctfs_adir_getattr()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Ddist.c192 uint64_t total, int width) in dist_print_bucket() argument
206 if (total == 0) in dist_print_bucket()
207 total = 1; /* avoid divide-by-zero */ in dist_print_bucket()
212 nats = (NCHARS * count) / total; in dist_print_bucket()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa_errlog.c139 uint64_t total = 0, count; in spa_get_errlog_size() local
145 total += count; in spa_get_errlog_size()
150 total += count; in spa_get_errlog_size()
154 total += avl_numnodes(&spa->spa_errlist_last); in spa_get_errlog_size()
155 total += avl_numnodes(&spa->spa_errlist_scrub); in spa_get_errlog_size()
158 return (total); in spa_get_errlog_size()
/illumos-gate/usr/src/uts/common/os/
H A Dvm_subr.c349 size_t size, total = *lenp; in cow_mapin() local
358 (uaddr + total) > base + seg->s_size) { in cow_mapin()
375 size = total; in cow_mapin()
386 size = total - size; in cow_mapin()
489 total -= size; in cow_mapin()
490 size = total; in cow_mapin()
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Pg/
H A DPg.pm500 my $total = $trun + $tstop;
505 my $accuracy = $total ? ($trun * 100) / $total : 0;
559 my $total = 0;
572 $total = $idle + $user + $sys;
575 $total = 1 unless $total;
577 $swload = ($user + $sys) * 100 / $total;
578 $idle = $idle * 100 / $total;
579 $user = $user * 100 / $total;
580 $sys = $sys * 100 / $total;
650 my $total = $trun + $tstop;
[all …]
/illumos-gate/usr/src/cmd/mandoc/
H A Dcompat_ohash.c80 if (4 * h->deleted < h->total) { in ohash_resize()
85 } else if (3 * h->deleted > 2 * h->total) in ohash_resize()
116 h->total -= h->deleted; in ohash_resize()
133 if (h->deleted >= MINDELETED && 4 * h->deleted > h->total) in ohash_remove()
159 if (++h->total * 4 > h->size * 3) in ohash_insert()
168 return h->total - h->deleted; in ohash_entries()
205 h->total = h->deleted = 0; in ohash_init()
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dtransport.c137 unsigned int total = 0; in rdsv3_trans_stats_info_copy() local
150 total += part; in rdsv3_trans_stats_info_copy()
155 return (total); in rdsv3_trans_stats_info_copy()
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprusrio.c49 ssize_t total = uiop->uio_resid; in prusrio() local
86 if (total != uiop->uio_resid || !old) in prusrio()
113 if (total != uiop->uio_resid) in prusrio()
/illumos-gate/usr/src/tools/cscope-fast/
H A Dmouse.c154 drawscrollbar(int top, int bot, int total) in drawscrollbar() argument
159 if (bot > top && total > 0) { in drawscrollbar()
160 p1 = 16 + (top - 1) * 100 / total; in drawscrollbar()
161 p2 = 16 + (bot - 1) * 100 / total; in drawscrollbar()
/illumos-gate/usr/src/cmd/sgs/size/common/
H A Dprocess.c225 GElf_Xword total; in process_phdr() local
238 memsize = total = 0; in process_phdr()
266 total += p.p_memsz; in process_phdr()
274 total += p.p_filesz; in process_phdr()
302 (void) printf(prusum[numbase], total); in process_phdr()

1234567891011