/freebsd-11.0-release/lib/libz/test/ |
H A D | infcover.c | 27 and high water mark of total bytes requested, optionally set a limit on the 28 total memory that can be allocated, and when done check for memory leaks. 36 mem_limit(&strm, limit) sets a limit on the total bytes requested -- a 41 mem_used(&strm, "msg") prints to stderr "msg" and the total bytes used 65 size_t total, highwater; /* total allocations, and largest total */ member in struct:mem_zone 79 if (zone == NULL || (zone->limit && zone->total + len > zone->limit)) 103 zone->total += item->size; 104 if (zone->total > zon [all...] |
/freebsd-11.0-release/usr.bin/vmstat/ |
H A D | vmstat.c | 610 xo_errx(1, "vm.total size mismatch"); 686 struct vmtotal total; local 806 fill_vmtotal(&total); 810 total.t_rq - 1, total.t_dw + total.t_pw, total.t_sw); 818 total.t_avm * (u_int64_t)sum.v_page_size, 5); 821 total.t_free * (u_int64_t)sum.v_page_size, 5); 826 vmstat_pgtok(total 1222 double lpct, total; local 1243 double lpct, total; local [all...] |
/freebsd-11.0-release/usr.sbin/lpr/common_source/ |
H A D | matchjobs.c | 498 int cnt, matched, total; local 509 total = 0; 521 total++; 550 total++; 567 return (total);
|
/freebsd-11.0-release/sys/dev/drm/ |
H A D | drm_bufs.c | 422 int total; local 434 total = PAGE_SIZE << page_order; 445 DRM_DEBUG("total: %d\n", total); 456 (agp_offset + total * count <= 483 buf->total = alignment; 545 int total; local 567 total = PAGE_SIZE << page_order; 624 offset + size <= total && entry->buf_count < count; 628 buf->total 701 int total; local [all...] |
/freebsd-11.0-release/contrib/unbound/daemon/ |
H A D | unbound.c | 228 size_t total = numthread * perthread + misc; local 232 if(total > 1024 && 244 total = 1024; 258 total = numthread*(perthread_noudp+ 267 if((size_t)rlim.rlim_cur < total) { 269 rlim.rlim_cur = (rlim_t)(total + 10); 270 rlim.rlim_max = (rlim_t)(total + 10); 276 (unsigned)avail, (unsigned)total+10); 293 (unsigned)avail, (unsigned)total+10);
|
/freebsd-11.0-release/contrib/apr-util/buckets/ |
H A D | apr_brigade.c | 193 apr_off_t total = 0; local 206 total = -1; 216 total += bkt->length; 219 *length = total; 274 apr_size_t total; local 290 total = (apr_size_t)actual; 292 *c = apr_palloc(pool, total); 294 rv = apr_brigade_flatten(bb, *c, &total); 300 *len = total; 499 /* Compute the total lengt [all...] |
/freebsd-11.0-release/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_consume.c | 513 dt_quantize_total(dtrace_hdl_t *dtp, int64_t datum, long double *total) argument 518 *total += val; 524 * highest value to be approximately 95% of total bar height -- so we 530 if (*total < val) 531 *total = val; 593 uint64_t normal, long double total) 596 long double f = (dt_fabsl((long double)val) * len) / total; 632 uint64_t normal, long double total, char positives, char negatives) 641 assert(!(total == 0 && (positives || negatives))); 644 assert(!(val != 0 && total 592 dt_print_quantline_utf8(dtrace_hdl_t *dtp, FILE *fp, int64_t val, uint64_t normal, long double total) argument 631 dt_print_quantline(dtrace_hdl_t *dtp, FILE *fp, int64_t val, uint64_t normal, long double total, char positives, char negatives) argument 704 dt_print_packed(dtrace_hdl_t *dtp, FILE *fp, long double datum, long double total) argument 768 long double total = 0; local 823 long double total = 0, count = 0; local 867 long double total = 0; local 944 long double total = 0, count = 0; local 1000 long double total = 0; local [all...] |
/freebsd-11.0-release/sys/dev/sfxge/common/ |
H A D | efx_ev.c | 1083 unsigned int total; local 1096 for (total = 0; total < batch; ++total) { 1097 EFSYS_MEM_READQ(eep->ee_esmp, offset, &(ev[total])); 1099 if (!EFX_EV_PRESENT(ev[total])) 1103 uint32_t, EFX_QWORD_FIELD(ev[total], EFX_DWORD_1), 1104 uint32_t, EFX_QWORD_FIELD(ev[total], EFX_DWORD_0)); 1115 if (total == batch && total < EFSYS_OPT_EV_PREFETCH_PERIO [all...] |
/freebsd-11.0-release/contrib/unbound/util/data/ |
H A D | msgreply.c | 86 size_t total, enum sec_status sec) 91 sizeof(struct ub_packed_rrset_key*) * total; 92 if(total >= RR_COUNT_MAX) return NULL; /* sanity check on numRRS*/ 96 sizeof(struct rrset_ref) * (total)); 106 rep->rrset_count = total; 112 else rep->rrsets = (struct ub_packed_rrset_key**)&(rep->ref[total]); 114 memset( rep->rrsets, 0, sizeof(struct ub_packed_rrset_key*) * total); 116 memset( &rep->ref[0], 0, sizeof(struct rrset_ref) * total); 263 size_t total = pset->rr_count + pset->rrsig_count; local 272 data->rr_data = (uint8_t**)&(data->rr_len[total]); 84 construct_reply_info_base(struct regional* region, uint16_t flags, size_t qd, time_t ttl, time_t prettl, size_t an, size_t ns, size_t ar, size_t total, enum sec_status sec) argument [all...] |
/freebsd-11.0-release/sys/netpfil/pf/ |
H A D | pf_norm.c | 334 uint16_t total; local 397 total = TAILQ_LAST(&frag->fr_queue, pf_fragq)->fe_off + 401 if (frent->fe_off + frent->fe_len < total && !frent->fe_mff) 406 if (frent->fe_off + frent->fe_len > total || 407 (frent->fe_off + frent->fe_len == total && frent->fe_mff)) 410 if (frent->fe_off + frent->fe_len == total && !frent->fe_mff) 475 uint16_t off, total; local 482 total = TAILQ_LAST(&frag->fr_queue, pf_fragq)->fe_off + 491 if (off < total && (next == NULL || next->fe_off != off)) { 492 DPFPRINTF(("missing fragment at %d, next %d, total 544 uint16_t total, hdrlen; local 616 uint16_t total, maxlen; local [all...] |
/freebsd-11.0-release/sbin/camcontrol/ |
H A D | progress.c | 65 progress_init(progress_t *prog, const char *prefix, uint64_t total) argument 71 prog->size = total; 108 /* make it look pretty at the end - display done bytes (usually total) */
|
/freebsd-11.0-release/usr.sbin/uathload/ |
H A D | uathload.c | 65 uint32_t total; member in struct:uath_fwmsg 181 txmsg.total = htobe32(len); 218 VERBOSE("flags=0x%x total=%d\n",
|
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
H A D | AppleObjCTypeEncodingParser.cpp | 55 uint32_t total = 0; local 57 total = 10*total + (type.Next() - '0'); 58 return total;
|
/freebsd-11.0-release/sbin/md5/ |
H A D | md5.c | 274 struct timeval total; local 299 timersub(&after.ru_utime, &before.ru_utime, &total); 300 seconds = total.tv_sec + (float) total.tv_usec / 1000000;
|
/freebsd-11.0-release/gnu/usr.bin/grep/ |
H A D | search.c | 168 size_t total = size; local 182 sep = memchr (motif, '\n', total); 187 total -= (len + 1); 191 len = total; 192 total = 0; 207 } while (sep && total != 0); 245 size_t total = size; local 267 sep = memchr (motif, '\n', total); 272 total -= (len + 1); 276 len = total; [all...] |
/freebsd-11.0-release/contrib/libstdc++/include/ext/pb_ds/detail/splay_tree_/ |
H A D | splay_fn_imps.hpp | 74 const size_type total = local 76 _GLIBCXX_DEBUG_ASSERT(total >= 3); 90 _GLIBCXX_DEBUG_ASSERT(total ==this->recursive_count(p_nd));
|
/freebsd-11.0-release/contrib/gdb/gdb/ |
H A D | bcache.c | 78 long total_count; /* total number of strings cached, including dups */ 80 long total_size; /* total number of bytes cached, including dups */ 81 long structure_size; /* total size of bcache, including infrastructure */ 85 total number of hashes can be computed by adding TOTAL_COUNT to 306 print_percentage (int portion, int total) 308 if (total == 0) 311 printf_filtered ("%3d%%\n", portion * 100 / total); 301 print_percentage(int portion, int total) argument
|
/freebsd-11.0-release/sbin/sconfig/ |
H A D | sconfig.c | 456 /* Print total statistics. */ 458 print_frac (0, st.total.uas, st.totsec); 459 print_frac (1, 60 * st.total.dm, st.totsec); 461 print_frac (0, st.total.bpv, st.totsec); 462 print_frac (1, st.total.fse, st.totsec); 464 print_frac (0, st.total.crce, st.totsec); 465 print_frac (1, st.total.rcrce, st.totsec); 467 print_frac (0, st.total.es, st.totsec); 468 print_frac (1, st.total.les, st.totsec); 470 print_frac (0, st.total [all...] |
/freebsd-11.0-release/cddl/contrib/opensolaris/cmd/zinject/ |
H A D | zinject.c | 469 int count = 0, total = 0; local 473 total += count; 480 total += count; 487 total += count; 494 return (count + total);
|
/freebsd-11.0-release/sys/dev/drm2/ |
H A D | drm_bufs.c | 365 /* This assumes the DRM is in total control of AGP space. 698 int total; local 713 total = PAGE_SIZE << page_order; 724 DRM_DEBUG("total: %d\n", total); 733 (agp_offset + total * count <= agp_entry->bound + agp_entry->pages * PAGE_SIZE)) { 780 buf->total = alignment; 856 int total; local 891 total = PAGE_SIZE << page_order; 977 offset + size <= total 1068 int total; local 1224 int total; local [all...] |
/freebsd-11.0-release/tools/regression/net80211/wep/ |
H A D | test_wep.c | 301 int i, pass, total; local 318 total = 0; 321 total++; 324 printf("%u of %u 802.11i WEP test vectors passed\n", pass, total); 329 return (pass == total ? 0 : -1);
|
/freebsd-11.0-release/usr.sbin/ac/ |
H A D | ac.c | 277 * print total login time for 24hr period in decimal hours 285 struct timeval diff, total = { 0, 0 }, usec = { 0, 1 }, yesterday; local 292 d_first ? "%e %b total" : "%b %e total", 302 timeradd(&total, &up->time, &total); 306 if (timerisset(&total)) 307 (void)printf("%s %11.2f\n", date, (double)total.tv_sec / 3600); 433 * print yesterday's total 487 * print yesterday's total [all...] |
/freebsd-11.0-release/usr.sbin/ppp/ |
H A D | ncp.c | 315 size_t total; local 318 total = mp_FillPhysicalQueues(bundle); 323 for (total = 0, dl = bundle->links; dl; dl = dl->next) 328 total += add; 332 return total + ncp_QueueLen(&bundle->ncp);
|
H A D | physical.c | 178 throughput_init(&p->link.stats.total, SAMPLE_PERIOD); 180 &dl->bundle->ncp.mp.link.stats.total : NULL; 359 throughput_stop(&p->link.stats.total); 360 throughput_log(&p->link.stats.total, LogPHASE, p->link.name); 394 throughput_destroy(&p->link.stats.total); 525 throughput_disp(&p->link.stats.total, arg->prompt); 630 p->link.stats.total.in.SampleOctets = (long long *)iov[(*niov)++].iov_base; 631 p->link.stats.total.out.SampleOctets = (long long *)iov[(*niov)++].iov_base; 633 &dl->bundle->ncp.mp.link.stats.total : NULL; 653 throughput_restart(&p->link.stats.total, "physica [all...] |
/freebsd-11.0-release/contrib/binutils/bfd/ |
H A D | cpu-ia64-opc.c | 103 int i, bits = 0, total = 0; local 109 & ((((BFD_HOST_U_64_BIT) 1) << bits) - 1)) << total; 110 total += bits; 188 int i, bits = 0, total = 0; local 195 & ((((BFD_HOST_U_64_BIT) 1) << bits) - 1)) << total; 196 total += bits; 199 sign = (BFD_HOST_64_BIT) 1 << (total - 1);
|