Lines Matching refs:stack
41 static void push_rcu(struct allowedips_node **stack,
47 stack[(*len)++] = rcu_dereference_raw(p);
58 struct allowedips_node *node, *stack[MAX_ALLOWEDIPS_DEPTH] = {
62 while (len > 0 && (node = stack[--len])) {
63 push_rcu(stack, node->bit[0], &len);
64 push_rcu(stack, node->bit[1], &len);
71 struct allowedips_node *node, *stack[MAX_ALLOWEDIPS_DEPTH] = { root };
74 while (len > 0 && (node = stack[--len])) {
75 push_rcu(stack, node->bit[0], &len);
76 push_rcu(stack, node->bit[1], &len);