Searched refs:UINT32_MAX (Results 1 - 25 of 25) sorted by relevance
/xnu-2782.1.97/EXTERNAL_HEADERS/ |
H A D | stdint.h | 91 #define UINT32_MAX 4294967295U macro 107 #define UINT_LEAST32_MAX UINT32_MAX 123 #define UINT_FAST32_MAX UINT32_MAX 139 #define UINTPTR_MAX UINT32_MAX 164 #define SIZE_MAX UINT32_MAX
|
/xnu-2782.1.97/iokit/Kernel/ |
H A D | IOSharedDataQueue.cpp | 88 if (size > UINT32_MAX - DATA_QUEUE_MEMORY_HEADER_SIZE - DATA_QUEUE_MEMORY_APPENDIX_SIZE) { 167 if ((headOffset > UINT32_MAX - DATA_QUEUE_ENTRY_HEADER_SIZE) || 169 (headOffset + DATA_QUEUE_ENTRY_HEADER_SIZE > UINT32_MAX - headSize) || 172 // Note: wrapping even with the UINT32_MAX checks, as we have to support 173 // queueSize of UINT32_MAX 191 if (dataSize > UINT32_MAX - DATA_QUEUE_ENTRY_HEADER_SIZE) { 202 if ((entrySize <= UINT32_MAX - tail) && 293 if ((headOffset > UINT32_MAX - DATA_QUEUE_ENTRY_HEADER_SIZE) || 296 (headOffset + DATA_QUEUE_ENTRY_HEADER_SIZE > UINT32_MAX - headSize) || 298 // Note: we have to wrap to the beginning even with the UINT32_MAX check [all...] |
H A D | IODataQueue.cpp | 88 if (size > UINT32_MAX - DATA_QUEUE_MEMORY_HEADER_SIZE) { 121 if ((entrySize > UINT32_MAX - DATA_QUEUE_ENTRY_HEADER_SIZE) || 123 (numEntries > UINT32_MAX-1) || 125 (entrySize + DATA_QUEUE_ENTRY_HEADER_SIZE > UINT32_MAX/(numEntries+1))) { 157 if (dataSize > UINT32_MAX - DATA_QUEUE_ENTRY_HEADER_SIZE) { 168 if ((entrySize <= UINT32_MAX - tail) &&
|
H A D | IODeviceTreeSupport.cpp | 950 if (sum > UINT32_MAX) {
|
/xnu-2782.1.97/osfmk/atm/ |
H A D | atm_types.h | 62 #define ATM_SUBAID32_MAX (UINT32_MAX)
|
/xnu-2782.1.97/osfmk/mach/ |
H A D | vm_types.h | 69 #define PPNUM_MAX UINT32_MAX
|
H A D | vm_statistics.h | 176 #define VM_STATISTICS_TRUNCATE_TO_32_BIT(value) ((uint32_t)(((value) > UINT32_MAX ) ? UINT32_MAX : (value)))
|
/xnu-2782.1.97/osfmk/vm/ |
H A D | vm_purgeable_internal.h | 51 #define TOKEN_COUNT_MAX UINT32_MAX
|
/xnu-2782.1.97/bsd/kern/ |
H A D | mach_loader.c | 1306 if (UINT32_MAX-2 < size || 1307 UINT32_MAX/sizeof(uint32_t) < size+2) 1345 if (UINT32_MAX-2 < size || 1346 UINT32_MAX/sizeof(uint32_t) < size+2) 1388 if (UINT32_MAX-2 < size || 1389 UINT32_MAX/sizeof(uint32_t) < size+2)
|
H A D | kern_memorystatus.c | 583 max_pages = UINT32_MAX - 1; 2756 max_pages = UINT32_MAX - 1;
|
/xnu-2782.1.97/osfmk/kern/ |
H A D | sfi.c | 446 if (window_usecs > UINT32_MAX) 565 if (offtime_usecs > UINT32_MAX)
|
H A D | sched_grrr.c | 638 if ((group->work >= (UINT32_MAX-256)) || (rq->last_rescale_tick != grrr_rescale_tick)) {
|
/xnu-2782.1.97/bsd/sys/ |
H A D | dtrace.h | 612 #define DTRACE_LQUANTIZE_BASEMASK UINT32_MAX 651 #define DTRACE_USTACK_NFRAMES(x) (uint32_t)((x) & UINT32_MAX) 654 ((((uint64_t)(y)) << 32) | ((x) & UINT32_MAX))
|
/xnu-2782.1.97/osfmk/i386/ |
H A D | pcb_native.c | 451 if (tsd_base > UINT32_MAX)
|
/xnu-2782.1.97/bsd/vfs/ |
H A D | vfs_subr.c | 3172 mp->mnt_maxreadcnt = (readmaxcnt > UINT32_MAX) ? UINT32_MAX : readmaxcnt; 3176 temp = (temp > UINT32_MAX) ? UINT32_MAX : temp; 3183 mp->mnt_maxwritecnt = (writemaxcnt > UINT32_MAX) ? UINT32_MAX : writemaxcnt; 3187 temp = (temp > UINT32_MAX) ? UINT32_MAX : temp; 3214 temp = (readsegsize > UINT32_MAX) ? UINT32_MAX [all...] |
H A D | vfs_journal.c | 1600 } else if (readmaxcnt > UINT32_MAX) { 1601 readmaxcnt = UINT32_MAX; 1627 } else if (writemaxcnt > UINT32_MAX) { 1628 writemaxcnt = UINT32_MAX;
|
/xnu-2782.1.97/bsd/netinet/ |
H A D | in_mcast.c | 1764 UINT32_MAX / sizeof(struct sockaddr_storage)) 1765 msfr.msfr_nsrcs = UINT32_MAX / sizeof(struct sockaddr_storage); 2738 UINT32_MAX / sizeof(struct sockaddr_storage)) 2739 msfr.msfr_nsrcs = UINT32_MAX / sizeof(struct sockaddr_storage);
|
H A D | tcp_usrreq.c | 1876 if (optval < 0 || optval > UINT32_MAX/TCP_RETRANSHZ) { 1892 if (optval < 0 || optval > UINT32_MAX/TCP_RETRANSHZ) { 1910 if (optval < 0 || optval > UINT32_MAX/TCP_RETRANSHZ) {
|
/xnu-2782.1.97/bsd/netinet6/ |
H A D | in6_mcast.c | 1689 UINT32_MAX / sizeof(struct sockaddr_storage)) 1690 msfr.msfr_nsrcs = UINT32_MAX / sizeof(struct sockaddr_storage); 2674 UINT32_MAX / sizeof(struct sockaddr_storage)) 2675 msfr.msfr_nsrcs = UINT32_MAX / sizeof(struct sockaddr_storage);
|
/xnu-2782.1.97/osfmk/ipc/ |
H A D | ipc_voucher.c | 128 #define IV_HASH_END UINT32_MAX
|
/xnu-2782.1.97/bsd/net/ |
H A D | if.c | 472 wildcard = (unit == UINT32_MAX); 589 i = UINT32_MAX;
|
/xnu-2782.1.97/bsd/dev/dtrace/ |
H A D | dtrace.c | 9668 uint32_t aggbase = UINT32_MAX; 9722 ASSERT(aggbase != UINT32_MAX); 12667 state->dts_aggid_arena = vmem_create(c, (void *)1, UINT32_MAX, 1, 15598 dtrace_arena = vmem_create("dtrace", (void *)1, UINT32_MAX, 1, 15601 UINT32_MAX - DTRACEMNRN_CLONE, 1, NULL, NULL, NULL, 0,
|
/xnu-2782.1.97/libkern/c++/ |
H A D | OSKext.cpp | 2633 if (total > UINT32_MAX){ 2640 if (allocSize64 > UINT32_MAX){
|
/xnu-2782.1.97/bsd/nfs/ |
H A D | nfs4_vnops.c | 1246 if (count > UINT32_MAX)
|
H A D | nfs_vnops.c | 6338 if (count > UINT32_MAX)
|
Completed in 249 milliseconds