Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/base/
Dauxiliary.c313 int __auxiliary_device_add(struct auxiliary_device *auxdev, const char *modname) in __auxiliary_device_add() argument
318 if (!modname) { in __auxiliary_device_add()
323 ret = dev_set_name(dev, "%s.%s.%d", modname, auxdev->name, auxdev->id); in __auxiliary_device_add()
378 struct module *owner, const char *modname) in __auxiliary_driver_register() argument
386 auxdrv->driver.name = kasprintf(GFP_KERNEL, "%s.%s", modname, in __auxiliary_driver_register()
389 auxdrv->driver.name = kasprintf(GFP_KERNEL, "%s", modname); in __auxiliary_driver_register()
395 auxdrv->driver.mod_name = modname; in __auxiliary_driver_register()
/linux-6.6.21/lib/
Ddynamic_debug.c413 struct ddebug_query *query, const char *modname) in ddebug_parse_query() argument
467 if (!query->module && modname) in ddebug_parse_query()
472 query->module = modname; in ddebug_parse_query()
533 static int ddebug_exec_query(char *query_string, const char *modname) in ddebug_exec_query() argument
551 if (ddebug_parse_query(words, nwords-1, &query, modname)) { in ddebug_exec_query()
566 static int ddebug_exec_queries(char *query, const char *modname) in ddebug_exec_queries() argument
580 vpr_info("query %d: \"%s\" mod:%s\n", i, query, modname ?: "*"); in ddebug_exec_queries()
582 rc = ddebug_exec_query(query, modname); in ddebug_exec_queries()
836 desc->modname); in __dynamic_emit_prefix()
1230 static int ddebug_add_module(struct _ddebug_info *di, const char *modname) in ddebug_add_module() argument
[all …]
/linux-6.6.21/kernel/
Dkallsyms.c399 unsigned long *offset, char **modname, in kallsyms_lookup_buildid() argument
414 if (modname) in kallsyms_lookup_buildid()
415 *modname = NULL; in kallsyms_lookup_buildid()
425 modname, modbuildid, namebuf); in kallsyms_lookup_buildid()
428 offset, modname, namebuf); in kallsyms_lookup_buildid()
432 offset, modname, namebuf); in kallsyms_lookup_buildid()
449 char **modname, char *namebuf) in kallsyms_lookup() argument
451 return kallsyms_lookup_buildid(addr, symbolsize, offset, modname, in kallsyms_lookup()
485 char *modname; in __sprint_symbol() local
492 name = kallsyms_lookup_buildid(address, &size, &offset, &modname, &buildid, in __sprint_symbol()
[all …]
Dparams.c835 char modname[MODULE_NAME_LEN]; in param_sysfs_builtin() local
846 strcpy(modname, "kernel"); in param_sysfs_builtin()
850 strscpy(modname, kp->name, name_len); in param_sysfs_builtin()
852 kernel_add_sysfs_param(modname, kp, name_len); in param_sysfs_builtin()
Dkprobes.c2766 const char *sym, int offset, char *modname, struct kprobe *pp) in report_probe() argument
2782 (modname ? modname : " ")); in report_probe()
2821 char *modname, namebuf[KSYM_NAME_LEN]; in show_kprobe_addr() local
2827 &offset, &modname, namebuf); in show_kprobe_addr()
2830 report_probe(pi, kp, sym, offset, modname, p); in show_kprobe_addr()
2832 report_probe(pi, p, sym, offset, modname, NULL); in show_kprobe_addr()
/linux-6.6.21/drivers/mfd/
Dtwl4030-irq.c81 #define SIH_INITIALIZER(modname, nbits) \ argument
82 .module = TWL4030_MODULE_ ## modname, \
83 .control_offset = TWL4030_ ## modname ## _SIH_CTRL, \
86 .edr_offset = TWL4030_ ## modname ## _EDR, \
90 .isr_offset = TWL4030_ ## modname ## _ISR1, \
91 .imr_offset = TWL4030_ ## modname ## _IMR1, \
94 .isr_offset = TWL4030_ ## modname ## _ISR2, \
95 .imr_offset = TWL4030_ ## modname ## _IMR2, \
/linux-6.6.21/scripts/mod/
Dmodpost.c172 static struct module *find_module(const char *modname) in find_module() argument
177 if (strcmp(mod->name, modname) == 0) in find_module()
774 static void check_section(const char *modname, struct elf_info *elf, in check_section() argument
786 modname, sec); in check_section()
1133 static void default_mismatch_handler(const char *modname, struct elf_info *elf, in default_mismatch_handler() argument
1156 modname, fromsym, (unsigned int)(faddr - from->st_value), fromsec, tosym, tosec); in default_mismatch_handler()
1165 fromsec, (long)faddr, tosec, modname); in default_mismatch_handler()
1701 static void read_symbols(const char *modname) in read_symbols() argument
1711 if (!parse_elf(&info, modname)) in read_symbols()
1714 if (!strends(modname, ".o")) { in read_symbols()
[all …]
Dmodpost.h163 void get_src_version(const char *modname, char sum[], unsigned sumlen);
Dsumversion.c391 void get_src_version(const char *modname, char sum[], unsigned sumlen) in get_src_version() argument
399 snprintf(filelist, sizeof(filelist), "%s.mod", modname); in get_src_version()
/linux-6.6.21/kernel/module/
Dkallsyms.c327 char **modname, in module_address_lookup() argument
337 if (modname) in module_address_lookup()
338 *modname = mod->name; in module_address_lookup()
476 int module_kallsyms_on_each_symbol(const char *modname, in module_kallsyms_on_each_symbol() argument
491 if (modname && strcmp(modname, mod->name)) in module_kallsyms_on_each_symbol()
515 if (modname) in module_kallsyms_on_each_symbol()
/linux-6.6.21/include/linux/
Ddynamic_debug.h21 const char *modname; member
166 .modname = KBUILD_MODNAME, \
324 const char *modname);
332 const char *modname) in ddebug_dyndbg_module_param_cb() argument
Dauxiliary_bus.h212 int __auxiliary_device_add(struct auxiliary_device *auxdev, const char *modname);
226 const char *modname);
Dkallsyms.h89 char **modname, char *namebuf);
117 char **modname, char *namebuf) in kallsyms_lookup() argument
Dmodule.h915 int module_kallsyms_on_each_symbol(const char *modname,
926 char **modname, const unsigned char **modbuildid,
932 char *modname,
948 static inline int module_kallsyms_on_each_symbol(const char *modname, in module_kallsyms_on_each_symbol() argument
959 char **modname, in module_address_lookup() argument
Dftrace.h92 unsigned long *off, char **modname, char *sym);
96 unsigned long *off, char **modname, char *sym) in ftrace_mod_address_lookup() argument
/linux-6.6.21/arch/hexagon/kernel/
Dtraps.c86 char *modname; in do_show_stack() local
121 name = kallsyms_lookup(ip, &size, &offset, &modname, tmpstr); in do_show_stack()
126 if (modname) in do_show_stack()
127 printk(KERN_CONT " [%s] ", modname); in do_show_stack()
/linux-6.6.21/Documentation/sphinx/
Dautomarkup.py159 modname = None,
218 reftarget = target, modname = None,
251 reftarget = target, modname = None,
/linux-6.6.21/tools/include/linux/
Dkallsyms.h16 char **modname, char *namebuf) in kallsyms_lookup() argument
/linux-6.6.21/scripts/
DMakefile.lib109 modname-multi = $(sort $(foreach m,$(multi-obj-ym),\
112 __modname = $(or $(modname-multi),$(basetarget))
114 modname = $(subst $(space),:,$(__modname))
126 modname_flags = -DKBUILD_MODNAME=$(call name-fix,$(modname)) \
127 -D__KBUILD_MODNAME=kmod_$(call name-fix-token,$(modname))
DMakefile.modfinal22 modname = $(notdir $(@:.mod.o=))
DMakefile.build221 …shared_object = $(if $(word 2, $(modname-multi)),$(warning $(kbuild-file): $*.o is added to multip…
/linux-6.6.21/net/netfilter/
Dnft_compat.c270 const char *modname = NULL; in nft_target_init() local
273 modname = "nf_log_syslog"; in nft_target_init()
275 modname = "nfnetlink_log"; in nft_target_init()
277 if (modname && in nft_target_init()
278 nft_request_module(ctx->net, "%s", modname) == -EAGAIN) in nft_target_init()
/linux-6.6.21/kernel/trace/
Dftrace.c3783 char *modname; in print_rec() local
3786 ret = kallsyms_lookup(ip, NULL, &offset, &modname, str); in print_rec()
3795 if (modname) in print_rec()
3796 seq_printf(m, " [%s]", modname); in print_rec()
4224 static int lookup_ip(unsigned long ip, char **modname, char *str) in lookup_ip() argument
4228 kallsyms_lookup(ip, NULL, &offset, modname, str); in lookup_ip()
4234 static int lookup_ip(unsigned long ip, char **modname, char *str) in lookup_ip() argument
4236 kallsyms_lookup(ip, NULL, NULL, modname, str); in lookup_ip()
4246 char *modname; in ftrace_match_record() local
4248 if (lookup_ip(rec->ip, &modname, str)) { in ftrace_match_record()
[all …]
/linux-6.6.21/drivers/cxl/core/
Dport.c1910 const char *modname) in __cxl_driver_register() argument
1913 pr_debug("%s ->probe() must be specified\n", modname); in __cxl_driver_register()
1918 pr_debug("%s ->name must be specified\n", modname); in __cxl_driver_register()
1923 pr_debug("%s ->id must be specified\n", modname); in __cxl_driver_register()
1929 cxl_drv->drv.mod_name = modname; in __cxl_driver_register()
/linux-6.6.21/drivers/cdrom/
Dgdrom.c113 char modname[16]; member
663 model_name = kstrndup(id->modname, 16, GFP_KERNEL); in gdrom_outputversion()

12