Searched refs:allocator (Results 1 – 7 of 7) sorted by relevance
| /xnu-10002.41.9/doc/allocators/ |
| H A D | api-basics.md | 9 - the zone allocator subsystem (`<kern/zalloc.h>`) which is a slab-allocator of 13 allocator implemented as a collection of zones of fixed size, and overflowing to 49 - `Z_WAITOK` means that the zone allocator can wait and block, 52 - `Z_NOPAGEWAIT` allows for the allocator to block (typically on mutexes), 60 often more efficient than calling bzero as the allocator tends to maintain 67 If `Z_NOFAIL` is incorrectly used, then the zone allocator will panic at runtime. 83 the read-only allocator (See `ZC_READONLY`), 91 ## The Typed allocator 94 blessed way to allocate typed memory in XNU is using the typed allocator 126 - types should be small enough to fit in the zone allocator: [all …]
|
| H A D | read-only.md | 5 The Read-Only Allocator is an extension of the zone allocator that facilitates 69 through a genuine bug, or perhaps by an attacker targeting the zone allocator
|
| /xnu-10002.41.9/doc/ |
| H A D | startup.md | 139 Initializes the zone allocator. 155 (which are used for guard pages by the guard mode zone allocator).
|
| /xnu-10002.41.9/tests/vm/ |
| H A D | vm_allocation.c | 1597 allocate_fn_t allocator = get_allocator(); in test_reallocate_pages() local 1609 kr = allocator(this_task, &i, vm_page_size, VM_FLAGS_FIXED); in test_reallocate_pages() 1640 allocate_fn_t allocator = get_allocator(); in test_allocate_with_kernel_flags() local 1663 kr = allocator(this_task, &address, size, bad_flag); in test_allocate_with_kernel_flags() 1890 allocate_fn_t allocator = get_allocator(); in test_allocate_first_fit_pages() local 1916 kr = allocator(this_task, &i, vm_page_size, VM_FLAGS_FIXED); in test_allocate_first_fit_pages()
|
| /xnu-10002.41.9/osfmk/mach/ |
| H A D | mach_host.defs | 265 * Forces a zone allocator garbage collections pass.
|
| /xnu-10002.41.9/doc/memorystatus/ |
| H A D | kill.md | 90 Zalloc has run out of VA. If the zone allocator is able to find a good candidate process to kill, i…
|
| /xnu-10002.41.9/osfmk/kern/ |
| H A D | zalloc.c | 1507 #pragma mark Zone bits allocator
|