Lines Matching refs:rethook
11 #include <linux/rethook.h>
36 rh = rethook_try_get(fp->rethook);
193 fp->rethook = NULL;
197 /* Initialize rethook if needed */
207 /* Initialize rethook */
208 fp->rethook = rethook_alloc((void *)fp, fprobe_exit_handler, size, num);
209 if (IS_ERR(fp->rethook))
210 return PTR_ERR(fp->rethook);
217 if (!IS_ERR_OR_NULL(fp->rethook)) {
218 /* Don't need to cleanup rethook->handler because this is not used. */
219 rethook_free(fp->rethook);
220 fp->rethook = NULL;
372 if (!IS_ERR_OR_NULL(fp->rethook))
373 rethook_stop(fp->rethook);
379 if (!IS_ERR_OR_NULL(fp->rethook))
380 rethook_free(fp->rethook);