Home
last modified time | relevance | path

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

/xnu-10002.41.9/osfmk/vm/
H A Dvm_compressor.h129 struct c_slot { struct
244 struct c_slot *c_slot_var_array;
245 struct c_slot c_slot_fixed_array[0];
370 typedef struct c_slot *c_slot_t;
H A Dvm_compressor.c1121 …c_segment_size = sizeof(struct c_segment) + (c_seg_slot_var_array_min_len * sizeof(struct c_slot)); in vm_compressor_init()
1127 while (cnt * sizeof(struct c_slot) < frag) { in vm_compressor_init()
1128 c_segment_size += sizeof(struct c_slot); in vm_compressor_init()
1130 frag -= cnt * sizeof(struct c_slot); in vm_compressor_init()
2028 kfree_type(struct c_slot, c_seg->c_slot_var_array_len, in c_seg_free_locked()
2191 struct c_slot *old_slot_array = NULL; in c_seg_alloc_nextslot()
2192 struct c_slot *new_slot_array = NULL; in c_seg_alloc_nextslot()
2210 new_slot_array = kalloc_type(struct c_slot, newlen, Z_WAITOK); in c_seg_alloc_nextslot()
2216 sizeof(struct c_slot) * oldlen); in c_seg_alloc_nextslot()
2224 kfree_type(struct c_slot, oldlen, old_slot_array); in c_seg_alloc_nextslot()