Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/
Dkmod.c128 char module_name[MODULE_NAME_LEN]; in __request_module()
143 ret = vsnprintf(module_name, MODULE_NAME_LEN, fmt, args); in __request_module()
145 if (ret >= MODULE_NAME_LEN) in __request_module()
Dkallsyms.c445 char module_name[MODULE_NAME_LEN];
500 strlcpy(iter->module_name, "bpf", MODULE_NAME_LEN); in get_ksymbol_bpf()
Dmodule.c800 static char last_unloaded_module[MODULE_NAME_LEN+1];
971 char name[MODULE_NAME_LEN]; in SYSCALL_DEFINE2()
977 if (strncpy_from_user(name, name_user, MODULE_NAME_LEN-1) < 0) in SYSCALL_DEFINE2()
979 name[MODULE_NAME_LEN-1] = '\0'; in SYSCALL_DEFINE2()
1468 strncpy(ownername, module_name(owner), MODULE_NAME_LEN); in resolve_symbol()
1480 char owner[MODULE_NAME_LEN]; in resolve_symbol_wait()
4174 strlcpy(modname, mod->name, MODULE_NAME_LEN); in lookup_module_symbol_attrs()
4204 strlcpy(module_name, mod->name, MODULE_NAME_LEN); in module_get_kallsym()
4240 if ((colon = strnchr(name, MODULE_NAME_LEN, ':')) != NULL) { in module_kallsyms_lookup_name()
Dparams.c815 char modname[MODULE_NAME_LEN]; in param_sysfs_builtin()
/Linux-v5.4/arch/x86/kernel/
Dlivepatch.c20 char sec_objname[MODULE_NAME_LEN]; in arch_klp_init_object_loaded()
27 BUILD_BUG_ON(MODULE_NAME_LEN < 56 || KSYM_NAME_LEN != 128); in arch_klp_init_object_loaded()
/Linux-v5.4/include/linux/
Dmodule.h32 #define MODULE_NAME_LEN MAX_PARAM_PREFIX_LEN macro
36 char name[MODULE_NAME_LEN];
354 char name[MODULE_NAME_LEN];
Dkallsyms.h19 2*(BITS_PER_LONG*3/10) + (MODULE_NAME_LEN - 1) + 1)
/Linux-v5.4/kernel/livepatch/
Dcore.c196 char objname[MODULE_NAME_LEN]; in klp_resolve_symbols()
213 BUILD_BUG_ON(MODULE_NAME_LEN < 56 || KSYM_NAME_LEN != 128); in klp_resolve_symbols()
253 char sec_objname[MODULE_NAME_LEN]; in klp_write_object_relocations()
773 if (klp_is_module(obj) && strlen(obj->name) >= MODULE_NAME_LEN) in klp_init_object()
/Linux-v5.4/arch/powerpc/kernel/
Dkprobes.c74 char dot_name[MODULE_NAME_LEN + 1 + KSYM_NAME_LEN]; in kprobe_lookup_name()
80 if ((c = strnchr(name, MODULE_NAME_LEN, ':')) != NULL) { in kprobe_lookup_name()
/Linux-v5.4/sound/soc/sof/intel/
Dhda-codec.c30 char alias[MODULE_NAME_LEN]; in hda_codec_load_module()
/Linux-v5.4/scripts/mod/
Dmodpost.c53 #define MODULE_NAME_LEN (64 - sizeof(Elf_Addr)) macro
2248 if (strlen(mod_name) >= MODULE_NAME_LEN) { in check_modname_len()
2336 if (strlen(s->name) >= MODULE_NAME_LEN) { in add_versions()
/Linux-v5.4/sound/soc/intel/skylake/
Dskl.c679 char modalias[MODULE_NAME_LEN]; in load_codec_module()
/Linux-v5.4/net/core/
Drtnetlink.c1813 char kind[MODULE_NAME_LEN]; in linkinfo_to_kind_ops()
3022 char kind[MODULE_NAME_LEN]; in __rtnl_newlink()
/Linux-v5.4/net/netfilter/
Dnf_tables_api.c515 char module_name[MODULE_NAME_LEN]; in nft_request_module()
522 ret = vsnprintf(module_name, MODULE_NAME_LEN, fmt, args); in nft_request_module()
524 if (WARN(ret >= MODULE_NAME_LEN, "truncated: '%s' (len %d)", module_name, ret)) in nft_request_module()
/Linux-v5.4/kernel/trace/
Dftrace.c6035 strlcpy(module_name, mod_map->mod->name, MODULE_NAME_LEN); in ftrace_mod_get_kallsym()