Home
last modified time | relevance | path

Searched refs:c_segno (Results 1 – 2 of 2) sorted by relevance

/xnu-12377.1.9/osfmk/vm/
H A Dvm_compressor.c232 …uintptr_t c_segno; /* index of the next element in the segments free-list, c_free_segno_hea… member
2108 c_segments_get(segno)->c_segno = c_free_segno_head; in c_seg_free_locked()
4174 uint32_t c_segno; in c_seg_allocate() local
4222 for (c_segno = c_segments_available + 1; c_segno < c_segments_available_new; c_segno++) { in c_seg_allocate()
4223 c_segments_get(c_segno - 1)->c_segno = c_segno; /* next free is the one after you */ in c_seg_allocate()
4228 …c_segments_get(c_segno - 1)->c_segno = c_free_segno_head; /* link to the rest of, existing freelis… in c_seg_allocate()
4235 c_segno = c_free_segno_head; in c_seg_allocate()
4236 assert(c_segno >= 0 && c_segno < c_segments_limit); in c_seg_allocate()
4238 c_free_segno_head = (uint32_t)c_segments_get(c_segno)->c_segno; in c_seg_allocate()
4254 c_seg->c_store.c_buffer = (int32_t *)C_SEG_BUFFER_ADDRESS(c_segno); in c_seg_allocate()
[all …]
H A Dvm_compressor_xnu.h296 #define C_SEG_BUFFER_ADDRESS(c_segno) ((c_buffers + ((uint64_t)c_segno * (uint64_t)c_seg_allocsiz… argument