Searched refs:c_slot (Results 1 – 2 of 2) sorted by relevance
139 struct c_slot { struct254 struct c_slot *c_slot_var_array;255 struct c_slot c_slot_fixed_array[0];367 typedef struct c_slot *c_slot_t;
1123 …c_segment_size = sizeof(struct c_segment) + (c_seg_slot_var_array_min_len * sizeof(struct c_slot)); in vm_compressor_init()1129 while (cnt * sizeof(struct c_slot) < frag) { in vm_compressor_init()1130 c_segment_size += sizeof(struct c_slot); in vm_compressor_init()1132 frag -= cnt * sizeof(struct c_slot); in vm_compressor_init()2031 sizeof(struct c_slot) * c_seg->c_slot_var_array_len); in c_seg_free_locked()2193 struct c_slot *old_slot_array = NULL; in c_seg_alloc_nextslot()2194 struct c_slot *new_slot_array = NULL; in c_seg_alloc_nextslot()2212 new_slot_array = kalloc_data(sizeof(struct c_slot) * newlen, in c_seg_alloc_nextslot()2219 sizeof(struct c_slot) * oldlen); in c_seg_alloc_nextslot()2227 kfree_data(old_slot_array, sizeof(struct c_slot) * oldlen); in c_seg_alloc_nextslot()