Searched refs:ftrace_loc (Results 1 – 1 of 1) sorted by relevance
141 unsigned long ftrace_loc; in klp_unpatch_func() local143 ftrace_loc = ftrace_location((unsigned long)func->old_func); in klp_unpatch_func()144 if (WARN_ON(!ftrace_loc)) in klp_unpatch_func()148 WARN_ON(ftrace_set_filter_ip(&ops->fops, ftrace_loc, 1, 0)); in klp_unpatch_func()173 unsigned long ftrace_loc; in klp_patch_func() local175 ftrace_loc = ftrace_location((unsigned long)func->old_func); in klp_patch_func()176 if (!ftrace_loc) { in klp_patch_func()199 ret = ftrace_set_filter_ip(&ops->fops, ftrace_loc, 0, 0); in klp_patch_func()210 ftrace_set_filter_ip(&ops->fops, ftrace_loc, 1, 0); in klp_patch_func()