Home
last modified time | relevance | path

Searched refs:allocator (Results 1 – 8 of 8) sorted by relevance

/xnu-11215/doc/allocators/
H A Dapi-basics.md11 - 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 Dread-only.md7 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-11215/doc/lifecycle/
H A Dstartup.md141 Initializes the zone allocator.
157 (which are used for guard pages by the guard mode zone allocator).
/xnu-11215/doc/observability/
H A Dmt_stackshot.md68 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-11215/tests/vm/
H A Dvm_allocation.c1605 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()
1685 allocate_fn_t allocator = get_allocator(); in test_allocate_superpage_with_incompatible_flags() local
1708 kr = allocator(this_task, &address, size, bad_flag); in test_allocate_superpage_with_incompatible_flags()
1938 allocate_fn_t allocator = get_allocator(); in test_allocate_first_fit_pages() local
1964 kr = allocator(this_task, &i, vm_page_size, VM_FLAGS_FIXED); in test_allocate_first_fit_pages()
/xnu-11215/osfmk/mach/
H A Dmach_host.defs269 * Forces a zone allocator garbage collections pass.
/xnu-11215/doc/vm/
H A Dmemorystatus_kills.md84 Zalloc has run out of VA. If the zone allocator is able to find a good candidate process to kill, i…
/xnu-11215/osfmk/kern/
H A Dzalloc.c1544 #pragma mark Zone bits allocator