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.c115 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()
310 struct module *mod; in find_symbol() local
348 struct module *mod; in find_module_all() local
369 static inline void __percpu *mod_percpu(struct module *mod) in mod_percpu()
374 static int percpu_modalloc(struct module *mod, struct load_info *info) in percpu_modalloc()
398 static void percpu_modfree(struct module *mod) in percpu_modfree()
408 static void percpu_modcopy(struct module *mod, in percpu_modcopy()
[all …]
Dinternal.h60 struct module *mod; member
77 unsigned int sym, str, mod, vers, info, pcpu; member
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()
141 static inline bool set_livepatch_module(struct module *mod) in set_livepatch_module()
162 static inline int try_add_tainted_module(struct module *mod) in try_add_tainted_module()
205 static inline void mod_tree_insert(struct module *mod) { } in mod_tree_insert()
206 static inline void mod_tree_remove_init(struct module *mod) { } in mod_tree_remove_init()
207 static inline void mod_tree_remove(struct module *mod) { } in mod_tree_remove()
210 struct module *mod; in mod_find() local
[all …]
Dkallsyms.c24 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() local
364 struct module *mod; in lookup_module_symbol_name() local
390 struct module *mod; in lookup_module_symbol_attrs() local
[all …]
Dstrict_rwx.c72 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()
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()
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()
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()
67 struct module *mod = list_entry(p, struct module, list); in m_show() local
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.c19 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.c520 struct module *mod; member
536 struct static_key_mod *mod) in static_key_set_mod()
548 struct module *mod; in __jump_label_mod_text_reserved() local
572 struct static_key_mod *mod; in __jump_label_mod_update() local
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() local
783 struct module *mod; in jump_label_update() local
Dstatic_call_inline.c153 struct module *mod = site_mod->mod; in __static_call_update() local
209 static int __static_call_init(struct module *mod, in __static_call_init()
314 struct module *mod; in __static_call_mod_text_reserved() local
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() local
Dparams.c23 #define KPARAM_MUTEX(mod) ((mod) ? &(mod)->param_lock : &param_lock) argument
25 #define KPARAM_MUTEX(mod) (&param_lock) argument
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()
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.c56 struct module *mod; in klp_find_object_module() local
129 struct module *mod, unsigned long addr) in klp_find_callback()
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/gcov/
Dbase.c106 struct module *mod = data; in gcov_module_notifier() local
/kernel/trace/
Dtrace_synth.h36 struct module *mod; member
Dtrace_events_synth.c1181 struct module *mod, ...) in __synth_event_gen_cmd_start()
1250 struct module *mod, in synth_event_gen_cmd_array_start()
1450 unsigned int n_fields, struct module *mod) in synth_event_create()
1505 struct module *mod = NULL; in synth_event_delete() local
Dftrace.c2740 ftrace_nop_initialize(struct module *mod, struct dyn_ftrace *rec) in ftrace_nop_initialize()
3125 static int ftrace_update_code(struct module *mod, struct ftrace_page *new_pgs) in ftrace_update_code()
4161 match_records(struct ftrace_hash *hash, char *func, int len, char *mod) in match_records()
4339 char *mod, bool enable) in process_mod_list()
4409 char *mod; in process_cached_mods() local
6671 static int ftrace_process_locs(struct module *mod, in ftrace_process_locs()
6802 struct module *mod; member
6948 void ftrace_release_mod(struct module *mod) in ftrace_release_mod()
7016 void ftrace_module_enable(struct module *mod) in ftrace_module_enable()
7095 void ftrace_module_init(struct module *mod) in ftrace_module_init()
[all …]
/kernel/rcu/
Dsrcutree.c1793 static int srcu_module_coming(struct module *mod) in srcu_module_coming()
1808 static void srcu_module_going(struct module *mod) in srcu_module_going()
1821 struct module *mod = data; in srcu_module_notify() local

12