Home
last modified time | relevance | path

Searched refs:UINT_MAX (Results 1 – 25 of 56) sorted by relevance

123

/xnu-12377.1.9/osfmk/i386/
H A Dmachlimits.h65 #define UINT_MAX 0xFFFFFFFFU /* max value for an unsigned int */ macro
69 #define ULONG_MAX UINT_MAX /* max value for an unsigned long */
/xnu-12377.1.9/libsyscall/wrappers/string/
H A Dmemset.c84 #if UINT_MAX > 0xffff in _libkernel_memset()
87 #if UINT_MAX > 0xffffffff in _libkernel_memset()
/xnu-12377.1.9/osfmk/mach/
H A Dmessage.h756 UINT_MAX, UINT_MAX, UINT_MAX, UINT_MAX, \
757 UINT_MAX, UINT_MAX, UINT_MAX, UINT_MAX }}
/xnu-12377.1.9/tests/
H A Ddrop_priv.c22 #define ID_MAX (unsigned long)UINT_MAX
H A Dsysctl_get_owned_vmobjects.c159 nestingDepth = UINT_MAX; in main_test()
169 nestingDepth = UINT_MAX; in main_test()
H A Daudit_session.c18 UINT_MAX, UINT_MAX, UINT_MAX, UINT_MAX, \
19 UINT_MAX, UINT_MAX, UINT_MAX, UINT_MAX }}
H A Dvm_test_mach_map.c2435 uint32_t nesting_depth = UINT_MAX;
2447 nesting_depth = UINT_MAX;
2459 nesting_depth = UINT_MAX;
2471 nesting_depth = UINT_MAX;
2515 uint32_t nesting_depth = UINT_MAX;
2527 nesting_depth = UINT_MAX;
2539 nesting_depth = UINT_MAX;
2551 nesting_depth = UINT_MAX;
/xnu-12377.1.9/bsd/arm/
H A Dlimits.h103 #define UINT_MAX 0xffffffff /* max value for an unsigned int */ macro
/xnu-12377.1.9/bsd/i386/
H A Dlimits.h104 #define UINT_MAX 0xffffffff /* max value for an unsigned int */ macro
/xnu-12377.1.9/iokit/Kernel/
H A DIOHibernateInternal.h96 #define IO_MAX_PAGE_ADDR (((uint64_t) UINT_MAX) << PAGE_SHIFT)
H A DIOMapper.cpp115 assert(pageSize <= UINT_MAX); in start()
252 if (dmaAddressPage64 > UINT_MAX) { in IOMapperIOVMAlloc()
H A DIODMACommand.cpp556 if (numPages64 > UINT_MAX) { in segmentOp()
595 if (chunk > (UINT_MAX - PAGE_SIZE + 1)) { in segmentOp()
596 chunk = (UINT_MAX - PAGE_SIZE + 1); in segmentOp()
865 if (atop_64(state->fPreparedLength) > UINT_MAX) { in prepare()
1212 if (copyLen > (UINT_MAX - PAGE_SIZE + 1)) { in transferSegment()
1213 copyLen = (UINT_MAX - PAGE_SIZE + 1); in transferSegment()
H A DIOHibernateIO.cpp383 if (count > UINT_MAX) { in hibernate_set_page_state()
1145 if (vars->previewBuffer && (vars->previewBuffer->getLength() > UINT_MAX)) { in IOHibernateSystemHasSlept()
1859 if ((count > UINT_MAX) || (entrypoint > UINT_MAX) || (stack > UINT_MAX)) { in hibernate_write_image()
2072 if (count > UINT_MAX) { in hibernate_write_image()
2073 count = UINT_MAX; in hibernate_write_image()
H A DIOMemoryCursor.cpp92 if (inMaxTransferSize > UINT_MAX) { in initWithSpecification()
H A DIOPolledInterface.cpp841 assert(vars->pollers->ioBuffer->getLength() <= UINT_MAX); in IOPolledFilePollersSetup()
961 assert(encryptLen <= UINT_MAX); in IOPolledFileWrite()
1146 assert(lastReadLength <= UINT_MAX); in IOPolledFileRead()
/xnu-12377.1.9/tests/vm/
H A Dvm_allocation.c1811 vm_inherit_t inheritances[] = {VM_INHERIT_DEFAULT, VM_INHERIT_LAST_VALID + 1, UINT_MAX}; in test_mach_vm_map_protection_inheritance_error()
2143 (mach_vm_address_t)UINT_MAX - vm_page_size + 1, in test_deallocate_zero_size_ranges()
2144 (mach_vm_address_t)UINT_MAX, in test_deallocate_zero_size_ranges()
2310 (mach_vm_address_t)UINT_MAX - vm_page_size + 1, in read_edge_size()
2311 (mach_vm_address_t)UINT_MAX, in read_edge_size()
2343 read_edge_size((mach_vm_size_t)UINT_MAX + 1, KERN_INVALID_ARGUMENT); in test_read_invalid_large_size()
2357 {(mach_vm_address_t)(UINTMAX_MAX - UINT_MAX + 1), (mach_vm_size_t)UINT_MAX}, in test_read_wrapped_around_ranges()
2358 …{(mach_vm_address_t)(UINTMAX_MAX - UINT_MAX + vm_page_size), (mach_vm_size_t)(UINT_MAX - vm_page_s… in test_read_wrapped_around_ranges()
2640 (mach_vm_address_t)UINT_MAX - vm_page_size + 1, in copy_edge_size()
2641 (mach_vm_address_t)UINT_MAX, in copy_edge_size()
[all …]
/xnu-12377.1.9/libkern/kxld/tests/
H A Dkxld_array_test.c142 *item = (u_int) (random() % UINT_MAX); in main()
/xnu-12377.1.9/bsd/kern/
H A Dkern_subr.c431 acnt = MIN(acnt, UINT_MAX); in uio_copyout_phys_user()
472 acnt = MIN(acnt, UINT_MAX); in uio_copyin_phys_user()
513 acnt = MIN(acnt, UINT_MAX); in uio_copyout_phys_sys()
554 acnt = MIN(acnt, UINT_MAX); in uio_copyin_phys_sys()
/xnu-12377.1.9/bsd/skywalk/nexus/
H A Dnexus_mbq.h124 VERIFY(qsize <= UINT_MAX); in nx_mbq_size()
H A Dnexus_pktq.h97 VERIFY(qsize <= UINT_MAX); in nx_pktq_size()
/xnu-12377.1.9/bsd/netinet/
H A Dip_compat.h660 # undef UINT_MAX
690 # undef UINT_MAX
/xnu-12377.1.9/bsd/tests/
H A Dbsd_tests.c235 if (size_in > UINT_MAX) { in xnupost_export_testdata()
/xnu-12377.1.9/libkern/zlib/
H A Dz_crc32.c66 # if (UINT_MAX == 0xffffffffUL)
/xnu-12377.1.9/libkern/c++/
H A DOSOrderedSet.cpp66 if (inCapacity > (UINT_MAX / sizeof(_Element))) { in initWithCapacity()
/xnu-12377.1.9/osfmk/vm/
H A Dvm_compressor_xnu.h192 #define C_SEG_MAX_LIMIT (UINT_MAX) /* this needs to track the size of c_mysegno */

123