Searched refs:allocator (Results 1 – 8 of 8) sorted by relevance
| /xnu-12377.1.9/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-12377.1.9/doc/lifecycle/ |
| H A D | startup.md | 130 - `vm_map_steal_memory`: Allocate bootstrap VM maps prior to the zone allocator coming up 133 - `init_ecc_bad_pages`: Exclude frames detected as bad from frame allocator 163 Initializes the zone allocator. 179 (which are used for guard pages by the guard mode zone allocator).
|
| /xnu-12377.1.9/doc/observability/ |
| H A D | mt_stackshot.md | 68 Stackshot uses a basic per-cluster bump allocator to allocate space within the 69 buffer. Each cluster gets its own bump allocator to mitigate cache contention,
|
| /xnu-12377.1.9/tests/vm/ |
| H A D | vm_allocation.c | 1721 allocate_fn_t allocator = get_allocator(); in test_reallocate_pages() local 1733 kr = allocator(this_task, &i, vm_page_size, VM_FLAGS_FIXED); in test_reallocate_pages() 1758 allocate_fn_t allocator = get_allocator(); in test_allocate_with_kernel_flags() local 1777 kr = allocator(this_task, &address, size, bad_flag); in test_allocate_with_kernel_flags() 2003 allocate_fn_t allocator = get_allocator(); in test_allocate_first_fit_pages() local 2029 kr = allocator(this_task, &i, vm_page_size, VM_FLAGS_FIXED); in test_allocate_first_fit_pages()
|
| /xnu-12377.1.9/osfmk/mach/ |
| H A D | mach_host.defs | 269 * Forces a zone allocator garbage collections pass.
|
| /xnu-12377.1.9/doc/vm/ |
| H A D | memorystatus_kills.md | 86 Zalloc has run out of VA. If the zone allocator is able to find a good candidate process to kill, i…
|
| /xnu-12377.1.9/osfmk/kern/ |
| H A D | zalloc.c | 1458 #pragma mark Zone bits allocator
|