| /kernel/module/ |
| D | sysfs.c | 72 static int add_sect_attrs(struct module *mod, const struct load_info *info) in add_sect_attrs() 130 static void remove_sect_attrs(struct module *mod) in remove_sect_attrs() 166 static int add_notes_attrs(struct module *mod, const struct load_info *info) in add_notes_attrs() 225 static void remove_notes_attrs(struct module *mod) in remove_notes_attrs() 232 static inline int add_sect_attrs(struct module *mod, const struct load_info *info) in add_sect_attrs() 236 static inline void remove_sect_attrs(struct module *mod) { } in remove_sect_attrs() 237 static inline int add_notes_attrs(struct module *mod, const struct load_info *info) in add_notes_attrs() 241 static inline void remove_notes_attrs(struct module *mod) { } in remove_notes_attrs() 244 static void del_usage_links(struct module *mod) in del_usage_links() 256 static int add_usage_links(struct module *mod) in add_usage_links() [all …]
|
| D | main.c | 128 static void mod_update_bounds(struct module *mod) in mod_update_bounds() 164 static inline int strong_try_module_get(struct module *mod) in strong_try_module_get() 175 static inline void add_taint_module(struct module *mod, unsigned flag, in add_taint_module() 186 void __noreturn __module_put_and_kthread_exit(struct module *mod, long code) in __module_put_and_kthread_exit() 355 struct module *mod; in find_symbol() local 393 struct module *mod; in find_module_all() local 414 static inline void __percpu *mod_percpu(struct module *mod) in mod_percpu() 419 static int percpu_modalloc(struct module *mod, struct load_info *info) in percpu_modalloc() 443 static void percpu_modfree(struct module *mod) in percpu_modfree() 453 static void percpu_modcopy(struct module *mod, in percpu_modcopy() [all …]
|
| D | kallsyms.c | 25 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() 228 void init_build_id(struct module *mod, const struct load_info *info) in init_build_id() 242 void init_build_id(struct module *mod, const struct load_info *info) in init_build_id() 256 static const char *find_kallsyms_symbol(struct module *mod, in find_kallsyms_symbol() 314 void * __weak dereference_module_function_descriptor(struct module *mod, in dereference_module_function_descriptor() 333 struct module *mod; in module_address_lookup() local 360 struct module *mod; in lookup_module_symbol_name() local 386 struct module *mod; in module_get_kallsym() local [all …]
|
| D | internal.h | 64 struct module *mod; member 85 unsigned int mod; member 151 static inline int copy_module_elf(struct module *mod, struct load_info *info) in copy_module_elf() 156 static inline void free_module_elf(struct module *mod) { } in free_module_elf() 159 static inline bool set_livepatch_module(struct module *mod) in set_livepatch_module() 269 static inline int try_add_tainted_module(struct module *mod) in try_add_tainted_module() 315 static inline void mod_tree_insert(struct module *mod) { } in mod_tree_insert() 316 static inline void mod_tree_remove_init(struct module *mod) { } in mod_tree_remove_init() 317 static inline void mod_tree_remove(struct module *mod) { } in mod_tree_remove() 320 struct module *mod; in mod_find() local [all …]
|
| D | strict_rwx.c | 14 static int module_set_memory(const struct module *mod, enum mod_mem_type type, in module_set_memory() 32 int module_enable_text_rox(const struct module *mod) in module_enable_text_rox() 47 int module_enable_rodata_ro(const struct module *mod, bool after_init) in module_enable_rodata_ro() 67 int module_enable_data_nx(const struct module *mod) in module_enable_data_nx() 82 char *secstrings, struct module *mod) in module_enforce_rwx_sections()
|
| 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() 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() local
|
| D | tree_lookup.c | 78 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()
|
| D | version.c | 15 struct module *mod, in check_version() 76 struct module *mod) in check_modstruct_version() 139 void module_layout(struct module *mod, in module_layout()
|
| 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()
|
| D | signing.c | 43 int mod_verify_sig(const void *mod, struct load_info *info) in mod_verify_sig() 75 const void *mod = info->hdr; in module_sig_check() local
|
| D | debug_kmemleak.c | 12 void kmemleak_load_module(const struct module *mod, in kmemleak_load_module()
|
| D | kdb.c | 19 struct module *mod; in kdb_lsmod() local
|
| D | tracking.c | 20 int try_add_tainted_module(struct module *mod) in try_add_tainted_module()
|
| /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() local 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() local
|
| /kernel/ |
| D | jump_label.c | 625 struct module *mod; member 641 struct static_key_mod *mod) in static_key_set_mod() 653 struct module *mod; in __jump_label_mod_text_reserved() local 677 struct static_key_mod *mod; in __jump_label_mod_update() local 700 static int jump_label_add_module(struct module *mod) in jump_label_add_module() 772 static void jump_label_del_module(struct module *mod) in jump_label_del_module() 830 struct module *mod = data; in jump_label_module_notify() local 902 struct module *mod; in jump_label_update() local
|
| D | static_call_inline.c | 164 struct module *mod = site_mod->mod; in __static_call_update() local 220 static int __static_call_init(struct module *mod, in __static_call_init() 325 struct module *mod; in __static_call_mod_text_reserved() local 364 static int static_call_add_module(struct module *mod) in static_call_add_module() 403 static void static_call_del_module(struct module *mod) in static_call_del_module() 446 struct module *mod = data; in static_call_module_notify() local
|
| D | tracepoint.c | 572 bool trace_module_has_bad_taint(struct module *mod) in trace_module_has_bad_taint() 641 static int tracepoint_module_coming(struct module *mod) in tracepoint_module_coming() 669 static void tracepoint_module_going(struct module *mod) in tracepoint_module_going() 705 struct module *mod = data; in tracepoint_module_notify() local 746 void for_each_tracepoint_in_module(struct module *mod, in for_each_tracepoint_in_module() 771 struct module *mod, void *priv), in for_each_module_tracepoint()
|
| D | params.c | 25 #define KPARAM_MUTEX(mod) ((mod) ? &(mod)->param_lock : ¶m_lock) argument 27 #define KPARAM_MUTEX(mod) (¶m_lock) argument 30 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() 709 int module_param_sysfs_setup(struct module *mod, in module_param_sysfs_setup() 744 void module_param_sysfs_remove(struct module *mod) in module_param_sysfs_remove()
|
| D | cfi.c | 49 struct module *mod) in module_cfi_finalize() 71 struct module *mod; in is_module_cfi_trap() local
|
| /kernel/trace/ |
| D | trace_fprobe.c | 49 struct module *mod; member 389 struct module *mod, in alloc_trace_fprobe() 883 struct module *mod; member 886 static void __find_tracepoint_module_cb(struct tracepoint *tp, struct module *mod, void *priv) in __find_tracepoint_module_cb() 948 static struct tracepoint *find_tracepoint_in_module(struct module *mod, in find_tracepoint_in_module()
|
| D | trace_kprobe.c | 106 struct module *mod) in trace_kprobe_within_module() 683 static int register_module_trace_kprobe(struct module *mod, struct trace_kprobe *tk) in register_module_trace_kprobe() 700 struct module *mod = data; in trace_kprobe_module_callback() local 765 static unsigned int number_of_same_symbols(const char *mod, const char *func_name) in number_of_same_symbols() 801 struct module *mod; in try_module_get_by_name() local 817 struct module *mod = NULL; in validate_probe_symbol() local
|
| D | trace_synth.h | 36 struct module *mod; member
|
| D | trace_events_synth.c | 1196 struct module *mod, ...) in __synth_event_gen_cmd_start() 1266 struct module *mod, in synth_event_gen_cmd_array_start() 1466 unsigned int n_fields, struct module *mod) in synth_event_create() 1521 struct module *mod = NULL; in synth_event_delete() local
|
| /kernel/livepatch/ |
| D | core.c | 57 struct module *mod; in klp_find_object_module() local 1199 static void klp_cleanup_module_patches_limited(struct module *mod, in klp_cleanup_module_patches_limited() 1228 int klp_module_coming(struct module *mod) in klp_module_coming() 1309 void klp_module_going(struct module *mod) in klp_module_going()
|
| /kernel/gcov/ |
| D | base.c | 106 struct module *mod = data; in gcov_module_notifier() local
|