Searched refs:ftrace_loc (Results 1 – 1 of 1) sorted by relevance
149 unsigned long ftrace_loc; in klp_unpatch_func() local151 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() local184 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()