Searched refs:INT_MAX (Results 1 - 25 of 26) sorted by relevance
12
/xnu-2782.1.97/osfmk/i386/ |
H A D | machlimits.h | 66 #define INT_MAX 2147483647 /* max value for an int */ macro 70 #define LONG_MAX INT_MAX /* max value for a long */
|
/xnu-2782.1.97/iokit/Kernel/ |
H A D | IOReporterDefs.h | 56 #if (SIZE_T_MAX < INT_MAX) 57 #error "(SIZE_T_MAX < INT_MAX) -> PREFL_MEMOP_*()) unsafe for size_t" 65 } else if (__val > INT_MAX / (int)sizeof(__type)) { \ 66 IORERROR("%s - %s > INT_MAX / sizeof(%s)!", __func__, #__val, #__type);\ 75 } else if (__val > INT_MAX / (int)sizeof(__type)) { \ 76 panic("%s - %s > INT_MAX / sizeof(%s)!", __func__, #__val, #__type); \
|
H A D | IOHistogramReporter.cpp | 203 if (_histogramSegmentsConfig[cnt].segment_bucket_count > INT_MAX 204 || _histogramSegmentsConfig[cnt].base_bucket_width > INT_MAX) {
|
H A D | IOReporter.cpp | 279 if (oldNChannels < 0 || oldNChannels > INT_MAX - 1) { 443 if (newNChannels < 0 || newNChannels > INT_MAX / _channelDimension) { 575 if (!_channelDimension || swapNChannels > INT_MAX / _channelDimension) {
|
/xnu-2782.1.97/bsd/i386/ |
H A D | limits.h | 71 #define INT_MAX 2147483647 /* max value for an int */ macro
|
/xnu-2782.1.97/libsyscall/mach/ |
H A D | mach_error_string.c | 111 return (found)? ret : INT_MAX;
|
/xnu-2782.1.97/bsd/kern/ |
H A D | kern_clock.c | 326 if (ticks > INT_MAX) 327 ticks = INT_MAX;
|
H A D | vm_pressure.c | 460 selected_task_importance = INT_MAX;
|
H A D | decmpfs.c | 1241 countInt = (uplSize > INT_MAX) ? INT_MAX : uplSize;
|
H A D | sys_generic.c | 349 if (nbyte > INT_MAX) 581 if (nbyte > INT_MAX) {
|
H A D | mcache.c | 1390 cp ->mc_bkt_contention_prev = cp->mc_bkt_contention + INT_MAX;
|
H A D | uipc_socket.c | 1830 if (resid < 0 || resid > INT_MAX || (so->so_type == SOCK_STREAM && 2219 if (resid < 0 || resid > INT_MAX) { 2514 if (orig_resid < 0 || orig_resid > INT_MAX) 3516 if (orig_resid < 0 || orig_resid > INT_MAX) {
|
H A D | kern_aio.c | 2114 if ( entryp->aiocb.aio_nbytes > INT_MAX ||
|
H A D | uipc_syscalls.c | 2422 if(alloc_buflen > INT_MAX/2)
|
/xnu-2782.1.97/bsd/netinet/ |
H A D | ip_compat.h | 657 # undef INT_MAX 687 # undef INT_MAX
|
H A D | ip_dummynet.c | 990 if (p_numbytes > INT_MAX) 991 p->numbytes = INT_MAX;
|
/xnu-2782.1.97/osfmk/vm/ |
H A D | vm_purgeable.c | 694 best_object_task_importance = INT_MAX;
|
/xnu-2782.1.97/bsd/vfs/ |
H A D | vfs_subr.c | 3548 if (sp->f_blocks > INT_MAX) { 3561 if ((sp->f_blocks >> shift) <= INT_MAX) 3563 if ((((long long)sp->f_bsize) << (shift + 1)) > INT_MAX) 3566 #define __SHIFT_OR_CLIP(x, s) ((((x) >> (s)) > INT_MAX) ? INT_MAX : ((x) >> (s)))
|
H A D | vfs_syscalls.c | 10282 if ((sfsp->f_blocks > INT_MAX) 10307 if ((sfsp->f_blocks >> shift) <= INT_MAX) 10309 if ((sfsp->f_bsize << (shift + 1)) > INT_MAX) 10312 #define __SHIFT_OR_CLIP(x, s) ((((x) >> (s)) > INT_MAX) ? INT_MAX : ((x) >> (s)))
|
/xnu-2782.1.97/bsd/nfs/ |
H A D | nfs_bio.c | 2021 int count = (io_resid > INT_MAX) ? INT_MAX : io_resid;
|
/xnu-2782.1.97/osfmk/ipc/ |
H A D | ipc_kmsg.c | 2356 if (count > (INT_MAX / sizeof(mach_port_t))) {
|
/xnu-2782.1.97/osfmk/kern/ |
H A D | sched_prim.c | 3715 integer_t lowest_count = INT_MAX;
|
/xnu-2782.1.97/bsd/hfs/ |
H A D | hfs_catalog.c | 3191 cnid = INT_MAX;
|
H A D | hfs_vnops.c | 5500 if (cnid_hint == INT_MAX) { /* searching pass the last item */
|
/xnu-2782.1.97/bsd/dev/dtrace/ |
H A D | dtrace.c | 7149 int len, rc, best = INT_MAX, nmatched = 0; 13004 if (nspec > INT_MAX) { 15604 1, INT_MAX, 0);
|
Completed in 386 milliseconds
12