Lines Matching refs:stack
108 struct stack_record *stack; in depot_alloc_stack() local
109 size_t required_size = struct_size(stack, entries, size); in depot_alloc_stack()
132 stack = stack_slabs[depot_index] + depot_offset; in depot_alloc_stack()
134 stack->hash = hash; in depot_alloc_stack()
135 stack->size = size; in depot_alloc_stack()
136 stack->handle.slabindex = depot_index; in depot_alloc_stack()
137 stack->handle.offset = depot_offset >> STACK_ALLOC_ALIGN; in depot_alloc_stack()
138 stack->handle.valid = 1; in depot_alloc_stack()
139 memcpy(stack->entries, entries, flex_array_size(stack, entries, size)); in depot_alloc_stack()
142 return stack; in depot_alloc_stack()
232 struct stack_record *stack; in stack_depot_fetch() local
243 stack = slab + offset; in stack_depot_fetch()
245 *entries = stack->entries; in stack_depot_fetch()
246 return stack->size; in stack_depot_fetch()