Home
last modified time | relevance | path

Searched defs:mod (Results 1 – 25 of 36) sorted by relevance

12

/kernel/module/
Dsysfs.c72 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 …]
Dmain.c116 static void mod_update_bounds(struct module *mod) in mod_update_bounds()
152 static inline int strong_try_module_get(struct module *mod) in strong_try_module_get()
163 static inline void add_taint_module(struct module *mod, unsigned flag, in add_taint_module()
174 void __noreturn __module_put_and_kthread_exit(struct module *mod, long code) in __module_put_and_kthread_exit()
311 struct module *mod; in find_symbol() local
349 struct module *mod; in find_module_all() local
370 static inline void __percpu *mod_percpu(struct module *mod) in mod_percpu()
375 static int percpu_modalloc(struct module *mod, struct load_info *info) in percpu_modalloc()
399 static void percpu_modfree(struct module *mod) in percpu_modfree()
409 static void percpu_modcopy(struct module *mod, in percpu_modcopy()
[all …]
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()
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()
332 struct module *mod; in module_address_lookup() local
361 struct module *mod; in lookup_module_symbol_name() local
387 struct module *mod; in module_get_kallsym() local
[all …]
Dinternal.h64 struct module *mod; member
83 unsigned int sym, str, mod, vers, info, pcpu; member
144 static inline int copy_module_elf(struct module *mod, struct load_info *info) in copy_module_elf()
149 static inline void free_module_elf(struct module *mod) { } in free_module_elf()
152 static inline bool set_livepatch_module(struct module *mod) in set_livepatch_module()
262 static inline int try_add_tainted_module(struct module *mod) in try_add_tainted_module()
308 static inline void mod_tree_insert(struct module *mod) { } in mod_tree_insert()
309 static inline void mod_tree_remove_init(struct module *mod) { } in mod_tree_remove_init()
310 static inline void mod_tree_remove(struct module *mod) { } in mod_tree_remove()
313 struct module *mod; in mod_find() local
[all …]
Dstrict_rwx.c14 static void module_set_memory(const struct module *mod, enum mod_mem_type type, in module_set_memory()
29 void module_enable_x(const struct module *mod) in module_enable_x()
35 void module_enable_ro(const struct module *mod, bool after_init) in module_enable_ro()
53 void module_enable_nx(const struct module *mod) in module_enable_nx()
63 char *secstrings, struct module *mod) in module_enforce_rwx_sections()
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() local
Dversion.c15 struct module *mod, in check_version()
59 struct module *mod) in check_modstruct_version()
94 void module_layout(struct module *mod, in module_layout()
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()
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()
Dsigning.c50 int mod_verify_sig(const void *mod, struct load_info *info) in mod_verify_sig()
82 const void *mod = info->hdr; in module_sig_check() local
Ddebug_kmemleak.c12 void kmemleak_load_module(const struct module *mod, in kmemleak_load_module()
Dkdb.c19 struct module *mod; in kdb_lsmod() local
Dtracking.c20 int try_add_tainted_module(struct module *mod) in try_add_tainted_module()
/kernel/printk/
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() 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/
Djump_label.c561 struct module *mod; member
577 struct static_key_mod *mod) in static_key_set_mod()
589 struct module *mod; in __jump_label_mod_text_reserved() local
613 struct static_key_mod *mod; in __jump_label_mod_update() local
636 static int jump_label_add_module(struct module *mod) in jump_label_add_module()
698 static void jump_label_del_module(struct module *mod) in jump_label_del_module()
752 struct module *mod = data; in jump_label_module_notify() local
824 struct module *mod; in jump_label_update() local
Dstatic_call_inline.c164 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()
435 struct module *mod = data; in static_call_module_notify() local
Dparams.c24 #define KPARAM_MUTEX(mod) ((mod) ? &(mod)->param_lock : &param_lock) argument
26 #define KPARAM_MUTEX(mod) (&param_lock) argument
29 static inline void check_kparam_locked(struct module *mod) in check_kparam_locked()
34 static inline void check_kparam_locked(struct module *mod) in check_kparam_locked()
414 static int param_array(struct module *mod, in param_array()
603 void kernel_param_lock(struct module *mod) in kernel_param_lock()
608 void kernel_param_unlock(struct module *mod) in kernel_param_unlock()
707 int module_param_sysfs_setup(struct module *mod, in module_param_sysfs_setup()
742 void module_param_sysfs_remove(struct module *mod) in module_param_sysfs_remove()
Dcfi.c49 struct module *mod) in module_cfi_finalize()
71 struct module *mod; in is_module_cfi_trap() local
Dtracepoint.c571 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() local
/kernel/livepatch/
Dcore.c57 struct module *mod; in klp_find_object_module() local
1188 static void klp_cleanup_module_patches_limited(struct module *mod, in klp_cleanup_module_patches_limited()
1217 int klp_module_coming(struct module *mod) in klp_module_coming()
1298 void klp_module_going(struct module *mod) in klp_module_going()
/kernel/gcov/
Dbase.c106 struct module *mod = data; in gcov_module_notifier() local
/kernel/trace/
Dtrace_synth.h36 struct module *mod; member
Dtrace_events_synth.c1165 struct module *mod, ...) in __synth_event_gen_cmd_start()
1235 struct module *mod, in synth_event_gen_cmd_array_start()
1435 unsigned int n_fields, struct module *mod) in synth_event_create()
1490 struct module *mod = NULL; in synth_event_delete() local
Dftrace.c2787 ftrace_nop_initialize(struct module *mod, struct dyn_ftrace *rec) in ftrace_nop_initialize()
3183 static int ftrace_update_code(struct module *mod, struct ftrace_page *new_pgs) in ftrace_update_code()
4285 match_records(struct ftrace_hash *hash, char *func, int len, char *mod) in match_records()
4464 char *mod, bool enable) in process_mod_list()
4534 char *mod; in process_cached_mods() local
6480 static int ftrace_process_locs(struct module *mod, in ftrace_process_locs()
6613 struct module *mod; member
6759 void ftrace_release_mod(struct module *mod) in ftrace_release_mod()
6829 void ftrace_module_enable(struct module *mod) in ftrace_module_enable()
6907 void ftrace_module_init(struct module *mod) in ftrace_module_init()
[all …]
/kernel/rcu/
Dsrcutree.c1939 static int srcu_module_coming(struct module *mod) in srcu_module_coming()
1955 static void srcu_module_going(struct module *mod) in srcu_module_going()
1975 struct module *mod = data; in srcu_module_notify() local

12