Home
last modified time | relevance | path

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

/xnu-12377.1.9/osfmk/vm/
H A Dvm_compressor_xnu.h132 struct c_slot { struct
258 struct c_slot *c_slot_var_array; /* see C_SEG_SLOT_FROM_INDEX() */
259 struct c_slot c_slot_fixed_array[0];
392 typedef struct c_slot *c_slot_t;
H A Dvm_compressor.c1127 …c_segment_size = sizeof(struct c_segment) + (c_seg_slot_var_array_min_len * sizeof(struct c_slot)); in vm_compressor_init()
1133 while (cnt * sizeof(struct c_slot) < frag) { in vm_compressor_init()
1134 c_segment_size += sizeof(struct c_slot); in vm_compressor_init()
1136 frag -= cnt * sizeof(struct c_slot); in vm_compressor_init()
2117 kfree_type(struct c_slot, c_seg->c_slot_var_array_len, in c_seg_free_locked()
2281 struct c_slot *old_slot_array = NULL; in c_seg_alloc_nextslot()
2282 struct c_slot *new_slot_array = NULL; in c_seg_alloc_nextslot()
2300 new_slot_array = kalloc_type(struct c_slot, newlen, Z_WAITOK); in c_seg_alloc_nextslot()
2306 sizeof(struct c_slot) * oldlen); in c_seg_alloc_nextslot()
2314 kfree_type(struct c_slot, oldlen, old_slot_array); in c_seg_alloc_nextslot()
[all …]