• Home
  • Raw
  • Download

Lines Matching refs:node

23 	struct llist_node *node;  in rethook_flush_task()  local
25 node = __llist_del_all(&tk->rethooks); in rethook_flush_task()
26 while (node) { in rethook_flush_task()
27 rhn = container_of(node, struct rethook_node, llist); in rethook_flush_task()
28 node = node->next; in rethook_flush_task()
73 struct rethook_node *node = nod; in rethook_init_node() local
75 node->rethook = context; in rethook_init_node()
129 struct rethook_node *node = container_of(head, struct rethook_node, rcu); in free_rethook_node_rcu() local
130 struct rethook *rh = node->rethook; in free_rethook_node_rcu()
132 objpool_drop(node, &rh->pool); in free_rethook_node_rcu()
142 void rethook_recycle(struct rethook_node *node) in rethook_recycle() argument
146 handler = rethook_get_handler(node->rethook); in rethook_recycle()
148 objpool_push(node, &node->rethook->pool); in rethook_recycle()
150 call_rcu(&node->rcu, free_rethook_node_rcu); in rethook_recycle()
197 void rethook_hook(struct rethook_node *node, struct pt_regs *regs, bool mcount) in rethook_hook() argument
199 arch_rethook_prepare(node, regs, mcount); in rethook_hook()
200 __llist_add(&node->llist, &current->rethooks); in rethook_hook()
209 struct llist_node *node = *cur; in __rethook_find_ret_addr() local
211 if (!node) in __rethook_find_ret_addr()
212 node = tsk->rethooks.first; in __rethook_find_ret_addr()
214 node = node->next; in __rethook_find_ret_addr()
216 while (node) { in __rethook_find_ret_addr()
217 rh = container_of(node, struct rethook_node, llist); in __rethook_find_ret_addr()
219 *cur = node; in __rethook_find_ret_addr()
222 node = node->next; in __rethook_find_ret_addr()
282 struct llist_node *first, *node = NULL; in rethook_trampoline_handler() local
287 correct_ret_addr = __rethook_find_ret_addr(current, &node); in rethook_trampoline_handler()
315 if (first == node) in rethook_trampoline_handler()
325 current->rethooks.first = node->next; in rethook_trampoline_handler()
326 node->next = NULL; in rethook_trampoline_handler()