Searched refs:c_seg (Results 1 – 6 of 6) sorted by relevance
| /xnu-12377.1.9/osfmk/vm/ |
| H A D | vm_compressor.c | 231 c_segment_t c_seg; member 407 void c_seg_try_minor_compaction_and_unlock(c_segment_t c_seg); 614 c_segment_t c_seg; in vm_compressor_is_thrashing() local 619 c_seg = (c_segment_t) queue_first(&c_age_list_head); in vm_compressor_is_thrashing() 621 if (c_seg->c_creation_ts > swapout_target_age) { in vm_compressor_is_thrashing() 1346 c_seg_validate(c_segment_t c_seg, boolean_t must_be_compact) in c_seg_validate() argument 1357 if (c_seg->c_firstemptyslot < c_seg->c_nextslot) { in c_seg_validate() 1358 c_indx = c_seg->c_firstemptyslot; in c_seg_validate() 1359 cs = C_SEG_SLOT_FROM_INDEX(c_seg, c_indx); in c_seg_validate() 1371 for (c_indx = 0; c_indx < c_seg->c_nextslot; c_indx++) { in c_seg_validate() [all …]
|
| H A D | vm_compressor_backing_store.c | 133 static void vm_swapout_finish(c_segment_t c_seg, uint64_t f_offset, uint32_t size, kern_return_t kr… 355 vm_swap_encrypt(c_segment_t c_seg) in vm_swap_encrypt() argument 375 C_SEG_MAKE_WRITEABLE(c_seg); in vm_swap_encrypt() 377 ptr = (uint8_t *)c_seg->c_store.c_buffer; in vm_swap_encrypt() 378 size = round_page_32(C_SEG_OFFSET_TO_BYTES(c_seg->c_populated_offset)); in vm_swap_encrypt() 380 ivnum[0] = (uint64_t)c_seg; in vm_swap_encrypt() 390 C_SEG_WRITE_PROTECT(c_seg); in vm_swap_encrypt() 396 vm_swap_decrypt(c_segment_t c_seg, bool disallow_page_replacement) in vm_swap_decrypt() argument 416 C_SEG_MAKE_WRITEABLE(c_seg); in vm_swap_decrypt() 418 ptr = (uint8_t *)c_seg->c_store.c_buffer; in vm_swap_decrypt() [all …]
|
| H A D | analytics.c | 175 c_segment_t c_seg = (c_segment_t) queue_first(c_queues[q]); in report_compressor_age() local 176 while (!queue_end(c_queues[q], (queue_entry_t) c_seg)) { in report_compressor_age() 178 uint32_t creation_ts = c_seg->c_creation_ts; in report_compressor_age() 187 c_seg = (c_segment_t) queue_next(&c_seg->c_age_list); in report_compressor_age()
|
| H A D | vm_compressor_xnu.h | 326 …((((cseg->c_bytes_unused + (c_seg_bufsize - C_SEG_OFFSET_TO_BYTES(c_seg->c_nextoffset))) >= (c_seg…
|
| /xnu-12377.1.9/tools/lldbmacros/ |
| H A D | memory.py | 4908 c_seg = c_segments_elt.c_seg 4910 if hasattr(c_seg, 'c_state'): 4911 c_state = c_seg.c_state 4942 …_seg {: <#018x} c_state {:#x}={:s}".format(slot.s_cseg-1, c_segments_elt, c_seg, c_state, c_state_… 4944 if hasattr(c_seg, 'c_slot_var_array'): 4947 cs = c_seg.c_slot_fixed_array[c_indx] 4949 cs = GetObjectAtIndexFromArray(c_seg.c_slot_var_array, c_indx - c_seg_fixed_array_len) 4953 …cs = GetObjectAtIndexFromArray(c_seg.c_slots[c_indx // C_SEG_SLOT_ARRAY_SIZE], c_indx & C_SEG_SLOT… 4960 c_data = c_seg.c_store.c_buffer + (4 * cs.c_offset)
|
| /xnu-12377.1.9/tests/ |
| H A D | stackshot_tests.m | 3714 T_QUIET; T_ASSERT_TRUE(found_cseg_waitinfo, "found c_seg waitinfo");
|