Lines Matching refs:stack
109 struct stack_record *stack; in depot_alloc_stack() local
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, size * sizeof(unsigned long)); in depot_alloc_stack()
142 return stack; in depot_alloc_stack()
208 struct stack_record *stack; in stack_depot_fetch() local
219 stack = slab + offset; in stack_depot_fetch()
221 *entries = stack->entries; in stack_depot_fetch()
222 return stack->size; in stack_depot_fetch()