/xnu-2422.115.4/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-2422.115.4/tools/tests/libMicro/apple/ |
H A D | lmbench_select_file.c | 94 int max; member in struct:__anon1219 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:__anon1220 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-2422.115.4/libsyscall/mach/ |
H A D | string.c | 71 int width, max = length; local 108 return max - length;
|
/xnu-2422.115.4/tools/tests/unit_tests/cpu_monitor_tests_11646922_src/mem_hog/ |
H A D | mem_hog.c | 29 printf("\t-r: after reaching max, re-dirty it all when the user prompts to do so.\n"); 33 printf("\t-e: exit after reaching -m max dirty.\n"); 34 printf("\t-o: oscillate at the max this number of times and then continue on up.\n"); 48 int max = -1; local 65 max = atoi(optarg); 143 * Estimate max number of chunks possible, using 4GB as absolute max amount of memory 169 if ((max != -1) && (tot_mb > max)) {
|
/xnu-2422.115.4/osfmk/kern/ |
H A D | mk_sp.c | 171 int max, bas; local 194 max = rr_limit->max_priority; 195 if (invalid_pri(bas) || invalid_pri(max)) { 215 max = fifo_limit->max_priority; 216 if (invalid_pri(bas) || invalid_pri(max)) { 237 max = ts_limit->max_priority; 238 if (invalid_pri(bas) || invalid_pri(max)) {
|
H A D | affinity.c | 258 * Return affinity tag info (number, min, max) for the task. 277 info->max = THREAD_AFFINITY_TAG_NULL; 288 if (info->max == THREAD_AFFINITY_TAG_NULL || 289 aset->aset_tag > (uint32_t) info->max) 290 info->max = aset->aset_tag;
|
H A D | ipc_kobject.c | 166 #ifndef max 167 #define max(a,b) (((a) > (b)) ? (a) : (b)) macro 168 #endif /* max */ 227 mig_reply_size = max(mig_reply_size, mig_e[i]->maxsize); 251 mig_table_max_displ = max(howmany, mig_table_max_displ);
|
H A D | misc_protos.h | 90 vm_size_t max,
|
H A D | bsd_kern.c | 365 ledger_amount_t max; local 367 ret = ledger_get_maximum(task->ledger, task_ledgers.phys_footprint, &max); 369 return max;
|
/xnu-2422.115.4/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-2422.115.4/bsd/netinet/ |
H A D | tcp_newreno.c | 119 sndsb->sb_idealsize = min(max(tcp_sendspace, tp->snd_ssthresh), \ 188 tp->snd_cwnd = min(4 * tp->t_maxseg, max(2 * tp->t_maxseg, 4380)); 272 incr = max((incr * incr / cw), 1); 311 tp->snd_cwnd = max(ss, tp->t_maxseg) + tp->t_maxseg;
|
H A D | tcp_ledbat.c | 121 &allowed_increase, 1, "Additive constant used to calculate max allowed congestion window"); 126 &tether_shift, 1, "Tether shift for max allowed congestion window"); 327 tp->snd_cwnd = max(ss, tp->t_maxseg) + tp->t_maxseg;
|
/xnu-2422.115.4/tools/tests/zero-to-n/ |
H A D | zero-to-n.c | 370 * Given an array of uint64_t values, compute average, max, min, and standard deviation 413 uint64_t max, min; local 568 compute_stats(worst_latencies_ns, g_iterations, &avg, &max, &min, &stddev); 570 printf("Max:\t\t%.2f us\n", ((float)max) / 1000.0); 577 compute_stats(worst_latencies_from_first_ns, g_iterations, &avg, &max, &min, &stddev); 579 printf("Max:\t\t%.2f us\n", ((float)max) / 1000.0);
|
/xnu-2422.115.4/bsd/libkern/ |
H A D | libkern.h | 118 max(u_int a, u_int b) function
|
/xnu-2422.115.4/osfmk/device/ |
H A D | subrs.c | 372 * to max chars inside the buffer. 377 * max maximum length of string to search for null 379 * length of s or max; whichever is smaller 384 strnlen(const char *s, size_t max) { argument 385 const char *es = s + max, *p = s;
|
/xnu-2422.115.4/iokit/IOKit/ |
H A D | IOLib.h | 61 * min/max macros. 65 #define max(a,b) ((a) > (b) ? (a) : (b)) macro
|
/xnu-2422.115.4/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-2422.115.4/osfmk/x86_64/ |
H A D | kpc_x86.c | 436 uint64_t max = kpc_configurable_max(); local 454 CONFIGURABLE_RELOAD(i) = max - new_period[i];
|
/xnu-2422.115.4/osfmk/console/panic_ui/ |
H A D | qtif2kraw.c | 332 compareruns( unsigned char * data, unsigned int * index, unsigned int max, union RunData * currP, int * depth ) argument 343 if ( (*index+*depth) > max ) 387 if ( (*index+6) <= max )
|
/xnu-2422.115.4/osfmk/vm/ |
H A D | vm_page.h | 498 1 = disable high mem ( cap max pages to 4G) 982 #define DELAYED_WORK_LIMIT(max) ((vm_max_delayed_work_limit >= max ? max : vm_max_delayed_work_limit))
|
/xnu-2422.115.4/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-2422.115.4/osfmk/mach/ |
H A D | task_info.h | 230 integer_t max; member in struct:task_affinity_tag_info
|
/xnu-2422.115.4/security/ |
H A D | mac_internal.h | 109 u_int max; member in struct:mac_policy_list
|