Lines Matching refs:mod
198 static struct plt_entry *get_ftrace_plt(struct module *mod) in get_ftrace_plt() argument
201 struct plt_entry *plt = mod->arch.ftrace_trampolines; in get_ftrace_plt()
226 struct module *mod, in ftrace_find_callable_addr() argument
264 if (!mod) { in ftrace_find_callable_addr()
266 mod = __module_text_address(pc); in ftrace_find_callable_addr()
270 if (WARN_ON(!mod)) in ftrace_find_callable_addr()
273 plt = get_ftrace_plt(mod); in ftrace_find_callable_addr()
391 int ftrace_init_nop(struct module *mod, struct dyn_ftrace *rec) in ftrace_init_nop() argument
412 int ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec, in ftrace_make_nop() argument
434 if (!IS_ENABLED(CONFIG_DYNAMIC_FTRACE_WITH_ARGS) && mod) in ftrace_make_nop()
437 if (!ftrace_find_callable_addr(rec, mod, &addr)) in ftrace_make_nop()