Home
last modified time | relevance | path

Searched refs:ftrace_loc (Results 1 – 1 of 1) sorted by relevance

/kernel/livepatch/
Dpatch.c149 unsigned long ftrace_loc; in klp_unpatch_func() local
151 ftrace_loc = in klp_unpatch_func()
153 if (WARN_ON(!ftrace_loc)) in klp_unpatch_func()
157 WARN_ON(ftrace_set_filter_ip(&ops->fops, ftrace_loc, 1, 0)); in klp_unpatch_func()
182 unsigned long ftrace_loc; in klp_patch_func() local
184 ftrace_loc = in klp_patch_func()
186 if (!ftrace_loc) { in klp_patch_func()
206 ret = ftrace_set_filter_ip(&ops->fops, ftrace_loc, 0, 0); in klp_patch_func()
217 ftrace_set_filter_ip(&ops->fops, ftrace_loc, 1, 0); in klp_patch_func()