Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/kernel/
H A Dkallsyms.c320 * - modname is set to NULL if it's in the kernel.
323 * - We also guarantee that modname will be valid until rescheduled.
328 char **modname, char *namebuf) in kallsyms_lookup()
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()
406 modname[ in lookup_symbol_attrs()
325 kallsyms_lookup(unsigned long addr, unsigned long *symbolsize, unsigned long *offset, char **modname, char *namebuf) kallsyms_lookup() argument
391 lookup_symbol_attrs(unsigned long addr, unsigned long *size, unsigned long *offset, char *modname, char *name) lookup_symbol_attrs() argument
423 char *modname; __sprint_symbol() local
[all...]
/kernel/linux/linux-5.10/include/linux/
H A 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()
194 const char *modname) in ddebug_dyndbg_module_param_cb()
182 ddebug_add_module(struct _ddebug *tab, unsigned int n, const char *modname) ddebug_add_module() argument
193 ddebug_dyndbg_module_param_cb(char *param, char *val, const char *modname) ddebug_dyndbg_module_param_cb() argument
H A Dkallsyms.h87 /* Lookup an address. modname is set to NULL if it's in the kernel. */
91 char **modname, char *namebuf);
99 int lookup_symbol_attrs(unsigned long addr, unsigned long *size, unsigned long *offset, char *modname, char *name);
129 char **modname, char *namebuf) in kallsyms_lookup()
157 static inline int lookup_symbol_attrs(unsigned long addr, unsigned long *size, unsigned long *offset, char *modname, char *name) in lookup_symbol_attrs() argument
126 kallsyms_lookup(unsigned long addr, unsigned long *symbolsize, unsigned long *offset, char **modname, char *namebuf) kallsyms_lookup() argument
H A Dmodule.h672 char **modname,
675 int lookup_module_symbol_attrs(unsigned long addr, unsigned long *size, unsigned long *offset, char *modname, char *name);
775 char **modname, in module_address_lookup()
786 static inline int lookup_module_symbol_attrs(unsigned long addr, unsigned long *size, unsigned long *offset, char *modname, char *name) in lookup_module_symbol_attrs() argument
772 module_address_lookup(unsigned long addr, unsigned long *symbolsize, unsigned long *offset, char **modname, char *namebuf) module_address_lookup() argument
/kernel/linux/linux-5.10/scripts/mod/
H A 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, struc
1444 report_sec_mismatch(const char *modname, const struct sectioncheck *mismatch, const char *fromsec, unsigned long long fromaddr, const char *fromsym, int from_is_func, const char *tosec, const char *tosym, int to_is_func) report_sec_mismatch() argument
1584 default_mismatch_handler(const char *modname, struct elf_info *elf, const struct sectioncheck* const mismatch, Elf_Rela *r, Elf_Sym *sym, const char *fromsec) default_mismatch_handler() argument
1659 report_extable_warnings(const char* modname, struct elf_info* elf, const struct sectioncheck* const mismatch, Elf_Rela* r, Elf_Sym* sym, const char* fromsec, const char* tosec) report_extable_warnings() argument
1697 extable_mismatch_handler(const char* modname, struct elf_info *elf, const struct sectioncheck* const mismatch, Elf_Rela* r, Elf_Sym* sym, const char *fromsec) extable_mismatch_handler() argument
1733 check_section_mismatch(const char *modname, struct elf_info *elf, Elf_Rela *r, Elf_Sym *sym, const char *fromsec) check_section_mismatch() argument
1863 section_rela(const char *modname, struct elf_info *elf, Elf_Shdr *sechdr) section_rela() argument
1916 section_rel(const char *modname, struct elf_info *elf, Elf_Shdr *sechdr) section_rel() argument
1988 check_sec_ref(struct module *mod, const char *modname, struct elf_info *elf) check_sec_ref() argument
2021 read_symbols(const char *modname) read_symbols() argument
2479 char *symname, *namespace, *modname, *d, *export; read_dump() local
[all...]
H A Dsumversion.c393 void get_src_version(const char *modname, char sum[], unsigned sumlen) in get_src_version() argument
401 if (strends(modname, ".lto.o")) in get_src_version()
406 (int)strlen(modname) - postfix_len, modname); in get_src_version()
413 warn("bad ending versions file for %s\n", modname); in get_src_version()
/kernel/linux/linux-6.6/drivers/base/
H A Dauxiliary.c297 * @modname: name of the parent device's driver module
309 * that the caller's KBUILD_MODNAME is automatically inserted for the modname
313 int __auxiliary_device_add(struct auxiliary_device *auxdev, const char *modname) in __auxiliary_device_add() argument
318 if (!modname) { in __auxiliary_device_add()
319 dev_err(dev, "auxiliary device modname is NULL\n"); in __auxiliary_device_add()
323 ret = dev_set_name(dev, "%s.%s.%d", modname, auxdev->name, auxdev->id); in __auxiliary_device_add()
370 * @modname: KBUILD_MODNAME for parent driver
374 * modname parameter. Only if a user requires a custom name would this version
378 struct module *owner, const char *modname) in __auxiliary_driver_register()
386 auxdrv->driver.name = kasprintf(GFP_KERNEL, "%s.%s", modname, in __auxiliary_driver_register()
377 __auxiliary_driver_register(struct auxiliary_driver *auxdrv, struct module *owner, const char *modname) __auxiliary_driver_register() argument
[all...]
/kernel/linux/linux-5.10/lib/
H A Ddynamic_debug.c375 struct ddebug_query *query, const char *modname) in ddebug_parse_query()
427 if (!query->module && modname) in ddebug_parse_query()
429 * support $modname.dyndbg=<multiple queries>, when in ddebug_parse_query()
432 query->module = modname; in ddebug_parse_query()
493 static int ddebug_exec_query(char *query_string, const char *modname) in ddebug_exec_query() argument
511 if (ddebug_parse_query(words, nwords-1, &query, modname)) { in ddebug_exec_query()
526 static int ddebug_exec_queries(char *query, const char *modname) in ddebug_exec_queries() argument
542 rc = ddebug_exec_query(query, modname); in ddebug_exec_queries()
585 desc->modname); in dynamic_emit_prefix()
953 const char *modname, in in ddebug_dyndbg_param_cb()
374 ddebug_parse_query(char *words[], int nwords, struct ddebug_query *query, const char *modname) ddebug_parse_query() argument
952 ddebug_dyndbg_param_cb(char *param, char *val, const char *modname, int on_err) ddebug_dyndbg_param_cb() argument
1060 const char *modname = NULL; dynamic_debug_init() local
[all...]
/kernel/linux/linux-6.6/lib/
H A Ddynamic_debug.c413 struct ddebug_query *query, const char *modname) in ddebug_parse_query()
467 if (!query->module && modname) in ddebug_parse_query()
469 * support $modname.dyndbg=<multiple queries>, when 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()
412 ddebug_parse_query(char *words[], int nwords, struct ddebug_query *query, const char *modname) ddebug_parse_query() argument
1230 ddebug_add_module(struct _ddebug_info *di, const char *modname) ddebug_add_module() argument
1270 ddebug_dyndbg_param_cb(char *param, char *val, const char *modname, int on_err) ddebug_dyndbg_param_cb() argument
1408 const char *modname; dynamic_debug_init() local
[all...]
/kernel/linux/linux-6.6/kernel/
H A Dkallsyms.c399 unsigned long *offset, char **modname, in kallsyms_lookup_buildid()
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()
441 * - modname is set to NULL if it's in the kernel.
444 * - We also guarantee that modname will be valid until rescheduled.
449 char **modname, char *namebuf) in kallsyms_lookup()
451 return kallsyms_lookup_buildid(addr, symbolsize, offset, modname, in kallsyms_lookup()
397 kallsyms_lookup_buildid(unsigned long addr, unsigned long *symbolsize, unsigned long *offset, char **modname, const unsigned char **modbuildid, char *namebuf) kallsyms_lookup_buildid() argument
446 kallsyms_lookup(unsigned long addr, unsigned long *symbolsize, unsigned long *offset, char **modname, char *namebuf) kallsyms_lookup() argument
485 char *modname; __sprint_symbol() local
[all...]
/kernel/linux/linux-5.10/drivers/mfd/
H A Dtwl4030-irq.c80 #define SIH_INITIALIZER(modname, nbits) \
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-6.6/drivers/mfd/
H A Dtwl4030-irq.c81 #define SIH_INITIALIZER(modname, nbits) \
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, \
/kernel/linux/linux-6.6/include/linux/
H A 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()
331 ddebug_dyndbg_module_param_cb(char *param, char *val, const char *modname) ddebug_dyndbg_module_param_cb() argument
H A Dauxiliary_bus.h212 int __auxiliary_device_add(struct auxiliary_device *auxdev, const char *modname);
226 const char *modname);
H A 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()
956 module_address_lookup(unsigned long addr, unsigned long *symbolsize, unsigned long *offset, char **modname, const unsigned char **modbuildid, char *namebuf) module_address_lookup() argument
H A Dkallsyms.h85 /* Lookup an address. modname is set to NULL if it's in the kernel. */
89 char **modname, char *namebuf);
117 char **modname, char *namebuf) in kallsyms_lookup()
114 kallsyms_lookup(unsigned long addr, unsigned long *symbolsize, unsigned long *offset, char **modname, char *namebuf) kallsyms_lookup() argument
/kernel/linux/linux-6.6/kernel/module/
H A Dkallsyms.c327 char **modname, in module_address_lookup()
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()
324 module_address_lookup(unsigned long addr, unsigned long *size, unsigned long *offset, char **modname, const unsigned char **modbuildid, char *namebuf) module_address_lookup() argument
/kernel/linux/linux-6.6/scripts/mod/
H A 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, " in read_symbols()
2173 char *symname, *namespace, *modname, *d, *export; read_dump() local
[all...]
/kernel/linux/linux-5.10/arch/hexagon/kernel/
H A 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-6.6/arch/hexagon/kernel/
H A 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()
/kernel/linux/linux-5.10/Documentation/sphinx/
H A Dautomarkup.py140 reftarget = target, modname = None,
191 reftarget = target, modname = None,
223 reftarget = target, modname = None,
/kernel/linux/linux-6.6/Documentation/sphinx/
H A Dautomarkup.py159 modname = None,
218 reftarget = target, modname = None,
251 reftarget = target, modname = None,
/kernel/linux/linux-5.10/tools/include/linux/
H A Dkallsyms.h16 char **modname, char *namebuf) in kallsyms_lookup()
13 kallsyms_lookup(unsigned long addr, unsigned long *symbolsize, unsigned long *offset, char **modname, char *namebuf) kallsyms_lookup() argument
/kernel/linux/linux-6.6/tools/include/linux/
H A Dkallsyms.h16 char **modname, char *namebuf) in kallsyms_lookup()
13 kallsyms_lookup(unsigned long addr, unsigned long *symbolsize, unsigned long *offset, char **modname, char *namebuf) kallsyms_lookup() argument
/kernel/linux/linux-6.6/net/netfilter/
H A 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()

Completed in 27 milliseconds

123