Home
last modified time | relevance | path

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

/xnu-10002.41.9/doc/allocators/
H A Dapi-basics.md9 - 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 Dread-only.md5 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 Dstartup.md139 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 Dvm_allocation.c1597 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 Dmach_host.defs265 * Forces a zone allocator garbage collections pass.
/xnu-10002.41.9/doc/memorystatus/
H A Dkill.md90 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 Dzalloc.c1507 #pragma mark Zone bits allocator