Lines Matching refs:stack_record
310 static struct stack_record *depot_pop_free_pool(void **prealloc, size_t size) in depot_pop_free_pool()
312 struct stack_record *stack; in depot_pop_free_pool()
344 static struct stack_record *depot_pop_free(void) in depot_pop_free()
346 struct stack_record *stack; in depot_pop_free()
359 stack = list_first_entry(&free_stacks, struct stack_record, free_list); in depot_pop_free()
369 static inline size_t depot_stack_record_size(struct stack_record *s, unsigned int nr_entries) in depot_stack_record_size()
376 return ALIGN(sizeof(struct stack_record) - unused, 1 << DEPOT_STACK_ALIGN); in depot_stack_record_size()
380 static struct stack_record *
383 struct stack_record *stack = NULL; in depot_alloc_stack()
439 static struct stack_record *depot_fetch_stack(depot_stack_handle_t handle) in depot_fetch_stack()
446 struct stack_record *stack; in depot_fetch_stack()
468 static void depot_free_stack(struct stack_record *stack) in depot_free_stack()
535 static inline struct stack_record *find_stack(struct list_head *bucket, in find_stack()
539 struct stack_record *stack, *ret = NULL; in find_stack()
590 struct stack_record *found = NULL; in stack_depot_save_flags()
647 struct stack_record *new = in stack_depot_save_flags()
691 struct stack_record *__stack_depot_get_stack_record(depot_stack_handle_t handle) in __stack_depot_get_stack_record()
702 struct stack_record *stack; in stack_depot_fetch()
729 struct stack_record *stack; in stack_depot_put()