Searched refs:rethook (Results 1 – 10 of 10) sorted by relevance
38 struct rethook *rh = container_of(head, struct rethook, rcu); in rethook_free_rcu()66 void rethook_free(struct rethook *rh) in rethook_free()84 struct rethook *rh = kzalloc(sizeof(struct rethook), GFP_KERNEL); in rethook_alloc()109 node->rethook = rh; in rethook_add_node()118 if (refcount_dec_and_test(&node->rethook->ref)) in free_rethook_node_rcu()119 kfree(node->rethook); in free_rethook_node_rcu()134 if (likely(READ_ONCE(node->rethook->handler))) in rethook_recycle()135 freelist_add(&node->freelist, &node->rethook->pool); in rethook_recycle()148 struct rethook_node *rethook_try_get(struct rethook *rh) in rethook_try_get()302 handler = READ_ONCE(rhn->rethook->handler); in rethook_trampoline_handler()[all …]
44 rh = rethook_try_get(fp->rethook); in fprobe_handler()134 fp->rethook = NULL; in fprobe_init_rethook()144 if (!fp->rethook) in fprobe_init_rethook()151 rethook_free(fp->rethook); in fprobe_init_rethook()152 fp->rethook = NULL; in fprobe_init_rethook()155 rethook_add_node(fp->rethook, &node->node); in fprobe_init_rethook()162 if (fp->rethook) { in fprobe_fail_cleanup()164 rethook_free(fp->rethook); in fprobe_fail_cleanup()165 fp->rethook = NULL; in fprobe_fail_cleanup()316 if (fp->rethook) in unregister_fprobe()[all …]
106 obj-$(CONFIG_RETHOOK) += rethook.o
30 struct rethook { struct56 struct rethook *rethook; member61 struct rethook *rethook_alloc(void *data, rethook_handler_t handler);62 void rethook_free(struct rethook *rh);63 void rethook_add_node(struct rethook *rh, struct rethook_node *node);64 struct rethook_node *rethook_try_get(struct rethook *rh);
31 struct rethook *rethook; member
155 struct rethook *rh;208 return (struct kretprobe *)READ_ONCE(ri->node.rethook->data); in get_kretprobe()
3 obj-$(CONFIG_RETHOOK) += rethook.o rethook_trampoline.o
61 obj-$(CONFIG_RETHOOK) += rethook.o
98 obj-$(CONFIG_RETHOOK) += rethook.o
156 - fprobe fails to setup the function exit because of the shortage of rethook
Completed in 15 milliseconds