/xnu-2782.1.97/libkern/zlib/ |
H A D | inftrees.c | 69 unsigned min, max; /* minimum and maximum code lengths */ local 141 for (max = MAXBITS; max >= 1; max--) 142 if (count[max] != 0) break; 143 if (root > max) root = max; 144 if (max == 0) { /* no symbols to code at all */ 164 if (left > 0 && (type == CODES || max != 1)) 203 all codes of length max, [all...] |
/xnu-2782.1.97/tools/tests/libMicro/apple/ |
H A D | lmbench_select_file.c | 94 int max; member in struct:__anon1243 264 for (i = 0; i <= ts->max; ++i) { 338 ts->max = 0; 349 if (fd > ts->max) 350 ts->max = fd; 357 ts->max++;
|
H A D | lmbench_select_tcp.c | 109 int max; member in struct:__anon1244 493 for (i = 0; i <= ts->max; ++i) { 562 ts->max = 0; 569 if (fd > ts->max) 570 ts->max = fd; 577 ts->max++;
|
H A D | lmbench_lat_ctx.c | 83 #ifndef max 84 #define max(a, b) ((a) > (b) ? (a) : (b)) macro 193 int max = sched_ncpus() - 1; local 196 for (i = max>>1, nbits = 1; i > 0; i >>= 1, nbits++)
|
/xnu-2782.1.97/libsyscall/mach/ |
H A D | string.c | 71 int width, max = length; local 108 return max - length;
|
/xnu-2782.1.97/osfmk/kern/ |
H A D | mk_sp.c | 80 int max, bas; local 106 max = rr_limit->max_priority; 107 if (invalid_pri(bas) || invalid_pri(max)) { 127 max = fifo_limit->max_priority; 128 if (invalid_pri(bas) || invalid_pri(max)) { 149 max = ts_limit->max_priority; 150 if (invalid_pri(bas) || invalid_pri(max)) { 168 /* Note that we do not pass on max priority. */
|
H A D | affinity.c | 262 * Return affinity tag info (number, min, max) for the task. 281 info->max = THREAD_AFFINITY_TAG_NULL; 292 if (info->max == THREAD_AFFINITY_TAG_NULL || 293 aset->aset_tag > (uint32_t) info->max) 294 info->max = aset->aset_tag;
|
H A D | misc_protos.h | 90 vm_size_t max,
|
H A D | ipc_kobject.c | 165 #ifndef max 166 #define max(a,b) (((a) > (b)) ? (a) : (b)) macro 167 #endif /* max */ 242 mig_table_max_displ = max(howmany, mig_table_max_displ);
|
/xnu-2782.1.97/tools/tests/jitter/ |
H A D | timer_jitter.c | 80 printf("Usage: jitter [-w] [-s <random seed>] [-n <min sleep, ns>] [-m <max sleep, ns>] <realtime | timeshare | fixed> <num iterations> <traceworthy jitter, ns>\n"); 191 print_stats_us(const char *label, double avg, double max, double min, double stddev) argument 193 printf("Max %s: %.1lfus\n", label, max / 1000.0 * (((double)g_mti.numer) / ((double)g_mti.denom))); 201 print_stats_fract(const char *label, double avg, double max, double min, double stddev) argument 203 printf("Max %s jitter: %.1lf%%\n", label, max * 100); 230 double avg, stddev, max, min; local 397 compute_stats(jitter_arr, iterations, &avg, &max, &min, &stddev); 401 print_stats_us("jitter", avg, max, min, stddev); 411 compute_stats(wakeup_second_jitter_arr, iterations, &avg, &max, &min, &stddev); 414 print_stats_us("second jitter", avg, max, mi [all...] |
/xnu-2782.1.97/bsd/netinet/ |
H A D | tcp_newreno.c | 219 incr = max((incr * incr / cw), 1); 258 tp->snd_cwnd = max(ss, tp->t_maxseg) + tp->t_maxseg; 344 tp->snd_cwnd = max(TCP_CC_CWND_INIT_BYTES, cwnd * tp->t_maxseg);
|
H A D | tcp_cc.c | 97 sndsb->sb_idealsize = min(max(tcp_sendspace, tp->snd_ssthresh), \ 309 max(2 * tp->t_maxseg, TCP_CC_CWND_INIT_BYTES));
|
H A D | tcp_cubic.c | 145 /* Initialize cubic last max to be same as ssthresh */ 207 elapsed_time += max(tcp_cubic_use_minrtt, rtt); 230 * loss happened) is within a small range from the average last max 357 * If the congestion window is less than the last max window when 438 tp->snd_cwnd = max(flight_size, tp->t_maxseg)
|
H A D | tcp_sack.c | 378 tp->t_reorderwin = max(tp->t_reorderwin, rext); 381 tp->t_reorderwin = max(tp->t_reorderwin, 10);
|
H A D | tcp_ledbat.c | 117 &allowed_increase, 1, "Additive constant used to calculate max allowed congestion window"); 122 &tether_shift, 1, "Tether shift for max allowed congestion window"); 323 tp->snd_cwnd = max(ss, tp->t_maxseg) + tp->t_maxseg;
|
/xnu-2782.1.97/bsd/libkern/ |
H A D | libkern.h | 118 max(u_int a, u_int b) function
|
/xnu-2782.1.97/osfmk/device/ |
H A D | subrs.c | 373 * to max chars inside the buffer. 378 * max maximum length of string to search for null 380 * length of s or max; whichever is smaller 386 strnlen(const char *s, size_t max) { argument 387 const char *es = s + max, *p = s;
|
/xnu-2782.1.97/tools/tests/zero-to-n/ |
H A D | zero-to-n.c | 377 * Given an array of uint64_t values, compute average, max, min, and standard deviation 420 uint64_t max, min; local 605 compute_stats(worst_latencies_ns, g_iterations, &avg, &max, &min, &stddev); 607 printf("Max:\t\t%.2f us\n", ((float)max) / 1000.0); 614 compute_stats(worst_latencies_from_first_ns, g_iterations, &avg, &max, &min, &stddev); 616 printf("Max:\t\t%.2f us\n", ((float)max) / 1000.0);
|
/xnu-2782.1.97/iokit/IOKit/ |
H A D | IOLib.h | 61 * min/max macros. 65 #define max(a,b) ((a) > (b) ? (a) : (b)) macro
|
/xnu-2782.1.97/bsd/netinet6/ |
H A D | in6_cga.c | 257 in6_cga_parameters_prepare(void *output, size_t max, argument 271 max < in6_cga.cga_pubkey.iov_len + sizeof (modifier->octets) + 9) {
|
/xnu-2782.1.97/osfmk/vm/ |
H A D | vm_page.h | 526 1 = disable high mem ( cap max pages to 4G) 1036 #define DELAYED_WORK_LIMIT(max) ((vm_max_delayed_work_limit >= max ? max : vm_max_delayed_work_limit))
|
/xnu-2782.1.97/bsd/security/audit/ |
H A D | audit_bsd.c | 204 type->mt_maxsize = max(type->mt_size, type->mt_maxsize); 206 type->mt_maxused = max(type->mt_inuse, type->mt_maxused);
|
/xnu-2782.1.97/osfmk/x86_64/ |
H A D | kpc_x86.c | 471 uint64_t max = kpc_configurable_max(); local 489 CONFIGURABLE_RELOAD(i) = max - new_period[i];
|
/xnu-2782.1.97/osfmk/mach/ |
H A D | task_info.h | 230 integer_t max; member in struct:task_affinity_tag_info
|
/xnu-2782.1.97/security/ |
H A D | mac_internal.h | 109 u_int max; member in struct:mac_policy_list
|