/kernel/module/ |
D | internal.h | 60 struct module *mod; 93 struct module *owner; 100 int try_to_force_load(struct module *mod, const char *reason); 102 struct module *find_module_all(const char *name, size_t len, bool even_unformed); 104 long module_get_offset(struct module *mod, unsigned int *size, Elf_Shdr *sechdr, 106 char *module_flags(struct module *mod, char *buf, bool show_state); 130 int copy_module_elf(struct module *mod, struct load_info *info); 131 void free_module_elf(struct module *mod); 133 static inline int copy_module_elf(struct module *mod, struct load_info *info) in copy_module_elf() 138 static inline void free_module_elf(struct module *mod) { } in free_module_elf() [all …]
|
D | main.c | 115 static void mod_update_bounds(struct module *mod) in mod_update_bounds() 151 static inline int strong_try_module_get(struct module *mod) in strong_try_module_get() 162 static inline void add_taint_module(struct module *mod, unsigned flag, in add_taint_module() 173 void __noreturn __module_put_and_kthread_exit(struct module *mod, long code) in __module_put_and_kthread_exit() 276 struct module *owner, in find_exported_symbol_in_section() 310 struct module *mod; in find_symbol() 345 struct module *find_module_all(const char *name, size_t len, in find_module_all() 348 struct module *mod; in find_module_all() 362 struct module *find_module(const char *name) in find_module() 369 static inline void __percpu *mod_percpu(struct module *mod) in mod_percpu() [all …]
|
D | sysfs.c | 72 static void add_sect_attrs(struct module *mod, const struct load_info *info) in add_sect_attrs() 125 static void remove_sect_attrs(struct module *mod) in remove_sect_attrs() 172 static void add_notes_attrs(struct module *mod, const struct load_info *info) in add_notes_attrs() 230 static void remove_notes_attrs(struct module *mod) in remove_notes_attrs() 237 static inline void add_sect_attrs(struct module *mod, const struct load_info *info) { } in add_sect_attrs() 238 static inline void remove_sect_attrs(struct module *mod) { } in remove_sect_attrs() 239 static inline void add_notes_attrs(struct module *mod, const struct load_info *info) { } in add_notes_attrs() 240 static inline void remove_notes_attrs(struct module *mod) { } in remove_notes_attrs() 243 static void del_usage_links(struct module *mod) in del_usage_links() 255 static int add_usage_links(struct module *mod) in add_usage_links() [all …]
|
D | Kconfig | 3 bool "Enable loadable module support" 26 bool "Forced module loading" 30 --force). Forced module loading sets the 'F' (forced) taint flag and 42 bool "Forced module unloading" 45 This option allows you to force a module to unload, even if the 46 kernel believes it is unsafe: the kernel will remove the module 52 bool "Tainted module unload tracking" 57 module that tainted the kernel. In addition to displaying a 76 This enables module versioning for exported symbols also from 86 see exactly which source was used to build a module (since [all …]
|
D | kallsyms.c | 24 const struct module *mod) in is_exported() 110 void layout_symtab(struct module *mod, struct load_info *info) in layout_symtab() 166 void add_kallsyms(struct module *mod, const struct load_info *info) in add_kallsyms() 222 void init_build_id(struct module *mod, const struct load_info *info) in init_build_id() 236 void init_build_id(struct module *mod, const struct load_info *info) in init_build_id() 262 static const char *find_kallsyms_symbol(struct module *mod, in find_kallsyms_symbol() 317 void * __weak dereference_module_function_descriptor(struct module *mod, in dereference_module_function_descriptor() 335 struct module *mod; in module_address_lookup() 364 struct module *mod; in lookup_module_symbol_name() 390 struct module *mod; in lookup_module_symbol_attrs() [all …]
|
D | strict_rwx.c | 72 bool module_check_misalignment(const struct module *mod) in module_check_misalignment() 82 void module_enable_x(const struct module *mod) in module_enable_x() 92 void module_enable_ro(const struct module *mod, bool after_init) in module_enable_ro() 113 void module_enable_nx(const struct module *mod) in module_enable_nx() 126 char *secstrings, struct module *mod) in module_enforce_rwx_sections()
|
D | tree_lookup.c | 78 void mod_tree_insert(struct module *mod) in mod_tree_insert() 93 void mod_tree_remove_init(struct module *mod) in mod_tree_remove_init() 99 void mod_tree_remove(struct module *mod) in mod_tree_remove() 108 struct module *mod_find(unsigned long addr, struct mod_tree_root *tree) in mod_find()
|
D | procfs.c | 16 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() 67 struct module *mod = list_entry(p, struct module, list); in m_show()
|
D | version.c | 15 struct module *mod, in check_version() 59 struct module *mod) in check_modstruct_version() 94 void module_layout(struct module *mod, in module_layout()
|
D | debug_kmemleak.c | 12 void kmemleak_load_module(const struct module *mod, in kmemleak_load_module() 18 kmemleak_scan_area(mod, sizeof(struct module), GFP_KERNEL); in kmemleak_load_module()
|
D | livepatch.c | 18 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/ |
D | index.c | 20 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/rcu/ |
D | Kconfig.debug | 33 This option provides a kernel module that runs performance 34 tests on the RCU infrastructure. The kernel module may be built 39 Say M if you want the RCU performance tests to build as a module. 49 This option provides a kernel module that runs torture tests 50 on the RCU infrastructure. The kernel module may be built 55 Say M if you want the RCU torture tests to build as a module. 65 This option provides a kernel module that runs performance tests 67 The kernel module may be built after the fact on the running kernel to be 71 Say M if you want to build it as a module instead.
|
/kernel/bpf/preload/ |
D | Kconfig | 15 This builds kernel module with several embedded BPF programs that are 21 tristate "bpf_preload kernel module" 24 This builds bpf_preload kernel module with embedded BPF programs for
|
/kernel/ |
D | static_call_inline.c | 153 struct module *mod = site_mod->mod; in __static_call_update() 209 static int __static_call_init(struct module *mod, in __static_call_init() 314 struct module *mod; in __static_call_mod_text_reserved() 353 static int static_call_add_module(struct module *mod) in static_call_add_module() 392 static void static_call_del_module(struct module *mod) in static_call_del_module() 424 struct module *mod = data; in static_call_module_notify()
|
D | .gitignore | 6 /module/gki_module_protected_exports.h 7 /module/gki_module_unprotected.h
|
D | jump_label.c | 520 struct module *mod; 548 struct module *mod; in __jump_label_mod_text_reserved() 576 struct module *m; in __jump_label_mod_update() 595 static int jump_label_add_module(struct module *mod) in jump_label_add_module() 657 static void jump_label_del_module(struct module *mod) in jump_label_del_module() 711 struct module *mod = data; in jump_label_module_notify() 783 struct module *mod; in jump_label_update()
|
D | cfi.c | 49 struct module *mod) in module_cfi_finalize() 71 struct module *mod; in is_module_cfi_trap()
|
D | params.c | 28 static inline void check_kparam_locked(struct module *mod) in check_kparam_locked() 33 static inline void check_kparam_locked(struct module *mod) in check_kparam_locked() 413 static int param_array(struct module *mod, in param_array() 602 void kernel_param_lock(struct module *mod) in kernel_param_lock() 607 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()
|
D | tracepoint.c | 571 bool trace_module_has_bad_taint(struct module *mod) in trace_module_has_bad_taint() 640 static int tracepoint_module_coming(struct module *mod) in tracepoint_module_coming() 668 static void tracepoint_module_going(struct module *mod) in tracepoint_module_going() 704 struct module *mod = data; in tracepoint_module_notify()
|
/kernel/livepatch/ |
D | Kconfig | 18 module uses the interface provided by this option to register 20 to new function code contained in the patch module.
|
D | core.c | 56 struct module *mod; in klp_find_object_module() 129 struct module *mod, unsigned long addr) in klp_find_callback() 287 int klp_apply_section_relocs(struct module *pmod, Elf_Shdr *sechdrs, in klp_apply_section_relocs() 1153 static void klp_cleanup_module_patches_limited(struct module *mod, in klp_cleanup_module_patches_limited() 1182 int klp_module_coming(struct module *mod) in klp_module_coming() 1263 void klp_module_going(struct module *mod) in klp_module_going()
|
/kernel/trace/ |
D | trace_events.c | 47 struct module *module; member 2557 __register_event(struct trace_event_call *call, struct module *mod) in __register_event() 2569 call->module = mod; in __register_event() 2672 static void add_str_to_module(struct module *module, char *str) in add_str_to_module() argument 2687 modstr->module = module; in add_str_to_module() 2735 if (call->module) in update_event_fields() 2736 add_str_to_module(call->module, str); in update_event_fields() 2949 static void trace_module_add_events(struct module *mod) in trace_module_add_events() 2972 static void trace_module_remove_events(struct module *mod) in trace_module_remove_events() 2979 if ((call->flags & TRACE_EVENT_FL_DYNAMIC) || !call->module) in trace_module_remove_events() [all …]
|
D | bpf_trace.c | 44 struct module *module; member 59 for (i = 0; i < btm->module->num_bpf_raw_events; ++i) { in bpf_get_raw_tracepoint_module() 60 btp = &btm->module->bpf_raw_events[i]; in bpf_get_raw_tracepoint_module() 62 if (try_module_get(btm->module)) in bpf_get_raw_tracepoint_module() 2256 struct module *mod; in bpf_put_raw_tracepoint() 2415 void *module) in bpf_event_notify() argument 2418 struct module *mod = module; in bpf_event_notify() 2431 btm->module = module; in bpf_event_notify() 2439 if (btm->module == module) { in bpf_event_notify()
|
/kernel/irq/ |
D | irqdesc.c | 104 const struct cpumask *affinity, struct module *owner) in desc_set_defaults() 392 struct module *owner) in alloc_desc() 472 struct module *owner) in alloc_descs() 604 struct module *owner) in alloc_descs() 789 struct module *owner, const struct irq_affinity_desc *affinity) in __irq_alloc_descs()
|