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

12345678

/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/lvm/rpc.metamedd/
H A Dmed_mem.c96 unsigned long total; local
99 total = 0;
101 total = (unsigned long)n * s;
103 if (total / n != s)
106 return (Zalloc(total));
/illumos-gate/usr/src/cmd/lvm/rpc.metamhd/
H A Dmhd_mem.c85 unsigned long total; local
88 total = 0;
90 total = (unsigned long)n * s;
92 if (total / n != s)
95 return (Zalloc(total));
/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/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/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/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/lvm/libmeta/common/
H A Dmeta_mem.c180 unsigned long total; local
183 total = 0;
185 total = (unsigned long)n * s;
187 if (total / n != s)
190 return (_Zalloc(file, line, total));
201 unsigned long total; local
204 total = 0;
206 total = (unsigned long)n * s;
208 if (total / n != s)
211 return (Zalloc(total));
[all...]
/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...]
/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)
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbutil/
H A Dview.c165 int error, entries, total; local
171 error = smb_netshareenum(ctx, &entries, &total, &share_info);
177 print_shares(entries, total, share_info);
182 print_shares(int entries, int total, argument
202 entries, total);
/illumos-gate/usr/src/uts/i86pc/io/
H A Dmicrofind.c165 long long int total = 0; local
185 total += d;
189 return (total / tc);

Completed in 69 milliseconds

12345678