Lines Matching refs:stack
39 struct stack { struct
41 struct stack *next; argument
43 static struct stack dummy_stack;
44 static struct stack failure_stack;
45 static struct stack *stack_list;
169 struct stack *stack; in add_stack_record_to_list() local
172 stack = kmalloc(sizeof(*stack), gfp_nested_mask(gfp_mask)); in add_stack_record_to_list()
173 if (!stack) { in add_stack_record_to_list()
179 stack->stack_record = stack_record; in add_stack_record_to_list()
180 stack->next = NULL; in add_stack_record_to_list()
183 stack->next = stack_list; in add_stack_record_to_list()
190 smp_store_release(&stack_list, stack); in add_stack_record_to_list()
858 struct stack *stack; in stack_start() local
869 stack = smp_load_acquire(&stack_list); in stack_start()
870 m->private = stack; in stack_start()
872 stack = m->private; in stack_start()
875 return stack; in stack_start()
880 struct stack *stack = v; in stack_next() local
882 stack = stack->next; in stack_next()
883 *ppos = stack ? *ppos + 1 : -1UL; in stack_next()
884 m->private = stack; in stack_next()
886 return stack; in stack_next()
894 struct stack *stack = v; in stack_print() local
897 struct stack_record *stack_record = stack->stack_record; in stack_print()
899 if (!stack->stack_record) in stack_print()