/src/sys/arch/hpc/stand/libz/ |
zalloc.c | 37 size_t total = items * size; local in function:zcalloc 39 opaque = malloc(total); 41 memset(opaque, 0, total);
|
/src/usr.bin/cksum/ |
sum1.c | 53 off_t total; local in function:csum1 63 thecrc = total = 0; 65 for (total += nr, p = buf; nr--; ++p) { 74 *clen = total;
|
sum2.c | 54 off_t total; local in function:csum2 67 total = 0; 69 for (total += nr, p = buf; nr--; ++p) 78 *clen = total;
|
/src/lib/libc/stdio/ |
fread.c | 59 size_t total; local in function:fread 84 total = resid; 100 count = (total - resid) / size; 131 return (total - resid) / size;
|
/src/games/canfield/cfscores/ |
cfscores.c | 107 struct betinfo total; local in function:printuser 120 i = read(dbfd, &total, sizeof(total)); 123 if (i == 0 || total.hand == 0) { 129 if (total.worth >= 0) 134 printf("|Costs Total |\n"); 135 printf("| Hands %8ld |\n", total.hand); 136 printf("| Inspections %8ld |\n", total.inspection); 137 printf("| Games %8ld |\n", total.game); 138 printf("| Runs %8ld |\n", total.runs) [all...] |
/src/lib/libc/db/recno/ |
rec_search.c | 75 recno_t total; local in function:__rec_search 79 for (pg = P_ROOT, total = 0;;) { 84 t->bt_cur.index = recno - total; 89 if (++idx == top || total + r->nrecs > recno) 91 total += r->nrecs;
|
/src/sbin/newfs_v7fs/ |
newfs_v7fs.h | 41 off_t total; member in struct:progress_arg
|
/src/games/backgammon/common_source/ |
odds.c | 72 int total; local in function:count 74 total = 0; 77 total += table[i][j]; 78 return (total);
|
/src/sbin/fsck_v7fs/ |
fsck_v7fs.h | 51 off_t total; member in struct:progress_arg
|
inode.c | 48 int total; member in struct:ilistcheck_arg 127 arg->total++; 138 struct ilistcheck_arg arg = { .total = 0, .alloc = 0 }; 143 int nfree = arg.total - arg.alloc; 146 pwarn("*** corrupt total freeinode. %d(sb) != %d(cnt)\n", 158 pwarn("\ninode usage: %d/%d (%d)\n", arg.alloc, arg.total, nfree);
|
freeblock.c | 137 int i, total, n; local in function:freeblock_dup_remove 144 total = 0; 145 for (i = sb->nfreeblock - 1; (i > 0) && (n >= 0); i--, n--, total++) { 173 sb->nfreeblock, total); 174 sb->nfreeblock = total; /*shotage freeblock list. */ 179 total++; 184 i--, n--, total++) {
|
/src/sys/arch/ews4800mips/stand/common/ |
inckern.c | 42 int err, i, n, total, nulldata; local in function:main 46 total = 0; 54 total = strtoul(optarg, 0, 0); 58 if ((optarg == 0) || (total != 0) || 74 fprintf(ofd, "%d];\n", total); 75 fprintf(ofd, "int kernel_binary_size = %d;\n", total); 84 total += n; 86 fprintf(ofd, "\n};\nint kernel_binary_size = %d;\n", total);
|
boot.c | 181 int i, size, total; local in function:cmd_info 195 total = 0; 199 total += size; 203 printf(" total %dMB\n", total);
|
/src/usr.bin/m4/lib/ |
ohash.h | 41 unsigned int total; member in struct:ohash
|
/src/usr.sbin/npf/npftest/libnpftest/ |
npf_perf_test.c | 57 uint64_t total = 0; local in function:npf_test_conc 84 total += npackets[i]; 89 printf("%u\t%" PRIu64 "\n", nthreads, total / NSECS);
|
/src/sys/arch/aarch64/aarch64/ |
procfs_machdep.c | 41 /* use variables named 'buf', 'left', 'total' */ 44 total += _len; \ 64 size_t left, total; local in function:procfs_cpuinfo_features 73 total = 0; 180 return total; 188 size_t left, len, total; local in function:procfs_getcpuinfstr 192 total = 0; 213 if (total >= *lenp) 216 *lenp = total + 1; /* total output + '\0' * [all...] |
/src/sys/kern/ |
subr_localcount.c | 100 int64_t total = 0; local in function:localcount_drain 106 lc->lc_totalp = &total; 120 while (total != 0) { 123 * references on all CPUs, the total had better be 126 KASSERTMSG((0 < total), 128 lc, total); 154 * global total, resetting the per-CPU counter to zero. Once 155 * localcount_drain() has started, we only maintain the total 279 * Return a total reference count of lc. It returns a correct value
|
/src/games/dab/ |
ttyscrn.cc | 177 void TTYSCRN::total(size_t s, const PLAYER& p) function in class:TTYSCRN
|
board.cc | 225 // Post the total score for player i 226 void BOARD::total(size_t i, const PLAYER& p) function in class:BOARD 230 _scrn->total(i, p); 233 // Post the total score for player i
|
/src/sys/arch/ews4800mips/ews4800mips/ |
sbd.c | 80 size_t size, total = 0; local in function:sbd_memcluster_init 123 total += size; 126 printf(" total %dMB\n", total); 128 mem_clusters[0].size = total << 20;
|
/src/sys/external/bsd/drm2/dist/drm/i915/gt/ |
intel_sseu.c | 32 unsigned int i, total = 0; local in function:intel_sseu_subslice_total 35 total += hweight8(sseu->subslice_mask[i]); 37 return total;
|
/src/usr.bin/fincore/ |
fincore.c | 157 const uintmax_t total = howmany(st.st_size, page_size); local in function:do_file 158 const double pct = (total != 0) ? ((double)n / total * 100) : 0; 164 printf(" %ju / %ju in-core pages (%0.2f%%)", n, total, pct);
|
/src/lib/libbluetooth/ |
sdp_service.c | 98 uint16_t total, count, got; local in function:sdp_service_search 162 total = be16dec(ptr); 164 if (total > *num) 175 if (got + count > total)
|
/src/lib/librefuse/refuse/ |
buf.c | 50 size_t total = 0; local in function:fuse_buf_size 53 total += bufv->buf[i].size; 56 return total; 75 ssize_t total = 0; local in function:fuse_buf_read_fd_to_mem 89 else if (total == 0) 101 total += n_read; 111 return total; 120 ssize_t total = 0; local in function:fuse_buf_write_mem_to_fd 134 else if (total == 0) 145 total += n_wrote 164 ssize_t total = 0; local in function:fuse_buf_copy_fd_to_fd 279 ssize_t total = 0; local in function:fuse_buf_copy [all...] |
/src/sys/arch/evbppc/dht/ |
machdep.c | 143 u_int total = 0; local in function:dht_memsize 150 total += SDRAM0_BnCR_SZ(val); 152 return total;
|