Home
last modified time | relevance | path

Searched refs:wired (Results 1 – 22 of 22) sorted by relevance

/xnu-11215/doc/lifecycle/
H A Dhibernation.md89 * All pages are assumed to be saved (as part of the wired image) unless
125 * Each wired page is compressed and written and then each non-wired page.
138 the wired pages and one for the non-wired pages. These HMACs are stored in
166 * The platform booter reads the portion of the image used for wired pages, to
196 wired image.
204 wired pages. `pal_hib_patchup()` also fixes up other state (such as some
206 * After all of the wired pages have been restored, a wake from sleep is
232 other threads can run or any devices are turned on. This split of wired vs.
233 non-wired pages reduces the memory usage for the platform booter, and allows
234 decompression in parallel with disk reads for the non-wired pages.
[all …]
/xnu-11215/osfmk/vm/
H A Dpmap.h257 boolean_t wired,
267 boolean_t wired,
278 boolean_t wired,
759 boolean_t wired);
H A Dvm_fault.c3192 bool wired, in vm_fault_enqueue_page() argument
3501 bool wired, in vm_fault_attempt_pmap_enter() argument
3522 wired, in vm_fault_attempt_pmap_enter()
3539 wired, in vm_fault_attempt_pmap_enter()
3565 bool wired, in vm_fault_pmap_enter() argument
3615 bool wired, in vm_fault_pmap_enter_with_object_lock() argument
3632 wired) { in vm_fault_pmap_enter_with_object_lock()
4507 if (wired) { in vm_fault_internal()
6178 &wired, in vm_fault_internal()
6387 wired, in vm_fault_internal()
[all …]
H A Dvm_fault_internal.h103 boolean_t wired,
H A Dvm_map_internal.h504 boolean_t *wired, /* OUT */
H A Dvm_page_internal.h641 boolean_t wired);
H A Dvm_memory_entry.c691 boolean_t wired; in mach_make_memory_entry_share() local
706 &wired, in mach_make_memory_entry_share()
H A Dvm_map.c6538 boolean_t wired; in vm_map_wire_nested() local
6583 &offset, &prot, &wired, in vm_map_wire_nested()
13878 boolean_t *wired, /* OUT */ in vm_map_lookup_and_lock_object() argument
14612 *wired = (entry->wired_count != 0); in vm_map_lookup_and_lock_object()
14613 if (*wired) { in vm_map_lookup_and_lock_object()
14630 if ((fault_type & VM_PROT_WRITE) || *wired || force_copy) { in vm_map_lookup_and_lock_object()
14656 if ((fault_type & VM_PROT_WRITE) == 0 && *wired == 0) { in vm_map_lookup_and_lock_object()
14673 assert(!*wired); in vm_map_lookup_and_lock_object()
21904 boolean_t wired; in vm_map_inject_error() local
21913 OBJECT_LOCK_EXCLUSIVE, &version, &object, &offset, &prot, &wired, in vm_map_inject_error()
H A Dvm_pageout.c6994 boolean_t wired; local
7013 &new_offset, &prot, &wired,
H A Dvm_resident.c5943 boolean_t wired) in pmap_enter_check() argument
5964 wired, in pmap_enter_check()
/xnu-11215/doc/vm/
H A Dmemorystatus_notify.md50 wired, compressed, or stolen). `AVAILABLE_MEMORY` tracks all memory that
52 not wired or stolen). Compressed anonymous memory may be further "reclaimed"
99 majority of the memory not otherwise wired down or stolen by the operating
H A Dfreezer.md38wired memory. IOSurface takes out multiple references on the backing VM objects. As a result this …
H A Dmemorystatus.md121 The `VM_CHECK_MEMORYSTATUS` macro is called whenever a page is allocated, wired, freed, etc... Basi…
/xnu-11215/osfmk/i386/
H A Dpmap_x86_common.c587 boolean_t wired, in pmap_enter() argument
590 …return pmap_enter_options(pmap, vaddr, pn, prot, fault_type, flags, wired, PMAP_EXPAND_OPTIONS_NON… in pmap_enter()
627 boolean_t wired, in pmap_enter_options_addr() argument
632 …return pmap_enter_options(pmap, v, intel_btop(pa), prot, fault_type, flags, wired, options, arg, m… in pmap_enter_options_addr()
643 boolean_t wired, in pmap_enter_options() argument
874 if (wired) { in pmap_enter_options()
1224 if (wired) { in pmap_enter_options()
2312 boolean_t wired) in pmap_change_wiring() argument
2320 map, vaddr, wired); in pmap_change_wiring()
2323 if (wired && !iswired(*pte)) { in pmap_change_wiring()
[all …]
/xnu-11215/bsd/kern/
H A Dkern_memorystatus_freeze.c542 uint32_t purgeable, wired, clean, dirty, shared; variable
591 …error = task_freeze(proc_task(p), &purgeable, &wired, &clean, &dirty, max_pages, &shared, &freezer…
595 KDBG(MEMSTAT_CODE(BSD_MEMSTAT_FREEZE) | DBG_FUNC_END, purgeable, wired, clean, dirty);
1012 uint32_t purgeable, wired, clean, dirty, shared; in memorystatus_freezer_get_status() local
1016 …error = task_freeze(proc_task(p), &purgeable, &wired, &clean, &dirty, max_pages, &shared, &freezer… in memorystatus_freezer_get_status()
1789 uint32_t purgeable, wired, clean, dirty, shared; in memorystatus_freeze_process() local
1860 …kr = task_freeze(proc_task(p), &purgeable, &wired, &clean, &dirty, (uint32_t) max_pages, &shared, … in memorystatus_freeze_process()
1865 KDBG(MEMSTAT_CODE(BSD_MEMSTAT_FREEZE) | DBG_FUNC_END, purgeable, wired, clean, dirty); in memorystatus_freeze_process()
1870 memorystatus_available_pages, purgeable, wired, clean, dirty, max_pages, shared); in memorystatus_freeze_process()
/xnu-11215/osfmk/arm/pmap/
H A Dpmap.c581 if (wired) { in pte_set_wired()
596 if (wired) { in pte_set_wired()
888 boolean_t wired);
898 boolean_t wired,
985 boolean_t wired,
5813 boolean_t wired) argument
5839 boolean_t wired, argument
6019 if (wired) {
6697 if (!wired) {
6729 if (!wired) {
[all …]
/xnu-11215/osfmk/arm64/sptm/pmap/
H A Dpmap.c661 if (wired) { in pte_update_wiredcnt()
867 boolean_t wired,
878 boolean_t wired,
889 boolean_t wired,
953 boolean_t wired,
5160 boolean_t wired, argument
5187 boolean_t wired, argument
5458 boolean_t wired, argument
5468 if (wired) {
5563 boolean_t wired, argument
[all …]
/xnu-11215/osfmk/tests/
H A Dvm_parameter_validation_kern.c1965 …e RUN_PROT(fn, wired, name) dealloc_results(process_results(test_mach_with_allocated_vm_prot_t(cal… in IMPL() argument
1966 …UN_START(fn, wired, name) dealloc_results(process_results(test_kext_tagged_with_allocated_addr(cal… in IMPL() argument
1967 …ART_END(fn, wired, name) dealloc_results(process_results(test_mach_with_allocated_start_end(call_ … in IMPL() argument
1968 …efine RUN_TAG(fn, wired, name) dealloc_results(process_results(test_mach_with_allocated_tag(call_ … in IMPL() argument
/xnu-11215/osfmk/mach/
H A Dvm_map.defs347 * allocates wired memory. Setting must_wire to FALSE
348 * disables the wired future feature.
H A Dhost_priv.defs151 wired : boolean_t);
/xnu-11215/osfmk/kern/
H A Dthread.c2289 boolean_t wired, in thread_wire_internal() argument
2300 if (wired) { in thread_wire_internal()
2325 boolean_t wired __unused) in thread_wire()
H A Dthread.h1550 boolean_t wired,