Home
last modified time | relevance | path

Searched refs:freezer_context_global (Results 1 – 4 of 4) sorted by relevance

/xnu-8796.121.2/osfmk/vm/
H A Dvm_compressor.c157 struct freezer_context freezer_context_global; variable
1185 freezer_context_global.freezer_ctx_compressor_scratch_buf = buf; in vm_compressor_init()
4253 if (current_chead == (c_segment_t*) &(freezer_context_global.freezer_ctx_chead) && in c_current_seg_filled()
4311 if (current_chead == (c_segment_t*) &(freezer_context_global.freezer_ctx_chead)) { in c_current_seg_filled()
4312 if (freezer_context_global.freezer_ctx_task->donates_own_pages) { in c_current_seg_filled()
4331 …if (current_chead == (c_segment_t*) &(freezer_context_global.freezer_ctx_chead) && (c_seg->c_state… in c_current_seg_filled()
4338 c_seg_update_task_owner(c_seg, freezer_context_global.freezer_ctx_task); in c_current_seg_filled()
4339 freezer_context_global.freezer_ctx_swapped_bytes += c_seg->c_bytes_used; in c_current_seg_filled()
H A Dvm_object.c7273 extern struct freezer_context freezer_context_global;
7314 vm_compressor_finished_filling( &(freezer_context_global.freezer_ctx_chead)); in vm_object_compressed_freezer_done()
7379 …retval = vm_compressor_pager_relocate(object->pager, curr_offset, &(freezer_context_global.freezer… in vm_object_compressed_freezer_pageout()
7479 if (vm_pageout_compress_page(&(freezer_context_global.freezer_ctx_chead), in vm_object_compressed_freezer_pageout()
7480 (freezer_context_global.freezer_ctx_compressor_scratch_buf), in vm_object_compressed_freezer_pageout()
7498 freezer_context_global.freezer_ctx_uncompressed_pages++; in vm_object_compressed_freezer_pageout()
H A Dvm_map.c21002 extern struct freezer_context freezer_context_global;
21070 freezer_context_global.freezer_ctx_uncompressed_pages = 0; in vm_map_freeze()
21204 freezer_context_global.freezer_ctx_uncompressed_pages = 0; in vm_map_freeze()
/xnu-8796.121.2/osfmk/kern/
H A Dtask.c4669 extern struct freezer_context freezer_context_global;
4704 freezer_context_global.freezer_ctx_task = task; in task_freeze()
4723 freezer_context_global.freezer_ctx_task = NULL; in task_freeze()
4724 freezer_context_global.freezer_ctx_uncompressed_pages = 0; in task_freeze()
4732 …*dirty_count = (uint32_t) (freezer_context_global.freezer_ctx_swapped_bytes / PAGE_SIZE_64); … in task_freeze()
4735 freezer_context_global.freezer_ctx_swapped_bytes = 0; in task_freeze()