/freebsd/sys/contrib/zlib/test/ |
H A D | infcover.c | 65 size_t total, highwater; /* total allocations, and largest total */ member 79 if (zone == NULL || (zone->limit && zone->total + len > zone->limit)) in mem_alloc() 103 zone->total += item->size; in mem_alloc() 104 if (zone->total > zone->highwater) in mem_alloc() 105 zone->highwater = zone->total; in mem_alloc() 144 zone->total -= next->size; in mem_free() 165 zone->total = 0; in mem_setup() 188 fprintf(stderr, "%s: %lu allocated\n", prefix, zone->total); in mem_used() 220 if (count || zone->total) in mem_done() 222 prefix, zone->total, count); in mem_done()
|
/freebsd/contrib/unbound/contrib/ |
H A D | unbound_munin_ | 454 sed -e 's/=.*//'` total.num.queries \ 455 total.num.cachehits total.num.prefetch num.query.tcp \ 465 for x in total.requestlist.avg total.requestlist.max \ 466 total.requestlist.overwritten total.requestlist.exceeded; do 506 get_value total.num.cachehits
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/scripts/ |
H A D | dtest.pl | 241 my($total) = 0; 520 $total = scalar(@files); 522 $passed = ($total - $failed - $bypassed); 527 "total" => $total 695 my $total = $results{$key}{"total"}; 703 logmsg(" total: " . $total . "\n");
|
/freebsd/contrib/sendmail/src/ |
H A D | stab.c | 483 int i, t, total, types[MAXSTTYPES]; in dumpstab() local 487 total = 0; in dumpstab() 495 ++total; in dumpstab() 503 sm_syslog(LOG_INFO, NOQID, "stab: total=%d (%d)", total, total - prev); in dumpstab() 504 prev = total; in dumpstab()
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_read_support_filter_program.c | 456 size_t total; in program_filter_read() local 461 total = 0; in program_filter_read() 463 while (state->child_stdout != -1 && total < state->out_buf_len) { in program_filter_read() 464 bytes = child_read(self, p, state->out_buf_len - total); in program_filter_read() 472 total += bytes; in program_filter_read() 477 return (total); in program_filter_read()
|
/freebsd/usr.sbin/dumpcis/ |
H A D | readcis.c | 253 int total = 0; in read_one_tuplelist() local 272 total++; in read_one_tuplelist() 282 total++; in read_one_tuplelist() 312 total += length; in read_one_tuplelist() 325 } while (code != CIS_END && total < 1024); in read_one_tuplelist()
|
/freebsd/tools/regression/net80211/wep/ |
H A D | test_wep.c | 299 int i, pass, total; in init_crypto_wep_test() local 316 total = 0; in init_crypto_wep_test() 319 total++; in init_crypto_wep_test() 322 printf("%u of %u 802.11i WEP test vectors passed\n", pass, total); in init_crypto_wep_test() 327 return (pass == total ? 0 : -1); in init_crypto_wep_test()
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_cq.c | 52 int total = 0; in ib_cq_poll_work() local 71 total += n; in ib_cq_poll_work() 72 if (total >= IB_CQ_POLL_BUDGET) in ib_cq_poll_work()
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_strtab.c | 287 ssize_t res, total = 0; in dt_strtab_write() local 291 for (i = 0; i < sp->str_nbufs; i++, total += res) { in dt_strtab_write() 297 if ((res = func(sp->str_bufs[i], n, total, private)) <= 0) in dt_strtab_write() 301 if (total == 0 && sp->str_size != 0) in dt_strtab_write() 304 return (total); in dt_strtab_write()
|
/freebsd/crypto/openssl/crypto/perlasm/ |
H A D | cbc.pl | 326 $total=16+4; 327 $total+=4 if ($p1 > 0); 328 $total+=4 if ($p2 > 0); 329 $total+=4 if ($p3 > 0); 330 &add("esp",$total);
|
/freebsd/tools/tools/npe/npestats/ |
H A D | npestats.c | 128 struct npestats total; member 164 npe_collect(wf, &wf->total); in npe_collect_tot() 172 wf->total = wf->cur; in npe_update_tot() 180 snprintf(b, bs, "%u", wf->cur.x - wf->total.x); return 1 in npe_get_curstat() 216 snprintf(b, bs, "%u", wf->total.x); return 1 in npe_get_totstat()
|
/freebsd/sys/powerpc/powerpc/ |
H A D | minidump_machdep.c | 53 static size_t total, dumptotal; variable 203 DBG(total = dumptotal = 0;) in cpu_minidumpsys() 300 dump_total("mem_chunks", dumpsize - total); in cpu_minidumpsys() 334 total += sz; in dump_total() 336 id, sz, total, dumptotal); in dump_total()
|
/freebsd/usr.bin/systat/ |
H A D | proc.c | 64 uint64_t total; member 94 sysputuint64(wnd, y, offset, 4, pu[idx]->total, 0); in display_proc_line() 97 rate = pu[idx]->total > 1 ? 100 * swapbytes / pu[idx]->total : 0; in display_proc_line() 270 pu[nproc]->total = kipp[i].ki_size; in procgetinfo()
|
/freebsd/sys/dev/irdma/ |
H A D | irdma_pble.c | 380 u32 lf4k, lflast, total, i; in get_lvl2_pble() local 392 total = (lflast == 0) ? lf4k : lf4k + 1; in get_lvl2_pble() 393 lvl2->leaf_cnt = total; in get_lvl2_pble() 395 lvl2->leafmem.size = (sizeof(*leaf) * total); in get_lvl2_pble() 403 total << 3, &root->addr, &fpm_addr); in get_lvl2_pble() 411 root->cnt = total; in get_lvl2_pble() 413 for (i = 0; i < total; i++, leaf++) { in get_lvl2_pble() 414 pblcnt = (lflast && ((i + 1) == total)) ? in get_lvl2_pble()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-size/ |
H A D | llvm-size.cpp | 212 uint64_t total = 0; in printDarwinSectionSizes() local 222 total += Seg.vmsize; in printDarwinSectionSizes() 249 total += Seg.vmsize; in printDarwinSectionSizes() 344 << total_others << "\t" << total << "\t" << format("%" PRIx64, total) in printDarwinSegmentSizes() 352 uint64_t total = 0; in printObjectSectionSizes() local 377 total += size; in printObjectSectionSizes() 430 total += *CommonSizeOrErr; in printObjectSectionSizes() 444 total) in printObjectSectionSizes() 476 total = total_text + total_data + total_bss; in printObjectSectionSizes() 482 TotalObjectTotal += total; in printObjectSectionSizes() [all …]
|
/freebsd/sys/i386/include/ |
H A D | stack.h | 13 #define GET_STACK_USAGE(total, used) do { \ argument 15 (total) = (vm_offset_t)get_pcb_td(td) - td->td_kstack; \
|
/freebsd/sys/amd64/include/ |
H A D | stack.h | 13 #define GET_STACK_USAGE(total, used) do { \ argument 15 (total) = td->td_kstack_pages * PAGE_SIZE; \
|
/freebsd/contrib/one-true-awk/testdir/ |
H A D | p.52 | 5 printf "\t%-10s\t %6d\n", "total", subtotal 15 END { printf "\t%-10s\t %6d\n", "total", subtotal
|
/freebsd/sys/dev/drm2/ |
H A D | drm_bufs.c | 695 int total; in drm_addbufs_agp() local 710 total = PAGE_SIZE << page_order; in drm_addbufs_agp() 777 buf->total = alignment; in drm_addbufs_agp() 853 int total; in drm_addbufs_pci() local 888 total = PAGE_SIZE << page_order; in drm_addbufs_pci() 978 buf->total = alignment; in drm_addbufs_pci() 1065 int total; in drm_addbufs_sg() local 1140 buf->total = alignment; in drm_addbufs_sg() 1221 int total; in drm_addbufs_fb() local 1296 buf->total = alignment; in drm_addbufs_fb() [all …]
|
/freebsd/contrib/ofed/libcxgb4/ |
H A D | qp.c | 49 int total, len; in copy_wr_to_sq() local 66 total = len16 * 16; in copy_wr_to_sq() 68 if (__predict_true((uintptr_t)dst + total <= end)) { in copy_wr_to_sq() 70 memcpy(dst, src, total); in copy_wr_to_sq() 74 memcpy(wq->sq.queue, src + len, total - len); in copy_wr_to_sq() 85 int total, len; in copy_wr_to_rq() local 91 total = len16 * 16; in copy_wr_to_rq() 93 if (__predict_true((uintptr_t)dst + total <= end)) { in copy_wr_to_rq() 95 memcpy(dst, src, total); in copy_wr_to_rq() 99 memcpy(wq->rq.queue, src + len, total - len); in copy_wr_to_rq()
|
/freebsd/usr.bin/top/ |
H A D | display.c | 342 i_procstates(int total, int *brkdn) in i_procstates() argument 349 printf("%d %s:", total, ps.thread ? "threads" : "processes"); in i_procstates() 350 ltotal = total; in i_procstates() 353 i = digits(total); in i_procstates() 368 u_procstates(int total, int *brkdn) in u_procstates() argument 376 if (ltotal != total) in u_procstates() 386 printf("%d", total); in u_procstates() 389 if (digits(total) != digits(ltotal)) in u_procstates() 393 i = digits(total); in u_procstates() 402 ltotal = total; in u_procstates()
|
/freebsd/tools/regression/net80211/ccmp/ |
H A D | test_ccmp.c | 710 int i, pass, total; in init_crypto_ccmp_test() local 727 total = 0; in init_crypto_ccmp_test() 730 total++; in init_crypto_ccmp_test() 733 printf("%u of %u 802.11i AES-CCMP test vectors passed\n", pass, total); in init_crypto_ccmp_test() 738 return (pass == total ? 0 : -1); in init_crypto_ccmp_test()
|
/freebsd/contrib/wpa/hostapd/ |
H A D | hostapd_cli.c | 694 int res, i, total; in hostapd_cli_cmd_bss_tm_req() local 705 total = res; in hostapd_cli_cmd_bss_tm_req() 707 tmp = &buf[total]; in hostapd_cli_cmd_bss_tm_req() 711 total += res; in hostapd_cli_cmd_bss_tm_req() 1135 int total; in hostapd_cli_cmd_fst() local 1145 res = os_snprintf(cmd + total, sizeof(cmd) - total, " %s", in hostapd_cli_cmd_fst() 1151 total += res; in hostapd_cli_cmd_fst() 1165 int total; in hostapd_cli_cmd_chan_switch() local 1183 total = res; in hostapd_cli_cmd_chan_switch() 1185 tmp = cmd + total; in hostapd_cli_cmd_chan_switch() [all …]
|
/freebsd/contrib/unbound/daemon/ |
H A D | unbound.c | 197 size_t total = numthread * perthread + misc; in checkrlimits() local 230 if(total > 1024 && in checkrlimits() 242 total = 1024; in checkrlimits() 256 total = numthread*(perthread_noudp+ in checkrlimits() 265 if((size_t)rlim.rlim_cur < total) { in checkrlimits() 267 rlim.rlim_cur = (rlim_t)(total + 10); in checkrlimits() 268 rlim.rlim_max = (rlim_t)(total + 10); in checkrlimits() 274 (unsigned)avail, (unsigned)total+10); in checkrlimits() 291 (unsigned)avail, (unsigned)total+10); in checkrlimits()
|
/freebsd/sys/contrib/zstd/programs/ |
H A D | datagen.c | 161 U64 total = 0; in RDG_genStdout() local 175 while (total < size) { in RDG_genStdout() 176 size_t const genBlockSize = (size_t) (MIN (stdBlockSize, size-total)); in RDG_genStdout() 178 total += genBlockSize; in RDG_genStdout()
|