Lines Matching refs:stack
262 struct stack_record *stack; in depot_alloc_stack() local
263 size_t required_size = struct_size(stack, entries, size); in depot_alloc_stack()
301 stack = stack_pools[pool_index] + pool_offset; in depot_alloc_stack()
302 stack->hash = hash; in depot_alloc_stack()
303 stack->size = size; in depot_alloc_stack()
304 stack->handle.pool_index = pool_index; in depot_alloc_stack()
305 stack->handle.offset = pool_offset >> DEPOT_STACK_ALIGN; in depot_alloc_stack()
306 stack->handle.valid = 1; in depot_alloc_stack()
307 stack->handle.extra = 0; in depot_alloc_stack()
308 memcpy(stack->entries, entries, flex_array_size(stack, entries, size)); in depot_alloc_stack()
314 kmsan_unpoison_memory(stack, required_size); in depot_alloc_stack()
316 return stack; in depot_alloc_stack()
471 struct stack_record *stack; in stack_depot_fetch() local
491 stack = pool + offset; in stack_depot_fetch()
493 *entries = stack->entries; in stack_depot_fetch()
494 return stack->size; in stack_depot_fetch()
498 void stack_depot_print(depot_stack_handle_t stack) in stack_depot_print() argument
503 nr_entries = stack_depot_fetch(stack, &entries); in stack_depot_print()