Searched defs:total (Results 1 - 25 of 166) sorted by relevance

1234567

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dcalloc.c44 size_t total; local
47 total = 0;
49 total = num * size;
52 if (total / num != size) {
57 return ((mp = malloc(total)) ? memset(mp, 0, total) : mp);
/illumos-gate/usr/src/lib/libmapmalloc/common/
H A Dcalloc.c39 size_t total; local
42 total = 0;
44 total = num * size;
47 if ((total / num) != size) {
53 mp = malloc(total);
56 (void) memset(mp, 0, total);
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_rm.c81 * Return a 16-bit binary fraction representing the percent of total memory
83 * Defined as the ratio of a_rss for the process to total physical memory.
93 ulong_t total = total_pages; local
104 total >>= shift;
106 return (num / total);
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwcstombs.c44 int total = 0; local
55 if ((total += val) > n) {
56 total -= val;
62 return (total);
H A Dwgetstr.c68 int total = 0; local
114 i = total;
115 total = cpos = 0;
122 total -= (i = length[cpos]);
134 /* Update total. */
167 /* character to total. */
178 total += length[cpos];
H A Dwgetwstr.c53 int total = 0; local
96 i = total;
97 total = cpos = 0;
103 total -= (i = length[cpos]);
115 /* Update total. */
128 /* character to total. */
138 total += length[cpos];
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pid/
H A Dtst.fork.c40 int i, j, total = 0; local
44 total += i * j;
48 return (total);
H A Dtst.vfork.c40 int i, j, total = 0; local
44 total += i * j;
48 return (total);
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_search.c77 recno_t total; local
81 for (pg = P_ROOT, total = 0;;) {
86 t->bt_cur.index = recno - total;
91 if (++idx == top || total + r->nrecs > recno)
93 total += r->nrecs;
/illumos-gate/usr/src/lib/libidmap/common/
H A Dsized_array.c58 size_t total; local
60 total = sizeof (struct sized_array) + n*sz;
62 sa = malloc(total);
67 (void) memset(sa, 0, total);
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/
H A Dreadv.c53 int i, size, total = 0; local
78 total += ret;
83 return (total);
H A Dwritev.c54 int nsize, total = 0; local
84 total += ret;
86 return (total);
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dreadv.c52 int i, size, total = 0; local
75 total += ret;
79 return (total);
H A Dwritev.c51 int nsize, total = 0; local
79 total += ret;
81 return (total);
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprusrio.c51 ssize_t total = uiop->uio_resid; local
88 if (total != uiop->uio_resid || !old)
115 if (total != uiop->uio_resid)
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dtransport.c137 unsigned int total = 0; local
150 total += part;
155 return (total);
/illumos-gate/usr/src/cmd/mandoc/
H A Dcompat_ohash.h42 unsigned int total; member in struct:ohash
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DAvgValue.java45 private final long total; field in class:AvgValue
54 new String[] {"value", "total", "count"});
67 * @param averagedTotal sum total of all values averaged
71 * total and count
77 total = averagedTotal;
96 if (average != (total / count)) {
99 "average of total " + total + " and count " +
121 * Gets the sum total of the aggregated values.
123 * @return the sum total o
[all...]
H A DStddevValue.java46 private final long total; field in class:StddevValue
57 new String[] {"value", "total", "count", "totalSquares"})
141 total = stddevTotal;
157 * @param stddevTotal sum total of all values included in the standard
162 * the 128-bit sum total of the squares of all values included in
166 * the given total, total of squares, and count
167 * @throws NumberFormatException if the given total squares is not a
175 total = stddevTotal;
195 if (stddev != standardDeviation(count, total, totalSquare
[all...]
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_update.c69 struct timeval total; local
129 total.tv_sec = TOTAL_TIMEOUT;
130 total.tv_usec = 0;
131 clnt_control(client, CLSET_TIMEOUT, (char *)&total);
134 xdr_u_int, (char *)&rslt, total);
/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)
H A Dmp_sync.c126 * Keep a count of the total number of buffers we need to write in
229 * MPOOL->lsn_cnt (the total sync count)
450 u_long total; local
474 loop: total = mp->stat.st_page_clean + mp->stat.st_page_dirty;
475 if (total == 0 || mp->stat.st_page_dirty == 0 ||
476 (mp->stat.st_page_clean * 100) / total >= (u_long)pct) {
/illumos-gate/usr/src/uts/i86pc/io/
H A Dmicrofind.c165 long long int total = 0; local
185 total += d;
189 return (total / tc);
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Ddist.c184 * given total is assumed to be the sum of all elements in the counts array.
194 uint64_t total, int width)
208 if (total == 0)
209 total = 1; /* avoid divide-by-zero */
214 nats = (NCHARS * count) / total;
193 dist_print_bucket(const int *distarray, int i, const uint_t *counts, uint64_t total, int width) argument
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_rsearch.c79 db_recno_t i, recno, total; local
146 total = RE_NREC(h);
149 *recnop = recno = total + 1;
152 if (recno <= total)
156 if (!LF_ISSET(S_PAST_EOF) || recno > total + 1) {
170 for (total = 0;;) {
173 recno -= total;
206 if (++indx == top || total + bi->nrecs >= recno)
208 total += bi->nrecs;
213 recno -= total;
[all...]

Completed in 249 milliseconds

1234567