/illumos-gate/usr/src/boot/common/ |
H A D | bcache.c | 365 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/boot/forth/ |
H A D | support.4th | 1242 over + ( addr len addr' len' total ) \ space for prefix+str 1247 ( addr len addr' len' total taddr ) 1248 dup rot ( addr len addr' len' taddr taddr total ) 1293 over I cells + @ ( n array total array[I] ) 1294 @ + 1+ ( n array total' ) 1301 over I cells + @ ( len addr n array total array[I] ) 1302 dup @ swap cell+ ( len addr n array total len addr' ) 1303 over ( len addr n array total len addr' len ) 1304 6 pick ( len addr n array total len addr' len addr ) 1305 4 pick + ( len addr n array total len addr' len addr+total ) [all …]
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | biosdisk.c | 549 uint64_t total; in bd_get_diskinfo_ext() local 582 total = params->sectors; in bd_get_diskinfo_ext() 584 total = (uint64_t)params->cylinders * in bd_get_diskinfo_ext() 587 bd->bd_sectors = total; in bd_get_diskinfo_ext()
|
/illumos-gate/usr/src/cmd/abi/appcert/scripts/ |
H A D | symprof.pl | 748 my ($profile, $total, $count); 755 $total = 0; 772 $total += $count; 777 return if ($total == 0);
|
/illumos-gate/usr/src/cmd/addbadsec/ |
H A D | ix_altsctr.c | 599 blkaddr_t total; in altsmap_alloc() local 602 for (i = srt_ind, first_ind = srt_ind, total = 0; in altsmap_alloc() 605 total = 0; in altsmap_alloc() 609 total++; in altsmap_alloc() 610 if (total == cnt) in altsmap_alloc()
|
/illumos-gate/usr/src/cmd/ast/libast/amd64/FEATURE/ |
H A D | fs | 109 unsigned long f_blocks; /* total # of blocks of f_frsize on fs */ 110 unsigned long f_bfree; /* total # of free blocks of f_frsize */ 112 unsigned long f_files; /* total # of file nodes (inodes) */ 113 unsigned long f_ffree; /* total # of free file nodes */
|
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/ |
H A D | fs | 113 unsigned long f_blocks; /* total # of blocks of f_frsize on fs */ 114 unsigned long f_bfree; /* total # of free blocks of f_frsize */ 116 unsigned long f_files; /* total # of file nodes (inodes) */ 117 unsigned long f_ffree; /* total # of free file nodes */
|
/illumos-gate/usr/src/cmd/ast/libast/sparc/FEATURE/ |
H A D | fs | 109 unsigned long f_blocks; /* total # of blocks of f_frsize on fs */ 110 unsigned long f_bfree; /* total # of free blocks of f_frsize */ 112 unsigned long f_files; /* total # of file nodes (inodes) */ 113 unsigned long f_ffree; /* total # of free file nodes */
|
/illumos-gate/usr/src/cmd/ast/libast/sparcv9/FEATURE/ |
H A D | fs | 109 unsigned long f_blocks; /* total # of blocks of f_frsize on fs */ 110 unsigned long f_bfree; /* total # of free blocks of f_frsize */ 112 unsigned long f_files; /* total # of file nodes (inodes) */ 113 unsigned long f_ffree; /* total # of free file nodes */
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumpoptr.c | 57 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/bhyve/ |
H A D | audio.c | 226 size_t total; in audio_playback() local 236 for (total = 0; total < count; total += len) { in audio_playback() 237 len = write(audio_fd, buf + total, count - total); in audio_playback() 260 size_t total; in audio_record() local 270 for (total = 0; total < count; total += len) { in audio_record() 271 len = read(audio_fd, buf + total, count - total); in audio_record()
|
H A D | iov.c | 74 size_t total = 0; in count_iov() local 78 total += iov[i].iov_len; in count_iov() 80 return (total); in count_iov() 104 size_t ptr, total; in iov_to_buf() local 107 total = count_iov(iov, niov); in iov_to_buf() 108 *buf = realloc(*buf, total); in iov_to_buf() 117 return (total); in iov_to_buf()
|
H A D | rfb.c | 835 ssize_t nwrite, total; in rfb_send_rect() local 897 total = 0; in rfb_send_rect() 902 total += w; in rfb_send_rect() 911 return (stream_write(c->rc_fd, c->rc_zbuf, total) == total); in rfb_send_rect()
|
/illumos-gate/usr/src/cmd/bhyve/test/tests/mevent/ |
H A D | lists_delete.c | 56 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/cmd/busstat/ |
H A D | busstat.c | 782 evt_node->total = 0; in modify_evt_node() 1113 evt_node->total = 0; in read_r_evt_node() 1126 evt_node->total = 0; in read_r_evt_node() 1157 evt_node->total += delta_count; in read_r_evt_node() 1165 evt_node->evt_name, evt_node->total); in read_r_evt_node() 1243 evt_node->total = 0; in read_w_evt_node() 1247 evt_node->total += delta_count; in read_w_evt_node() 1254 evt_node->evt_name, evt_node->total); in read_w_evt_node()
|
H A D | busstat.h | 127 uint64_t total; /* Total count for this event */ member
|
/illumos-gate/usr/src/cmd/cdrw/ |
H A D | misc_scsi.c | 134 uint_t total, p_len; in set_mode_page() local 137 total = p_len + 8; in set_mode_page() 138 buf = (uchar_t *)my_zalloc(total); in set_mode_page() 151 ret = mode_select(fd, total, buf); in set_mode_page()
|
H A D | util.c | 196 uint64_t total = (uint64_t)arg; in progress() local 203 if (total == 0) { in progress() 212 total = (((uint64_t)completed) * 100)/total; in progress() 213 if (total == last_total) in progress() 215 last_total = total; in progress() 216 if (total > 100) { in progress() 222 if (total == 100) { in progress() 226 (void) snprintf(s, BUFSIZE, "%d %%", (uint_t)total); in progress()
|
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/ |
H A D | export.c | 529 int fd, n, total = 0; in pk_export_pk11_keys() local 537 n = write(fd, rkey.keydata.val + total, in pk_export_pk11_keys() 538 rkey.keydata.len - total); in pk_export_pk11_keys() 546 total += n; in pk_export_pk11_keys() 548 } while (total < rkey.keydata.len); in pk_export_pk11_keys()
|
/illumos-gate/usr/src/cmd/diskinfo/ |
H A D | diskinfo.c | 287 uint64_t size, total; in enumerate_disks() local 392 total = size * blocksize; in enumerate_disks() 396 "%llu", total); in enumerate_disks() 398 total_in_GiB = (double)total / in enumerate_disks()
|
/illumos-gate/usr/src/cmd/dtrace/test/cmd/jdtrace/ |
H A D | JDTrace.java | 298 double total = 0; in printDistribution() local 333 total += Math.abs((double)v); in printDistribution() 359 printDistributionLine(v, total, positives, negatives); in printDistribution() 364 printDistributionLine(long val, double total, boolean positives, in printDistributionLine() argument 371 assert (!(total == 0 && (positives || negatives))); in printDistributionLine() 374 assert (!(val != 0 && total == 0)); in printDistributionLine() 378 f = (Math.abs((double)val) * (double)len) / total; in printDistributionLine() 390 f = (Math.abs((double)val) * (double)len) / total; in printDistributionLine() 409 f = (Math.abs((double)val) * (double)len) / total; in printDistributionLine()
|
/illumos-gate/usr/src/cmd/dtrace/test/cmd/scripts/ |
H A D | dtest.pl | 260 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/cmd/dtrace/test/tst/common/buffering/ |
H A D | tst.cputime.ksh | 35 uint64_t total; 53 total += vtimestamp - self->on; 63 /((total * 100) / (timestamp - start)) > thresh/ 66 \$\$1, ((total * 100) / (timestamp - start)));
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/end/ |
H A D | err.D_IDENT_UNDEF.timespent.d | 40 total = timestamp - start;
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/java_api/ |
H A D | tst.Bean.ksh.out | 45 …istribution$Bucket[min = 101, max = 9223372036854775807, frequency = 0]], total = 45.0]], org.open… 56 …istribution$Bucket[min = 101, max = 9223372036854775807, frequency = 0]], total = 45.0]], org.open… 68 …istribution$Bucket[min = 101, max = 9223372036854775807, frequency = 0]], total = 45.0]], org.open… 79 …istribution$Bucket[min = 101, max = 9223372036854775807, frequency = 0]], total = 45.0]], org.open… 150 …ion$Bucket[min = 4611686018427387904, max = 9223372036854775807, frequency = 126]], total = 8001.0] 151 …ion$Bucket[min = 4611686018427387904, max = 9223372036854775807, frequency = 126]], total = 8001.0] 153 …ion$Bucket[min = 4611686018427387904, max = 9223372036854775807, frequency = 126]], total = 8001.0] 154 …ion$Bucket[min = 4611686018427387904, max = 9223372036854775807, frequency = 126]], total = 8001.0] 156 ….os.dtrace.Distribution$Bucket[min = 101, max = 9223372036854775807, frequency = 0]], total = 45.0] 157 ….os.dtrace.Distribution$Bucket[min = 101, max = 9223372036854775807, frequency = 0]], total = 45.0] [all …]
|