Home
last modified time | relevance | path

Searched refs:total (Results 51 – 75 of 259) sorted by relevance

1234567891011

/illumos-gate/usr/src/lib/libkmf/ber_der/common/
H A Dio.c72 ber_uint_t need, have, total; in kmfber_realloc() local
81 total = have * EXBUFSIZ + need * EXBUFSIZ; in kmfber_realloc()
86 if ((ber->ber_buf = (char *)malloc((size_t)total)) in kmfber_realloc()
95 (size_t)total)) == NULL) { in kmfber_realloc()
104 oldbuf, (size_t)total)) == NULL) { in kmfber_realloc()
111 ber->ber_end = ber->ber_buf + total; in kmfber_realloc()
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DDistribution.java52 private transient double total; field in Distribution
74 total = 0; in Distribution()
78 total += frequency; in Distribution()
112 total = 0; in initialize()
122 total += frequency; in initialize()
326 return total; in getTotal()
H A DLogDistribution.java131 double total = 0; in getValue() local
134 total += ((double)bucket.getFrequency() * (double)bucket.getMin()); in getValue()
136 return (new Double(total)); in getValue()
H A DLogLinearDistribution.java183 double total = 0; in getValue() local
187 total += ((double)bucket.getFrequency() * (double)bucket.getMin()); in getValue()
189 return (new Double(total)); in getValue()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dstab.c443 int i, t, total, types[MAXSTTYPES]; in dumpstab() local
447 total = 0; in dumpstab()
455 ++total; in dumpstab()
463 sm_syslog(LOG_INFO, NOQID, "stab: total=%d (%d)", total, total - prev); in dumpstab()
464 prev = total; in dumpstab()
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_consume.c512 *total += val; in dt_quantize_total()
524 if (*total < val) in dt_quantize_total()
525 *total = val; in dt_quantize_total()
638 assert(!(val != 0 && total == 0)); in dt_print_quantline()
644 normal, total)); in dt_print_quantline()
752 val = (datum * (len - 1)) / total; in dt_print_packed()
762 long double total = 0; in dt_print_quantize() local
817 long double total = 0, count = 0; in dt_print_quantize_packed() local
861 long double total = 0; in dt_print_lquantize() local
938 long double total = 0, count = 0; in dt_print_lquantize_packed() local
[all …]
H A Ddt_strtab.c273 ssize_t res, total = 0; in dt_strtab_write() local
277 for (i = 0; i < sp->str_nbufs; i++, total += res) { in dt_strtab_write()
283 if ((res = func(sp->str_bufs[i], n, total, private)) <= 0) in dt_strtab_write()
287 if (total == 0 && sp->str_size != 0) in dt_strtab_write()
290 return (total); in dt_strtab_write()
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_ev.c1047 unsigned int total; in siena_ev_qpoll() local
1060 for (total = 0; total < batch; ++total) { in siena_ev_qpoll()
1061 EFSYS_MEM_READQ(eep->ee_esmp, offset, &(ev[total])); in siena_ev_qpoll()
1063 if (!EFX_EV_PRESENT(ev[total])) in siena_ev_qpoll()
1079 if (total == batch && total < EFSYS_OPT_EV_PREFETCH_PERIOD) in siena_ev_qpoll()
1084 for (index = 0; index < total; ++index) { in siena_ev_qpoll()
1090 if (total == batch && in siena_ev_qpoll()
1147 total = index + 1; in siena_ev_qpoll()
1159 for (index = 0; index < total; ++index) { in siena_ev_qpoll()
1164 count += total; in siena_ev_qpoll()
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dasn1.c763 CK_ULONG len, total; in ber_encode_PrivateKeyInfo() local
773 len += total; in ber_encode_PrivateKeyInfo()
777 rc = ber_encode_OCTET_STRING(TRUE, NULL, &total, in ber_encode_PrivateKeyInfo()
783 len += total; in ber_encode_PrivateKeyInfo()
789 rc = ber_encode_SEQUENCE(TRUE, NULL, &total, NULL, len); in ber_encode_PrivateKeyInfo()
792 *data_len = total; in ber_encode_PrivateKeyInfo()
805 (void) memcpy(buf + len, tmp, total); in ber_encode_PrivateKeyInfo()
806 len += total; in ber_encode_PrivateKeyInfo()
812 rc = ber_encode_OCTET_STRING(FALSE, &tmp, &total, in ber_encode_PrivateKeyInfo()
817 (void) memcpy(buf + len, tmp, total); in ber_encode_PrivateKeyInfo()
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/stdio/
H A Dvfscanf.c693 double total, exp, tens; in lstrtod() local
749 total = 0.0; in lstrtod()
752 total += (*sp -'0') * tens; in lstrtod()
758 total += (*sp - '0') * tens; in lstrtod()
761 total *= (double)neg; in lstrtod()
776 total *= pow(10.0, exp); in lstrtod()
778 return total; in lstrtod()
/illumos-gate/usr/src/cmd/dtrace/test/cmd/scripts/
H A Ddtest.pl260 my($total) = 0;
539 $total = scalar(@files);
541 $passed = ($total - $failed - $bypassed);
546 "total" => $total
719 my $total = $results{$key}{"total"};
727 logmsg(" total: " . $total . "\n");
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/
H A Dtmxleap.c47 for (lp = &tm_data.leap[0]; sec < (lp->time - lp->total); lp++); in tmxleap()
48 t = tmxsns(sec + lp->total, tmxnsec(t)); in tmxleap()
/illumos-gate/usr/src/boot/common/
H A Dbcache.c365 size_t csize, isize, total; in bcache_strategy() local
390 total = 0; in bcache_strategy()
402 buf + total, &isize); in bcache_strategy()
409 if (total != 0) in bcache_strategy()
414 total += isize; in bcache_strategy()
420 *rsize = total; in bcache_strategy()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dleaky.c119 leaky_verbose_perc(char *str, uint64_t stat, uint64_t total) in leaky_verbose_perc() argument
121 uint_t perc = (stat * 100) / total; in leaky_verbose_perc()
122 uint_t tenths = ((stat * 1000) / total) % 10; in leaky_verbose_perc()
470 uintptr_t total = 0; in leaky_add_leak() local
488 total = type; in leaky_add_leak()
490 total += stack[i]; in leaky_add_leak()
494 ndx = total % LK_BUFCTLHSIZE; in leaky_add_leak()
771 #define LK_REPORT_BEAN(x) leaky_verbose_perc(#x, lk_beans.lkb_##x, total);
780 ssize_t total; in findleaks() local
866 total = lk_beans.lkb_dismissals + lk_beans.lkb_misses + in findleaks()
[all …]
/illumos-gate/usr/src/test/util-tests/tests/awk/examples/awk/
H A Dp.525 printf "\t%-10s\t %6d\n", "total", subtotal
15 END { printf "\t%-10s\t %6d\n", "total", subtotal
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_cxt.c646 total, CONN_CXT_SIZE(p_hwfn)); in ecore_cxt_cfg_ilt_compute()
659 total, CONN_CXT_SIZE(p_hwfn)); in ecore_cxt_cfg_ilt_compute()
721 curr_line, total, in ecore_cxt_cfg_ilt_compute()
741 curr_line, total, in ecore_cxt_cfg_ilt_compute()
757 curr_line, total, in ecore_cxt_cfg_ilt_compute()
809 if (total) { in ecore_cxt_cfg_ilt_compute()
829 if (total) { in ecore_cxt_cfg_ilt_compute()
832 total * TM_ELEM_SIZE, in ecore_cxt_cfg_ilt_compute()
842 if (total) { in ecore_cxt_cfg_ilt_compute()
845 total * TM_ELEM_SIZE, in ecore_cxt_cfg_ilt_compute()
[all …]
/illumos-gate/usr/src/uts/common/fs/ctfs/
H A Dctfs_root.c343 int total, i; in ctfs_statvfs() local
348 for (i = 0, total = 0; i < ct_ntypes; i++) in ctfs_statvfs()
349 total += contract_type_count(ct_types[i]); in ctfs_statvfs()
350 sp->f_files = total; in ctfs_statvfs()
351 sp->f_favail = sp->f_ffree = INT_MAX - total; in ctfs_statvfs()
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_buf.c67 size_t total = 0; in fmd_buf_hash_destroy() local
74 total += bp->buf_size; in fmd_buf_hash_destroy()
81 return (total); in fmd_buf_hash_destroy()
/illumos-gate/usr/src/uts/common/fs/sharefs/
H A Dsharefs_vfsops.c274 int total = 1; in sharefs_statvfs() local
279 sp->f_files = total; in sharefs_statvfs()
280 sp->f_ffree = sp->f_favail = INT_MAX - total; in sharefs_statvfs()
/illumos-gate/usr/src/uts/common/fs/objfs/
H A Dobjfs_vfs.c248 int total = objfs_nobjs(); in objfs_statvfs() local
253 sp->f_files = total; in objfs_statvfs()
254 sp->f_ffree = sp->f_favail = INT_MAX - total; in objfs_statvfs()
/illumos-gate/usr/src/lib/libvrrpadm/common/
H A Dlibvrrpadm.c555 size_t len, cur_size = 0, total; in vrrp_query_func() local
562 total = sizeof (vrrp_queryinfo_t); in vrrp_query_func()
563 while (cur_size < total) { in vrrp_query_func()
564 len = read(sock, (char *)qinfo + cur_size, total - cur_size); in vrrp_query_func()
583 total += out_cnt * sizeof (vrrp_addr_t); in vrrp_query_func()
585 while (cur_size < total) { in vrrp_query_func()
586 len = read(sock, (char *)qinfo + cur_size, total - cur_size); in vrrp_query_func()
/illumos-gate/usr/src/uts/common/os/
H A Dlgrp_topo.c844 int total; in lgrp_lineage_add() local
847 count = total = 0; in lgrp_lineage_add()
930 total += count; in lgrp_lineage_add()
941 total += lgrp_proprogate(newleaf, child, latency, in lgrp_lineage_add()
1004 total += lgrp_proprogate(newleaf, child, in lgrp_lineage_add()
1031 total++; in lgrp_lineage_add()
1044 total += lgrp_new_parent(child, latency, rset, in lgrp_lineage_add()
1082 total += lgrp_proprogate(newleaf, child, latency, in lgrp_lineage_add()
1105 total += lgrp_collapse_dups(collapse, lgrp_collapse_equidist, in lgrp_lineage_add()
1113 total, (u_longlong_t)*changed); in lgrp_lineage_add()
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/ustack/
H A Dtst.spin.ksh53 @total = count();
84 printa("TOTAL %@u\n", @total);
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpoptr.c57 int total = 0; in addem() local
60 return (total); in addem()
62 total += *s++; in addem()
63 return (total); in addem()
/illumos-gate/usr/src/cmd/sgs/rtld/mdbmod/common/
H A Drtld.msg328 @ MSG_LMLIST_LINE0 " lists: 0x%0?p Alist[used %u: total %u]\n"
364 \t lists: 0xff3f0b00 Alist[used 1: total 4]\n\
389 \t lists: 0xff3f0b68 Alist[used 1: total 4]\n\
400 \t lists: 0xff3f0ba4 Alist[used 1: total 4]\n\
546 \t Depends: 0xff3b0bc4 APlist[used 2: total 4]\n\
580 \t Callers: 0xff3b08cc APlist[used 1: total 4]\n\
597 @ MSG_HANDLES_LINE2 " HANDLE: 0x%0?p APlist[used %u: total %u]\n"
611 \t HANDLE: 0xff3b1310 APlist[used 1: total 1]\n\
640 @ MSG_GROUPS_LINE2 " Groups: 0x%0?p APlist[used %u: total %u]\n"
654 \t Groups: 0xff3b12a8 APlist[used 1: total 1]\n\
[all …]

1234567891011