Lines Matching refs:stack
104 struct stack_record *stack; in depot_alloc_stack() local
127 stack = stack_slabs[depot_index] + depot_offset; in depot_alloc_stack()
129 stack->hash = hash; in depot_alloc_stack()
130 stack->size = size; in depot_alloc_stack()
131 stack->handle.slabindex = depot_index; in depot_alloc_stack()
132 stack->handle.offset = depot_offset >> STACK_ALLOC_ALIGN; in depot_alloc_stack()
133 stack->handle.valid = 1; in depot_alloc_stack()
134 memcpy(stack->entries, entries, size * sizeof(unsigned long)); in depot_alloc_stack()
137 return stack; in depot_alloc_stack()
203 struct stack_record *stack = slab + offset; in stack_depot_fetch() local
205 *entries = stack->entries; in stack_depot_fetch()
206 return stack->size; in stack_depot_fetch()