Home
last modified time | relevance | path

Searched refs:modname (Results 1 – 25 of 25) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Ddynamic_debug.h19 const char *modname; member
54 const char *modname);
60 const char *modname);
85 .modname = KBUILD_MODNAME, \
183 const char *modname) in ddebug_add_module() argument
194 const char *modname) in ddebug_dyndbg_module_param_cb() argument
Dkallsyms.h91 char **modname, char *namebuf);
99 …l_attrs(unsigned long addr, unsigned long *size, unsigned long *offset, char *modname, char *name);
129 char **modname, char *namebuf) in kallsyms_lookup() argument
157 …ol_attrs(unsigned long addr, unsigned long *size, unsigned long *offset, char *modname, char *name) in lookup_symbol_attrs() argument
Dmodule.h672 char **modname,
675 …l_attrs(unsigned long addr, unsigned long *size, unsigned long *offset, char *modname, char *name);
775 char **modname, in module_address_lookup() argument
786 …ol_attrs(unsigned long addr, unsigned long *size, unsigned long *offset, char *modname, char *name) in lookup_module_symbol_attrs() argument
Dftrace.h60 unsigned long *off, char **modname, char *sym);
64 unsigned long *off, char **modname, char *sym) in ftrace_mod_address_lookup() argument
Dfilter.h1096 unsigned long *off, char **modname, char *sym) in bpf_address_lookup() argument
1100 if (ret && modname) in bpf_address_lookup()
1101 *modname = NULL; in bpf_address_lookup()
1162 unsigned long *off, char **modname, char *sym) in bpf_address_lookup() argument
/kernel/linux/linux-5.10/kernel/
Dkallsyms.c328 char **modname, char *namebuf) in kallsyms_lookup() argument
342 if (modname) in kallsyms_lookup()
343 *modname = NULL; in kallsyms_lookup()
351 modname, namebuf); in kallsyms_lookup()
354 offset, modname, namebuf); in kallsyms_lookup()
358 offset, modname, namebuf); in kallsyms_lookup()
392 unsigned long *offset, char *modname, char *name) in lookup_symbol_attrs() argument
406 modname[0] = '\0'; in lookup_symbol_attrs()
410 res = lookup_module_symbol_attrs(addr, size, offset, modname, name); in lookup_symbol_attrs()
423 char *modname; in __sprint_symbol() local
[all …]
Dparams.c816 char modname[MODULE_NAME_LEN]; in param_sysfs_builtin() local
827 strcpy(modname, "kernel"); in param_sysfs_builtin()
831 strlcpy(modname, kp->name, name_len); in param_sysfs_builtin()
833 kernel_add_sysfs_param(modname, kp, name_len); in param_sysfs_builtin()
Dkprobes.c2696 const char *sym, int offset, char *modname, struct kprobe *pp) in report_probe() argument
2712 (modname ? modname : " ")); in report_probe()
2751 char *modname, namebuf[KSYM_NAME_LEN]; in show_kprobe_addr() local
2757 &offset, &modname, namebuf); in show_kprobe_addr()
2760 report_probe(pi, kp, sym, offset, modname, p); in show_kprobe_addr()
2762 report_probe(pi, p, sym, offset, modname, NULL); in show_kprobe_addr()
Dmodule.c3937 static int unknown_module_param_cb(char *param, char *val, const char *modname, in unknown_module_param_cb() argument
3949 ret = ddebug_dyndbg_module_param_cb(param, val, modname); in unknown_module_param_cb()
3951 pr_warn("%s: unknown parameter '%s' ignored\n", modname, param); in unknown_module_param_cb()
4320 char **modname, in module_address_lookup() argument
4329 if (modname) in module_address_lookup()
4330 *modname = mod->name; in module_address_lookup()
4370 unsigned long *offset, char *modname, char *name) in lookup_module_symbol_attrs() argument
4384 if (modname) in lookup_module_symbol_attrs()
4385 strlcpy(modname, mod->name, MODULE_NAME_LEN); in lookup_module_symbol_attrs()
/kernel/linux/linux-5.10/lib/
Ddynamic_debug.c371 struct ddebug_query *query, const char *modname) in ddebug_parse_query() argument
423 if (!query->module && modname) in ddebug_parse_query()
428 query->module = modname; in ddebug_parse_query()
489 static int ddebug_exec_query(char *query_string, const char *modname) in ddebug_exec_query() argument
507 if (ddebug_parse_query(words, nwords-1, &query, modname)) { in ddebug_exec_query()
522 static int ddebug_exec_queries(char *query, const char *modname) in ddebug_exec_queries() argument
538 rc = ddebug_exec_query(query, modname); in ddebug_exec_queries()
581 desc->modname); in dynamic_emit_prefix()
949 const char *modname, int on_err) in ddebug_dyndbg_param_cb() argument
957 modname = param; in ddebug_dyndbg_param_cb()
[all …]
/kernel/linux/linux-5.10/scripts/mod/
Dmodpost.c152 static struct module *find_module(const char *modname) in find_module() argument
157 if (strcmp(mod->name, modname) == 0) in find_module()
162 static struct module *new_module(const char *modname) in new_module() argument
166 mod = NOFAIL(malloc(sizeof(*mod) + strlen(modname) + 1)); in new_module()
170 strcpy(mod->name, modname); in new_module()
171 mod->is_vmlinux = (strcmp(modname, "vmlinux") == 0); in new_module()
901 static void check_section(const char *modname, struct elf_info *elf, in check_section() argument
913 modname, sec); in check_section()
1030 void (*handler)(const char *modname, struct elf_info *elf,
1036 static void extable_mismatch_handler(const char *modname, struct elf_info *elf,
[all …]
Dsumversion.c388 void get_src_version(const char *modname, char sum[], unsigned sumlen) in get_src_version() argument
396 if (strends(modname, ".lto.o")) in get_src_version()
401 (int)strlen(modname) - postfix_len, modname); in get_src_version()
408 warn("bad ending versions file for %s\n", modname); in get_src_version()
Dmodpost.h199 void get_src_version(const char *modname, char sum[], unsigned sumlen);
Dfile2alias.c125 static void device_id_check(const char *modname, const char *device_id, in device_id_check() argument
137 modname, device_id, id_size, device_id, size, device_id); in device_id_check()
144 modname, device_id, id_size, size / id_size); in device_id_check()
150 "with a NULL entry!\n", modname, device_id); in device_id_check()
/kernel/linux/linux-5.10/drivers/mfd/
Dtwl4030-irq.c80 #define SIH_INITIALIZER(modname, nbits) \ argument
81 .module = TWL4030_MODULE_ ## modname, \
82 .control_offset = TWL4030_ ## modname ## _SIH_CTRL, \
85 .edr_offset = TWL4030_ ## modname ## _EDR, \
89 .isr_offset = TWL4030_ ## modname ## _ISR1, \
90 .imr_offset = TWL4030_ ## modname ## _IMR1, \
93 .isr_offset = TWL4030_ ## modname ## _ISR2, \
94 .imr_offset = TWL4030_ ## modname ## _IMR2, \
/kernel/linux/linux-5.10/arch/hexagon/kernel/
Dtraps.c90 char *modname; in do_show_stack() local
125 name = kallsyms_lookup(ip, &size, &offset, &modname, tmpstr); in do_show_stack()
130 if (modname) in do_show_stack()
131 printk(KERN_CONT " [%s] ", modname); in do_show_stack()
/kernel/linux/linux-5.10/scripts/
DMakefile.lib106 modname-multi = $(sort $(foreach m,$(multi-used),\
109 __modname = $(if $(modname-multi),$(modname-multi),$(basetarget))
111 modname = $(subst $(space),:,$(__modname))
123 modname_flags = -DKBUILD_MODNAME=$(call name-fix,$(modname)) \
124 -D__KBUILD_MODNAME=kmod_$(call name-fix-token,$(modname))
DMakefile.modfinal21 modname = $(notdir $(@:.mod.o=))
/kernel/linux/linux-5.10/Documentation/sphinx/
Dautomarkup.py140 reftarget = target, modname = None,
191 reftarget = target, modname = None,
223 reftarget = target, modname = None,
/kernel/linux/linux-5.10/tools/include/linux/
Dkallsyms.h16 char **modname, char *namebuf) in kallsyms_lookup() argument
/kernel/linux/linux-5.10/Documentation/target/
Dtcm_mod_builder.py599 def main(modname, proto_ident): argument
607 fabric_mod_name = modname
656 main(str(opts.modname), opts.protoident)
/kernel/linux/linux-5.10/drivers/cdrom/
Dgdrom.c114 char modname[16]; member
663 model_name = kstrndup(id->modname, 16, GFP_KERNEL); in gdrom_outputversion()
/kernel/linux/linux-5.10/kernel/trace/
Dftrace.c3982 char *modname; in ftrace_match_record() local
3984 kallsyms_lookup(rec->ip, NULL, NULL, &modname, str); in ftrace_match_record()
3987 int mod_matches = (modname) ? ftrace_match(modname, mod_g) : 0; in ftrace_match_record()
3992 if (!exclude_mod != !modname) in ftrace_match_record()
4131 char modname[MAX_PARAM_PREFIX_LEN + sizeof(this_mod) + 2]; in module_exists() local
4135 n = snprintf(modname, sizeof(modname), "%s:%s", module, this_mod); in module_exists()
4137 if (n > sizeof(modname) - 1) in module_exists()
4140 val = module_kallsyms_lookup_name(modname); in module_exists()
6587 char *modname; in save_ftrace_mod_rec() local
6590 ret = kallsyms_lookup(rec->ip, &symsize, &offset, &modname, str); in save_ftrace_mod_rec()
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Dunwind-libdw.c24 const char *modname __maybe_unused, Dwarf_Addr base __maybe_unused, in __find_debuginfo()
/kernel/linux/linux-5.10/arch/powerpc/xmon/
Dxmon.c3653 char *modname; in xmon_print_symbol() local
3661 name = kallsyms_lookup(address, &size, &offset, &modname, in xmon_print_symbol()
3672 if (modname) in xmon_print_symbol()
3673 printf(" [%s]", modname); in xmon_print_symbol()