Lines Matching refs:stack
113 struct stack_record *stack; in depot_alloc_stack() local
136 stack = stack_slabs[depot_index] + depot_offset; in depot_alloc_stack()
138 stack->hash = hash; in depot_alloc_stack()
139 stack->size = size; in depot_alloc_stack()
140 stack->handle.slabindex = depot_index; in depot_alloc_stack()
141 stack->handle.offset = depot_offset >> STACK_ALLOC_ALIGN; in depot_alloc_stack()
142 stack->handle.valid = 1; in depot_alloc_stack()
143 memcpy(stack->entries, entries, size * sizeof(unsigned long)); in depot_alloc_stack()
146 return stack; in depot_alloc_stack()
202 struct stack_record *stack = slab + offset; in depot_fetch_stack() local
204 trace->nr_entries = trace->max_entries = stack->size; in depot_fetch_stack()
205 trace->entries = stack->entries; in depot_fetch_stack()