Searched refs:KALLOC_SAFE_ALLOC_SIZE (Results 1 – 11 of 11) sorted by relevance
| /xnu-11417.140.69/bsd/security/audit/ |
| H A D | audit_bsm_token.c | 85 KASSERT(tokenlen <= KALLOC_SAFE_ALLOC_SIZE, in au_to_arg32() 111 KASSERT(tokenlen <= KALLOC_SAFE_ALLOC_SIZE, in au_to_arg64() 279 KASSERT(tokenlen <= KALLOC_SAFE_ALLOC_SIZE, in au_to_data() 337 KASSERT(tokenlen <= KALLOC_SAFE_ALLOC_SIZE, in au_to_newgroups() 508 KASSERT(tokenlen <= KALLOC_SAFE_ALLOC_SIZE, in au_to_opaque() 540 KASSERT(tokenlen <= KALLOC_SAFE_ALLOC_SIZE, in au_to_file() 573 KASSERT(tokenlen <= KALLOC_SAFE_ALLOC_SIZE, in au_to_text() 602 KASSERT(tokenlen <= KALLOC_SAFE_ALLOC_SIZE, in au_to_path() 904 static_assert(3 * sizeof(u_char) + sizeof(so->sun_path) + 1 <= KALLOC_SAFE_ALLOC_SIZE); in au_to_sock_unix() 1184 const size_t totlen_max = KALLOC_SAFE_ALLOC_SIZE - sizeof(u_char) - sizeof(u_int32_t); in au_to_exec_strings() [all …]
|
| /xnu-11417.140.69/osfmk/kern/ |
| H A D | kalloc.h | 80 #define KALLOC_SAFE_ALLOC_SIZE (16u * 1024u) macro 1417 static_assert(max_sz <= KALLOC_SAFE_ALLOC_SIZE); \ 1510 _Static_assert(size <= KALLOC_SAFE_ALLOC_SIZE, \
|
| H A D | ipc_kobject.c | 240 if (mig_e[i]->maxsize > KALLOC_SAFE_ALLOC_SIZE - MAX_TRAILER_SIZE) { in mig_init() 243 KALLOC_SAFE_ALLOC_SIZE - MAX_TRAILER_SIZE); in mig_init()
|
| H A D | smr.c | 2310 KALLOC_SAFE_ALLOC_SIZE); in smr_hash_init() 3151 if (size > KALLOC_SAFE_ALLOC_SIZE / sizeof(*array)) { in smr_shash_init() 3152 size = KALLOC_SAFE_ALLOC_SIZE / sizeof(*array); in smr_shash_init()
|
| H A D | kalloc.c | 1992 static_assert(KHEAP_MAX_SIZE >= KALLOC_SAFE_ALLOC_SIZE); in kalloc_init()
|
| /xnu-11417.140.69/libkern/c++/ |
| H A D | OSSymbol.cpp | 195 return size > KALLOC_SAFE_ALLOC_SIZE; in OSSymbol_is_huge()
|
| /xnu-11417.140.69/bsd/vfs/ |
| H A D | vfs_io_compression_stats.c | 100 static_assert(sizeof(lz4_encode_scratch_t) <= KALLOC_SAFE_ALLOC_SIZE); in io_compression_stats_allocate_compression_buffers()
|
| /xnu-11417.140.69/doc/allocators/ |
| H A D | api-basics.md | 66 interfaces with a size smaller than `KALLOC_SAFE_ALLOC_SIZE`, 129 smaller than `KALLOC_SAFE_ALLOC_SIZE`. When this is not the case,
|
| /xnu-11417.140.69/osfmk/vm/ |
| H A D | vm_user.c | 2174 KALLOC_SAFE_ALLOC_SIZE); in mach_vm_range_create_v1()
|
| /xnu-11417.140.69/bsd/netkey/ |
| H A D | key.c | 4398 assert(max_length < KALLOC_SAFE_ALLOC_SIZE); in key_setsaval() 4437 assert(max_length < KALLOC_SAFE_ALLOC_SIZE); in key_setsaval()
|
| /xnu-11417.140.69/iokit/Kernel/ |
| H A D | IOUserServer.cpp | 3183 static_assert(MAX_UEXT_REPLY_SIZE + MAX_TRAILER_SIZE <= KALLOC_SAFE_ALLOC_SIZE);
|