Searched refs:c_slot (Results 1 – 2 of 2) sorted by relevance
137 struct c_slot { struct237 struct c_slot *c_slot_var_array;238 struct c_slot c_slot_fixed_array[0];348 typedef struct c_slot *c_slot_t;
908 …c_segment_size = sizeof(struct c_segment) + (c_seg_slot_var_array_min_len * sizeof(struct c_slot)); in vm_compressor_init()914 while (cnt * sizeof(struct c_slot) < frag) { in vm_compressor_init()915 c_segment_size += sizeof(struct c_slot); in vm_compressor_init()917 frag -= cnt * sizeof(struct c_slot); in vm_compressor_init()1716 sizeof(struct c_slot) * c_seg->c_slot_var_array_len); in c_seg_free_locked()1878 struct c_slot *old_slot_array = NULL; in c_seg_alloc_nextslot()1879 struct c_slot *new_slot_array = NULL; in c_seg_alloc_nextslot()1897 new_slot_array = kalloc_data(sizeof(struct c_slot) * newlen, in c_seg_alloc_nextslot()1904 sizeof(struct c_slot) * oldlen); in c_seg_alloc_nextslot()1912 kfree_data(old_slot_array, sizeof(struct c_slot) * oldlen); in c_seg_alloc_nextslot()