Searched refs:allocator (Results 1 – 7 of 7) sorted by relevance
| /xnu-10063.141.1/doc/allocators/ |
| H A D | api-basics.md | 11 - the zone allocator subsystem (`<kern/zalloc.h>`) which is a slab-allocator of 15 allocator implemented as a collection of zones of fixed size, and overflowing to 51 - `Z_WAITOK` means that the zone allocator can wait and block, 54 - `Z_NOPAGEWAIT` allows for the allocator to block (typically on mutexes), 62 often more efficient than calling bzero as the allocator tends to maintain 69 If `Z_NOFAIL` is incorrectly used, then the zone allocator will panic at runtime. 85 the read-only allocator (See `ZC_READONLY`), 93 ## The Typed allocator 96 blessed way to allocate typed memory in XNU is using the typed allocator 128 - types should be small enough to fit in the zone allocator: [all …]
|
| H A D | read-only.md | 7 The Read-Only Allocator is an extension of the zone allocator that facilitates 71 through a genuine bug, or perhaps by an attacker targeting the zone allocator
|
| /xnu-10063.141.1/doc/lifecycle/ |
| H A D | startup.md | 141 Initializes the zone allocator. 157 (which are used for guard pages by the guard mode zone allocator).
|
| /xnu-10063.141.1/tests/vm/ |
| H A D | vm_allocation.c | 1605 allocate_fn_t allocator = get_allocator(); in test_reallocate_pages() local 1617 kr = allocator(this_task, &i, vm_page_size, VM_FLAGS_FIXED); in test_reallocate_pages() 1648 allocate_fn_t allocator = get_allocator(); in test_allocate_with_kernel_flags() local 1671 kr = allocator(this_task, &address, size, bad_flag); in test_allocate_with_kernel_flags() 1901 allocate_fn_t allocator = get_allocator(); in test_allocate_first_fit_pages() local 1927 kr = allocator(this_task, &i, vm_page_size, VM_FLAGS_FIXED); in test_allocate_first_fit_pages()
|
| /xnu-10063.141.1/osfmk/mach/ |
| H A D | mach_host.defs | 265 * Forces a zone allocator garbage collections pass.
|
| /xnu-10063.141.1/doc/vm/ |
| H A D | memorystatus_kills.md | 84 Zalloc has run out of VA. If the zone allocator is able to find a good candidate process to kill, i…
|
| /xnu-10063.141.1/osfmk/kern/ |
| H A D | zalloc.c | 1531 #pragma mark Zone bits allocator
|