Home
last modified time | relevance | path

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

/kernel/
Dkmod.c69 static int call_modprobe(char *module_name, int wait) in call_modprobe() argument
83 module_name = kstrdup(module_name, GFP_KERNEL); in call_modprobe()
84 if (!module_name) in call_modprobe()
90 argv[3] = module_name; /* check free_modprobe_argv() */ in call_modprobe()
101 kfree(module_name); in call_modprobe()
127 char module_name[MODULE_NAME_LEN]; in __request_module() local
142 ret = vsnprintf(module_name, MODULE_NAME_LEN, fmt, args); in __request_module()
147 ret = security_kernel_module_request(module_name); in __request_module()
154 MAX_KMOD_CONCURRENT, module_name); in __request_module()
160 module_name, MAX_KMOD_CONCURRENT, MAX_KMOD_ALL_BUSY_TIMEOUT); in __request_module()
[all …]
Dkallsyms.c654 char module_name[MODULE_NAME_LEN]; member
683 iter->name, iter->module_name, in get_ksymbol_mod()
702 iter->name, iter->module_name, in get_ksymbol_ftrace_mod()
716 strlcpy(iter->module_name, "bpf", MODULE_NAME_LEN); in get_ksymbol_bpf()
736 strlcpy(iter->module_name, "__builtin__kprobes", MODULE_NAME_LEN); in get_ksymbol_kprobe()
748 iter->module_name[0] = '\0'; in get_ksymbol_core()
847 if (iter->module_name[0]) { in s_show()
857 type, iter->name, iter->module_name); in s_show()
Dparams.c874 mk = locate_module_kobject(vattr->module_name); in version_sysfs_builtin()
/kernel/module/
Dkallsyms.c416 char *name, char *module_name, int *exported) in module_get_kallsym() argument
433 strscpy(module_name, mod->name, MODULE_NAME_LEN); in module_get_kallsym()
Dmain.c1126 strncpy(ownername, module_name(fsa.owner), MODULE_NAME_LEN); in resolve_symbol()
1292 module_name(fsa.owner)); in verify_exported_symbols()
2304 static bool blacklisted(const char *module_name) in blacklisted() argument
2314 if (strlen(module_name) == len && !memcmp(module_name, p, len)) in blacklisted()
/kernel/trace/
Dtrace_kprobe.c108 int len = strlen(module_name(mod)); in trace_kprobe_within_module()
111 return strncmp(module_name(mod), name, len) == 0 && name[len] == ':'; in trace_kprobe_within_module()
695 module_name(mod), ret); in trace_kprobe_module_callback()
Dftrace.c6811 char *name, char *module_name, in ftrace_get_trampoline_kallsym() argument
6822 strlcpy(module_name, FTRACE_TRAMPOLINE_MOD, MODULE_NAME_LEN); in ftrace_get_trampoline_kallsym()
7217 char *module_name, int *exported) in ftrace_mod_get_kallsym() argument
7240 strlcpy(module_name, mod_map->mod->name, MODULE_NAME_LEN); in ftrace_mod_get_kallsym()
7249 module_name, exported); in ftrace_mod_get_kallsym()
7264 char *type, char *name, char *module_name, in ftrace_mod_get_kallsym() argument
7271 module_name, exported); in ftrace_mod_get_kallsym()
/kernel/bpf/
Dbtf.c5259 static struct btf *btf_parse_module(const char *module_name, const void *data, unsigned int data_si… in btf_parse_module() argument
5290 snprintf(btf->name, sizeof(btf->name), "%s", module_name); in btf_parse_module()