Home
last modified time | relevance | path

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

123

/kernel/module/
A Dinternal.h67 struct module *mod;
109 struct module *owner;
119 struct module *source, *target;
148 void free_module_elf(struct module *mod);
308 void mod_tree_insert(struct module *mod);
310 void mod_tree_remove(struct module *mod);
319 struct module *mod; in mod_find()
337 const struct module *mod);
376 void init_param_lock(struct module *mod);
409 struct module *mod, in check_version()
[all …]
A Dmain.c397 struct module *mod; in find_symbol()
641 static int already_uses(struct module *a, struct module *b) in already_uses()
660 static int add_module_usage(struct module *a, struct module *b) in add_module_usage()
677 static int ref_module(struct module *a, struct module *b) in ref_module()
898 void __module_get(struct module *module) in __module_get() argument
900 if (module) { in __module_get()
907 bool try_module_get(struct module *module) in try_module_get() argument
911 if (module) { in try_module_get()
923 void module_put(struct module *module) in module_put() argument
927 if (module) { in module_put()
[all …]
A DKconfig3 bool "Enable loadable module support"
47 existing module taking too long to load or that module was already
59 module .text ELF section optimization.
74 memory for each duplicate module requests. Although duplicate module
80 module requests to help identify if module auto-loading may be the
97 tracking for duplicates for that module.
125 bool "Forced module loading"
141 bool "Forced module unloading"
151 bool "Tainted module unload tracking"
300 the signature on that module.
[all …]
A Dsysfs.c122 static void remove_sect_attrs(struct module *mod) in remove_sect_attrs()
211 static void remove_notes_attrs(struct module *mod) in remove_notes_attrs()
238 static void del_usage_links(struct module *mod) in del_usage_links()
250 static int add_usage_links(struct module *mod) in add_usage_links()
288 static int module_add_modinfo_attrs(struct module *mod) in module_add_modinfo_attrs()
324 static void mod_kobject_put(struct module *mod) in mod_kobject_put()
333 static int mod_sysfs_init(struct module *mod) in mod_sysfs_init()
365 int mod_sysfs_setup(struct module *mod, in mod_sysfs_setup()
420 static void mod_sysfs_fini(struct module *mod) in mod_sysfs_fini()
427 void mod_sysfs_teardown(struct module *mod) in mod_sysfs_teardown()
[all …]
A Dstrict_rwx.c15 static int module_set_memory(const struct module *mod, enum mod_mem_type type, in module_set_memory()
33 int module_enable_text_rox(const struct module *mod) in module_enable_text_rox()
51 int module_enable_rodata_ro(const struct module *mod) in module_enable_rodata_ro()
68 int module_enable_rodata_ro_after_init(const struct module *mod) in module_enable_rodata_ro_after_init()
76 int module_enable_data_nx(const struct module *mod) in module_enable_data_nx()
92 const struct module *mod) in module_enforce_rwx_sections()
A Dkallsyms.c25 const struct module *mod) in is_exported()
113 void layout_symtab(struct module *mod, struct load_info *info) in layout_symtab()
170 void add_kallsyms(struct module *mod, const struct load_info *info) in add_kallsyms()
225 void init_build_id(struct module *mod, const struct load_info *info) in init_build_id()
239 void init_build_id(struct module *mod, const struct load_info *info) in init_build_id()
253 static const char *find_kallsyms_symbol(struct module *mod, in find_kallsyms_symbol()
330 struct module *mod; in module_address_lookup()
355 struct module *mod; in lookup_module_symbol_name()
379 struct module *mod; in module_get_kallsym()
421 struct module *mod; in __module_kallsyms_lookup_name()
[all …]
A Dprocfs.c16 static inline void print_unload_info(struct seq_file *m, struct module *mod) in print_unload_info()
41 static inline void print_unload_info(struct seq_file *m, struct module *mod) in print_unload_info()
65 static unsigned int module_total_size(struct module *mod) in module_total_size()
76 struct module *mod = list_entry(p, struct module, list); in m_show()
A Dtree_lookup.c78 void mod_tree_insert(struct module *mod) in mod_tree_insert()
87 void mod_tree_remove_init(struct module *mod) in mod_tree_remove_init()
95 void mod_tree_remove(struct module *mod) in mod_tree_remove()
103 struct module *mod_find(unsigned long addr, struct mod_tree_root *tree) in mod_find()
A Dversion.c15 struct module *mod, in check_version()
76 struct module *mod) in check_modstruct_version()
139 void module_layout(struct module *mod, in module_layout()
A Dlivepatch.c18 int copy_module_elf(struct module *mod, struct load_info *info) in copy_module_elf()
69 void free_module_elf(struct module *mod) in free_module_elf()
/kernel/printk/
A Dindex.c20 static struct pi_entry *pi_get_entry(const struct module *mod, loff_t pos) in pi_get_entry()
45 const struct module *mod = s->file->f_inode->i_private; in pi_next()
128 static const char *pi_get_module_name(struct module *mod) in pi_get_module_name()
133 static const char *pi_get_module_name(struct module *mod) in pi_get_module_name()
139 static void pi_create_file(struct module *mod) in pi_create_file()
146 static void pi_remove_file(struct module *mod) in pi_remove_file()
154 struct module *mod = data; in pi_module_notify()
/kernel/bpf/preload/
A DKconfig10 This builds kernel module with several embedded BPF programs that are
16 tristate "bpf_preload kernel module"
19 This builds bpf_preload kernel module with embedded BPF programs for
/kernel/
A Dstatic_call_inline.c164 struct module *mod = site_mod->mod; in __static_call_update()
220 static int __static_call_init(struct module *mod, in __static_call_init()
325 struct module *mod; in __static_call_mod_text_reserved()
363 static int static_call_add_module(struct module *mod) in static_call_add_module()
402 static void static_call_del_module(struct module *mod) in static_call_del_module()
445 struct module *mod = data; in static_call_module_notify()
A Dtracepoint.c524 bool trace_module_has_bad_taint(struct module *mod) in trace_module_has_bad_taint()
593 static int tracepoint_module_coming(struct module *mod) in tracepoint_module_coming()
621 static void tracepoint_module_going(struct module *mod) in tracepoint_module_going()
657 struct module *mod = data; in tracepoint_module_notify()
698 void for_each_tracepoint_in_module(struct module *mod, in for_each_tracepoint_in_module()
700 struct module *mod, void *priv), in for_each_tracepoint_in_module()
723 struct module *mod, void *priv), in for_each_module_tracepoint()
A Djump_label.c625 struct module *mod;
653 struct module *mod; in __jump_label_mod_text_reserved()
680 struct module *m; in __jump_label_mod_update()
699 static int jump_label_add_module(struct module *mod) in jump_label_add_module()
771 static void jump_label_del_module(struct module *mod) in jump_label_del_module()
829 struct module *mod = data; in jump_label_module_notify()
901 struct module *mod; in jump_label_update()
A Dcfi.c66 struct module *mod) in module_cfi_finalize()
88 struct module *mod; in is_module_cfi_trap()
A Dparams.c30 static inline void check_kparam_locked(struct module *mod) in check_kparam_locked()
35 static inline void check_kparam_locked(struct module *mod) in check_kparam_locked()
416 static int param_array(struct module *mod, in param_array()
605 void kernel_param_lock(struct module *mod) in kernel_param_lock()
610 void kernel_param_unlock(struct module *mod) in kernel_param_unlock()
706 int module_param_sysfs_setup(struct module *mod, in module_param_sysfs_setup()
741 void module_param_sysfs_remove(struct module *mod) in module_param_sysfs_remove()
/kernel/rcu/
A DKconfig.debug32 This option provides a kernel module that runs performance
33 tests on the RCU infrastructure. The kernel module may be built
38 Say M if you want the RCU performance tests to build as a module.
47 This option provides a kernel module that runs torture tests
48 on the RCU infrastructure. The kernel module may be built
53 Say M if you want the RCU torture tests to build as a module.
107 This option provides a kernel module that runs performance tests
109 The kernel module may be built after the fact on the running kernel to be
113 Say M if you want to build it as a module instead.
/kernel/trace/
A Dtrace_events.c47 struct module *module; member
896 char *module; member
905 kfree(event_mod->module); in free_event_mod()
968 if (!event_mod->module) in cache_mod()
1318 if (!module) in __ftrace_set_clr_event_nolock()
1331 if (module && (!call->module || strcmp(module_name(call->module), module))) in __ftrace_set_clr_event_nolock()
3146 call->module = mod; in __register_event()
3249 static void add_str_to_module(struct module *module, char *str) in add_str_to_module() argument
3264 modstr->module = module; in add_str_to_module()
3389 if (call->module) in update_event_fields()
[all …]
A Dfprobe.c451 static void fprobe_remove_node_in_module(struct module *mod, struct hlist_head *head, in fprobe_remove_node_in_module()
477 struct module *mod = data; in fprobe_module_callback()
548 struct module **mods;
563 struct module *mod = __module_text_address(addr); in filter_match_callback()
585 unsigned long *addrs, struct module **mods, in get_ips_from_filter()
670 struct module **mods __free(kfree) = NULL; in register_fprobe()
A Dtrace_fprobe.c124 struct module **tp_mod);
131 static struct tracepoint_user *tracepoint_user_find_get(const char *name, struct module **pmod) in tracepoint_user_find_get()
133 struct module *mod __free(module_put) = NULL; in tracepoint_user_find_get()
767 struct module *mod __free(module_put) = NULL; in __regsiter_tracepoint_fprobe()
983 struct module *mod;
986 static void __find_tracepoint_module_cb(struct tracepoint *tp, struct module *mod, void *priv) in __find_tracepoint_module_cb()
1017 struct module **tp_mod) in find_tracepoint()
1039 static struct tracepoint *find_tracepoint_in_module(struct module *mod, in find_tracepoint_in_module()
1053 struct module *mod) in tracepoint_user_within_module()
1111 struct module *mod = data; in __tprobe_event_module_cb()
[all …]
A Dbpf_trace.c49 struct module *module; member
67 if (try_module_get(btm->module)) in bpf_get_raw_tracepoint_module()
2233 struct module *mod; in bpf_put_raw_tracepoint()
2401 void *module) in bpf_event_notify() argument
2404 struct module *mod = module; in bpf_event_notify()
2417 btm->module = module; in bpf_event_notify()
2425 if (btm->module == module) { in bpf_event_notify()
2467 struct module **mods;
2808 struct module **mods;
2815 struct module **mods; in add_module()
[all …]
/kernel/livepatch/
A DKconfig18 module uses the interface provided by this option to register
20 to new function code contained in the patch module.
A Dcore.c57 struct module *mod; in klp_find_object_module()
265 struct module *me) in clear_relocate_add()
292 static int klp_write_section_relocs(struct module *pmod, Elf_Shdr *sechdrs, in klp_write_section_relocs()
330 int klp_apply_section_relocs(struct module *pmod, Elf_Shdr *sechdrs, in klp_apply_section_relocs()
1224 static void klp_cleanup_module_patches_limited(struct module *mod, in klp_cleanup_module_patches_limited()
1253 int klp_module_coming(struct module *mod) in klp_module_coming()
1334 void klp_module_going(struct module *mod) in klp_module_going()
/kernel/irq/
A Dirqdesc.c116 const struct cpumask *affinity, struct module *owner) in desc_set_defaults()
213 struct module *owner) in init_desc()
434 struct module *owner) in alloc_desc()
498 struct module *owner) in alloc_descs()
632 struct module *owner) in alloc_descs()
812 struct module *owner, const struct irq_affinity_desc *affinity) in __irq_alloc_descs()

Completed in 68 milliseconds

123