Searched refs:MAX (Results 1 - 25 of 40) sorted by relevance

12

/darwin-on-arm/xnu/tools/tests/libMicro/
H A Dpoll.c31 #define MAX(x, y) ((x) > (y) ? (x) : (y)) macro
144 fds[i+1] = MAX(pair[0], pair[1]);
153 target = MAX(optr, optw);
H A Dselect.c31 #define MAX(x, y) ((x) > (y) ? (x) : (y)) macro
144 fds[i+1] = MAX(pair[0], pair[1]);
/darwin-on-arm/xnu/bsd/sys/
H A Dparam.h229 #ifndef MAX
230 #define MAX(a,b) (((a)>(b))?(a):(b)) macro
231 #endif /* MAX */
H A Duio_internal.h166 ( sizeof(struct uio) + (MAX(sizeof(struct user_iovec), sizeof(struct kern_iovec)) * (a_iovcount)) )
/darwin-on-arm/xnu/osfmk/kern/
H A Dmisc_protos.h53 #ifndef MAX
54 #define MAX(a,b) (((a)>(b))?(a):(b)) macro
55 #endif /* MAX */
H A Dstartup.c559 task_max = MAX(task_max, task_max_base * scale);
H A Ddebug.c437 bcopy(&inbuf[i+7], &inbuf[i+8], MAX(0, (int) (length - i - 8)));
/darwin-on-arm/xnu/tools/tests/superpages/
H A Dmeasure_tlbs.c16 #define MAX (1024*1024) /* KB */ macro
114 for (kb=START; kb<MAX; kb+=STEP) {
/darwin-on-arm/xnu/osfmk/i386/
H A Drtclock_native.c68 return MIN(MAX(rtc_decrementer_min,delta),rtc_decrementer_max);
H A Dpmap_common.c229 pv_hashed_low_water_mark = MAX(PV_HASHED_LOW_WATER_MARK_DEFAULT, ((uint32_t)(sane_size >> 30)) * 2000);
232 pv_hashed_kern_low_water_mark = MAX(PV_HASHED_KERN_LOW_WATER_MARK_DEFAULT, ((uint32_t)(sane_size >> 30)) * 1000);
H A Detimer.c90 * - use MAX to avoid reporting bogus latencies.
92 latency = (int32_t) (abstime - MAX(mytimer->deadline,
H A Dpmap.h462 #define NPHYSMAP (MAX(K64_MAXMEM/GB + 4, 4))
/darwin-on-arm/xnu/osfmk/arm/
H A Drtclock.c102 return MIN(MAX(rtc_decrementer_min,delta),rtc_decrementer_max);
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dcommpage_tests.c169 for(count = MAX(10000000ULL, sys_u64/64); count > 0; count--) {
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_mib.c124 #ifndef MAX
125 #define MAX(a,b) (a >= b ? a : b) macro
H A Dmcache.c337 chunksize = MAX(bufsize, sizeof (u_int64_t));
340 align = MAX(align, sizeof (u_int64_t));
H A Dsys_pipe.c241 #define MAX_PIPESIZE(pipe) ( MAX(PIPE_SIZE, (pipe)->pipe_buffer.size) )
526 pipe_size = MAX(PIPE_SIZE, pipesize_blocks[0]);
/darwin-on-arm/xnu/tools/tests/MPMMTest/
H A DMPMMtest.c22 #define MAX(A, B) ((A) < (B) ? (B) : (A)) macro
220 ports->req_size = MAX(sizeof(ipc_inline_message) +
H A DKQMPMMtest.c24 #define MAX(A, B) ((A) < (B) ? (B) : (A)) macro
215 ports->req_size = MAX(sizeof(ipc_inline_message) +
/darwin-on-arm/xnu/bsd/netinet/
H A Dip_compat.h136 #ifndef MAX
137 #define MAX(a,b) (((a) > (b)) ? (a) : (b))
H A Din_arp.c623 rt_setexpire(rt, MAX(timenow, 1));
693 rt_setexpire(rt, MAX(timenow, 1));
/darwin-on-arm/xnu/bsd/net/
H A Dpf_norm.c2306 hlen -= MAX(opt[1], 2);
2307 opt += MAX(opt[1], 2);
2436 hlen -= MAX(opt[1], 2);
2437 opt += MAX(opt[1], 2);
H A Dpf_osfp.c218 optlen = MAX(optlen, 1); /* paranoia */
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_xattr.c483 bufsize = MAX(bufsize, sizeof(HFSPlusAttrRecord));
2169 calcbytes = MAX(calcbytes, hfsmp->hfs_catalog_cp->c_datafork->ff_clumpsize);
2173 return (MAX(2, (int)(calcbytes / nodesize)));
H A Dhfs_hotfiles.c255 hfsmp->hfc_timebase = MAX(hfsmp->hfc_timebase, cumulativebase);
1593 newtemp = MAX(prev_key->temperature >> 1, 4);

Completed in 90 milliseconds

12