Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/base/
Dauxiliary.c314 int __auxiliary_device_add(struct auxiliary_device *auxdev, const char *modname) in __auxiliary_device_add() argument
319 if (!modname) { in __auxiliary_device_add()
324 ret = dev_set_name(dev, "%s.%s.%d", modname, auxdev->name, auxdev->id); in __auxiliary_device_add()
379 struct module *owner, const char *modname) in __auxiliary_driver_register() argument
387 auxdrv->driver.name = kasprintf(GFP_KERNEL, "%s.%s", modname, in __auxiliary_driver_register()
390 auxdrv->driver.name = kasprintf(GFP_KERNEL, "%s", modname); in __auxiliary_driver_register()
396 auxdrv->driver.mod_name = modname; in __auxiliary_driver_register()
/linux-6.12.1/lib/
Ddynamic_debug.c417 struct ddebug_query *query, const char *modname) in ddebug_parse_query() argument
471 if (!query->module && modname) in ddebug_parse_query()
476 query->module = modname; in ddebug_parse_query()
537 static int ddebug_exec_query(char *query_string, const char *modname) in ddebug_exec_query() argument
555 if (ddebug_parse_query(words, nwords-1, &query, modname)) { in ddebug_exec_query()
570 static int ddebug_exec_queries(char *query, const char *modname) in ddebug_exec_queries() argument
584 vpr_info("query %d: \"%s\" mod:%s\n", i, query, modname ?: "*"); in ddebug_exec_queries()
586 rc = ddebug_exec_query(query, modname); in ddebug_exec_queries()
839 desc->modname); in __dynamic_emit_prefix()
1233 static int ddebug_add_module(struct _ddebug_info *di, const char *modname) in ddebug_add_module() argument
[all …]
Dcodetag.c112 if (ct->modname) in codetag_to_text()
115 ct->modname, ct->function); in codetag_to_text()
/linux-6.12.1/kernel/
Dkallsyms.c358 unsigned long *offset, char **modname, in kallsyms_lookup_buildid() argument
373 if (modname) in kallsyms_lookup_buildid()
374 *modname = NULL; in kallsyms_lookup_buildid()
383 modname, modbuildid, namebuf); in kallsyms_lookup_buildid()
386 offset, modname, namebuf); in kallsyms_lookup_buildid()
390 offset, modname, namebuf); in kallsyms_lookup_buildid()
405 char **modname, char *namebuf) in kallsyms_lookup() argument
407 int ret = kallsyms_lookup_buildid(addr, symbolsize, offset, modname, in kallsyms_lookup()
438 char *modname; in __sprint_symbol() local
444 len = kallsyms_lookup_buildid(address, &size, &offset, &modname, &buildid, in __sprint_symbol()
[all …]
Dparams.c839 char modname[MODULE_NAME_LEN]; in param_sysfs_builtin() local
850 strcpy(modname, "kernel"); in param_sysfs_builtin()
854 strscpy(modname, kp->name, name_len); in param_sysfs_builtin()
856 kernel_add_sysfs_param(modname, kp, name_len); in param_sysfs_builtin()
/linux-6.12.1/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.12.1/scripts/mod/
Dmodpost.c157 static struct module *find_module(const char *modname) in find_module() argument
162 if (strcmp(mod->name, modname) == 0) in find_module()
753 static void check_section(const char *modname, struct elf_info *elf, in check_section() argument
765 modname, sec); in check_section()
999 static void default_mismatch_handler(const char *modname, struct elf_info *elf, in default_mismatch_handler() argument
1030 modname, fromsym, fromsym[0] ? "+" : "", in default_mismatch_handler()
1041 fromsec, (long)faddr, tosec, modname); in default_mismatch_handler()
1556 static void read_symbols(const char *modname) in read_symbols() argument
1566 if (!parse_elf(&info, modname)) in read_symbols()
1569 if (!strends(modname, ".o")) { in read_symbols()
[all …]
Dmodpost.h176 void get_src_version(const char *modname, char sum[], unsigned sumlen);
Dsumversion.c393 void get_src_version(const char *modname, char sum[], unsigned sumlen) in get_src_version() argument
401 snprintf(filelist, sizeof(filelist), "%s.mod", modname); in get_src_version()
/linux-6.12.1/kernel/module/
Dkallsyms.c327 char **modname, in module_address_lookup() argument
338 if (modname) in module_address_lookup()
339 *modname = mod->name; in module_address_lookup()
475 int module_kallsyms_on_each_symbol(const char *modname, in module_kallsyms_on_each_symbol() argument
490 if (modname && strcmp(modname, mod->name)) in module_kallsyms_on_each_symbol()
514 if (modname) in module_kallsyms_on_each_symbol()
/linux-6.12.1/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
Dcodetag.h24 const char *modname; member
56 .modname = CT_MODULE_NAME, \
Dauxiliary_bus.h221 int __auxiliary_device_add(struct auxiliary_device *auxdev, const char *modname);
251 const char *modname);
Dkallsyms.h89 char **modname, char *namebuf);
117 char **modname, char *namebuf) in kallsyms_lookup() argument
Dmodule.h934 int module_kallsyms_on_each_symbol(const char *modname,
945 char **modname, const unsigned char **modbuildid,
951 char *modname,
967 static inline int module_kallsyms_on_each_symbol(const char *modname, in module_kallsyms_on_each_symbol() argument
978 char **modname, in module_address_lookup() argument
/linux-6.12.1/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.12.1/scripts/
DMakefile.lib94 modname-multi = $(sort $(foreach m,$(multi-obj-ym),\
97 __modname = $(or $(modname-multi),$(basetarget))
99 modname = $(subst $(space),:,$(__modname))
111 modname_flags = -DKBUILD_MODNAME=$(call name-fix,$(modname)) \
112 -D__KBUILD_MODNAME=kmod_$(call name-fix-token,$(modname))
DMakefile.modfinal22 modname = $(notdir $(@:.mod.o=))
/linux-6.12.1/Documentation/sphinx/
Dautomarkup.py162 modname = None,
221 reftarget = target, modname = None,
254 reftarget = target, modname = None,
Dtranslations.py62 reftype='doc', reftarget='/' + target_name, modname=None,
/linux-6.12.1/tools/include/linux/
Dkallsyms.h16 char **modname, char *namebuf) in kallsyms_lookup() argument
/linux-6.12.1/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.12.1/kernel/trace/
Dtrace_kprobe.c681 static int validate_module_probe_symbol(const char *modname, const char *symbol);
777 static int validate_module_probe_symbol(const char *modname, const char *symbol) in validate_module_probe_symbol() argument
779 unsigned int count = number_of_same_symbols(modname, symbol); in validate_module_probe_symbol()
818 char *modname = NULL, *p; in validate_probe_symbol() local
823 modname = symbol; in validate_probe_symbol()
826 mod = try_module_get_by_name(modname); in validate_probe_symbol()
831 ret = validate_module_probe_symbol(modname, symbol); in validate_probe_symbol()
Dftrace.c4281 char *modname; in print_rec() local
4284 ret = kallsyms_lookup(ip, NULL, &offset, &modname, str); in print_rec()
4293 if (modname) in print_rec()
4294 seq_printf(m, " [%s]", modname); in print_rec()
4724 static int lookup_ip(unsigned long ip, char **modname, char *str) in lookup_ip() argument
4728 kallsyms_lookup(ip, NULL, &offset, modname, str); in lookup_ip()
4734 static int lookup_ip(unsigned long ip, char **modname, char *str) in lookup_ip() argument
4736 kallsyms_lookup(ip, NULL, NULL, modname, str); in lookup_ip()
4746 char *modname; in ftrace_match_record() local
4748 if (lookup_ip(rec->ip, &modname, str)) { in ftrace_match_record()
[all …]
/linux-6.12.1/mm/
Dshow_mem.c443 if (ct->modname) in __show_mem()
446 ct->lineno, ct->modname, ct->function); in __show_mem()

12