Searched refs:c_slot (Results 1 – 2 of 2) sorted by relevance
129 struct c_slot { struct244 struct c_slot *c_slot_var_array;245 struct c_slot c_slot_fixed_array[0];356 typedef struct c_slot *c_slot_t;
1120 …c_segment_size = sizeof(struct c_segment) + (c_seg_slot_var_array_min_len * sizeof(struct c_slot)); in vm_compressor_init()1126 while (cnt * sizeof(struct c_slot) < frag) { in vm_compressor_init()1127 c_segment_size += sizeof(struct c_slot); in vm_compressor_init()1129 frag -= cnt * sizeof(struct c_slot); in vm_compressor_init()2028 sizeof(struct c_slot) * c_seg->c_slot_var_array_len); in c_seg_free_locked()2190 struct c_slot *old_slot_array = NULL; in c_seg_alloc_nextslot()2191 struct c_slot *new_slot_array = NULL; in c_seg_alloc_nextslot()2209 new_slot_array = kalloc_data(sizeof(struct c_slot) * newlen, in c_seg_alloc_nextslot()2216 sizeof(struct c_slot) * oldlen); in c_seg_alloc_nextslot()2224 kfree_data(old_slot_array, sizeof(struct c_slot) * oldlen); in c_seg_alloc_nextslot()