Searched refs:KALLOC_SAFE_ALLOC_SIZE (Results 1 – 8 of 8) sorted by relevance
| /xnu-8792.81.2/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-8792.81.2/osfmk/kern/ |
| H A D | kalloc.h | 80 #define KALLOC_SAFE_ALLOC_SIZE (16u * 1024u) macro 1397 static_assert(max_sz <= KALLOC_SAFE_ALLOC_SIZE); \ 1450 _Static_assert(size <= KALLOC_SAFE_ALLOC_SIZE, \
|
| H A D | ipc_kobject.c | 242 if (mig_e[i]->maxsize > KALLOC_SAFE_ALLOC_SIZE - MAX_TRAILER_SIZE) { in mig_init() 245 KALLOC_SAFE_ALLOC_SIZE - MAX_TRAILER_SIZE); in mig_init()
|
| H A D | kalloc.c | 510 static_assert(KHEAP_MAX_SIZE >= KALLOC_SAFE_ALLOC_SIZE); in kalloc_init()
|
| /xnu-8792.81.2/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-8792.81.2/doc/allocators/ |
| H A D | api-basics.md | 64 interfaces with a size smaller than `KALLOC_SAFE_ALLOC_SIZE`, 127 smaller than `KALLOC_SAFE_ALLOC_SIZE`. When this is not the case,
|
| /xnu-8792.81.2/bsd/netkey/ |
| H A D | key.c | 4435 assert(max_length < KALLOC_SAFE_ALLOC_SIZE); in key_setsaval() 4473 assert(max_length < KALLOC_SAFE_ALLOC_SIZE); in key_setsaval()
|
| /xnu-8792.81.2/iokit/Kernel/ |
| H A D | IOUserServer.cpp | 3112 static_assert(MAX_UEXT_REPLY_SIZE + MAX_TRAILER_SIZE <= KALLOC_SAFE_ALLOC_SIZE);
|