Lines Matching refs:stack
107 struct stack_record *stack; in depot_alloc_stack() local
108 size_t required_size = struct_size(stack, entries, size); in depot_alloc_stack()
131 stack = stack_slabs[depot_index] + depot_offset; in depot_alloc_stack()
133 stack->hash = hash; in depot_alloc_stack()
134 stack->size = size; in depot_alloc_stack()
135 stack->handle.slabindex = depot_index; in depot_alloc_stack()
136 stack->handle.offset = depot_offset >> STACK_ALLOC_ALIGN; in depot_alloc_stack()
137 stack->handle.valid = 1; in depot_alloc_stack()
138 memcpy(stack->entries, entries, flex_array_size(stack, entries, size)); in depot_alloc_stack()
141 return stack; in depot_alloc_stack()
248 void stack_depot_print(depot_stack_handle_t stack) in stack_depot_print() argument
253 nr_entries = stack_depot_fetch(stack, &entries); in stack_depot_print()
274 struct stack_record *stack; in stack_depot_fetch() local
288 stack = slab + offset; in stack_depot_fetch()
290 *entries = stack->entries; in stack_depot_fetch()
291 return stack->size; in stack_depot_fetch()