Home
last modified time | relevance | path

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

12

/kernel/
Dmodule.c172 static void mod_tree_insert(struct module *mod) in mod_tree_insert()
182 static void mod_tree_remove_init(struct module *mod) in mod_tree_remove_init()
188 static void mod_tree_remove(struct module *mod) in mod_tree_remove()
194 static struct module *mod_find(unsigned long addr) in mod_find()
209 static void mod_tree_insert(struct module *mod) { } in mod_tree_insert()
210 static void mod_tree_remove_init(struct module *mod) { } in mod_tree_remove_init()
211 static void mod_tree_remove(struct module *mod) { } in mod_tree_remove()
213 static struct module *mod_find(unsigned long addr) in mod_find()
215 struct module *mod; in mod_find()
242 static void mod_update_bounds(struct module *mod) in mod_update_bounds()
[all …]
Dcfi.c133 static void add_module_to_shadow(struct cfi_shadow *s, struct module *mod) in add_module_to_shadow()
164 static void remove_module_from_shadow(struct cfi_shadow *s, struct module *mod) in remove_module_from_shadow()
183 typedef void (*update_shadow_fn)(struct cfi_shadow *, struct module *);
185 static void update_shadow(struct module *mod, unsigned long min_addr, in update_shadow()
214 void cfi_module_add(struct module *mod, unsigned long min_addr, in cfi_module_add()
221 void cfi_module_remove(struct module *mod, unsigned long min_addr, in cfi_module_remove()
249 struct module *mod; in find_module_cfi_check()
Djump_label.c513 struct module *mod;
541 struct module *mod; in __jump_label_mod_text_reserved()
563 struct module *m; in __jump_label_mod_update()
590 void jump_label_apply_nops(struct module *mod) in jump_label_apply_nops()
607 static int jump_label_add_module(struct module *mod) in jump_label_add_module()
668 static void jump_label_del_module(struct module *mod) in jump_label_del_module()
722 struct module *mod = data; in jump_label_module_notify()
792 struct module *mod; in jump_label_update()
Dtracepoint.c375 bool trace_module_has_bad_taint(struct module *mod) in trace_module_has_bad_taint()
443 static int tracepoint_module_coming(struct module *mod) in tracepoint_module_coming()
473 static void tracepoint_module_going(struct module *mod) in tracepoint_module_going()
509 struct module *mod = data; in tracepoint_module_notify()
Dparams.c28 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()
394 static int param_array(struct module *mod, in param_array()
583 void kernel_param_lock(struct module *mod) in kernel_param_lock()
588 void kernel_param_unlock(struct module *mod) in kernel_param_unlock()
687 int module_param_sysfs_setup(struct module *mod, in module_param_sysfs_setup()
722 void module_param_sysfs_remove(struct module *mod) in module_param_sysfs_remove()
Dmodule-internal.h14 struct module *mod;
Dauditsc.c857 kfree(context->module.name); in audit_free_module()
858 context->module.name = NULL; in audit_free_module()
1287 if (context->module.name) { in show_special()
1288 audit_log_untrustedstring(ab, context->module.name); in show_special()
2507 context->module.name = kstrdup(name, GFP_KERNEL); in __audit_log_kern_module()
2508 if (!context->module.name) in __audit_log_kern_module()
DMakefile62 obj-$(CONFIG_MODULES) += module.o
Daudit.h193 } module; member
/kernel/rcu/
DKconfig.debug34 This option provides a kernel module that runs performance
35 tests on the RCU infrastructure. The kernel module may be built
40 Say M if you want the RCU performance tests to build as a module.
51 This option provides a kernel module that runs torture tests
52 on the RCU infrastructure. The kernel module may be built
57 Say M if you want the RCU torture tests to build as a module.
Dsrcutree.c1318 static int srcu_module_coming(struct module *mod) in srcu_module_coming()
1333 static void srcu_module_going(struct module *mod) in srcu_module_going()
1346 struct module *mod = data; in srcu_module_notify()
/kernel/trace/
Dbpf_trace.c27 struct module *module; member
42 for (i = 0; i < btm->module->num_bpf_raw_events; ++i) { in bpf_get_raw_tracepoint_module()
43 btp = &btm->module->bpf_raw_events[i]; in bpf_get_raw_tracepoint_module()
45 if (try_module_get(btm->module)) in bpf_get_raw_tracepoint_module()
1323 struct module *mod = __module_address((unsigned long)btp); in bpf_put_raw_tracepoint()
1474 void *module) in bpf_event_notify() argument
1477 struct module *mod = module; in bpf_event_notify()
1489 btm->module = module; in bpf_event_notify()
1495 if (btm->module == module) { in bpf_event_notify()
Dftrace.c1226 kfree(ftrace_mod->module); in free_ftrace_mod()
1300 const char *func, const char *module, in ftrace_add_mod() argument
1311 ftrace_mod->module = kstrdup(module, GFP_KERNEL); in ftrace_add_mod()
1314 if (!ftrace_mod->func || !ftrace_mod->module) in ftrace_add_mod()
2497 ftrace_code_disable(struct module *mod, struct dyn_ftrace *rec) in ftrace_code_disable()
2905 static int ftrace_update_code(struct module *mod, struct ftrace_page *new_pgs) in ftrace_update_code()
3270 seq_printf(m, ":mod:%s\n", ftrace_mod->module); in t_mod_show()
3909 static bool module_exists(const char *module) in module_exists() argument
3917 n = snprintf(modname, sizeof(modname), "%s:%s", module, this_mod); in module_exists()
3927 const char *func, char *module, int enable) in cache_mod() argument
[all …]
Dtrace_printk.c91 struct module *mod = data; in module_trace_bprintk_format_notify()
DKconfig667 tristate "Test module for mmiotrace"
670 This is a dumb module for testing mmiotrace. It is very dangerous
749 Select this option to build a test module that can help test latency
751 configurable delay. The module busy waits for the duration of the
782 boot up or module load. With this option, they will not be freed, as
Dtrace_events.c2090 __register_event(struct trace_event_call *call, struct module *mod) in __register_event()
2381 static void trace_module_add_events(struct module *mod) in trace_module_add_events()
2404 static void trace_module_remove_events(struct module *mod) in trace_module_remove_events()
2429 struct module *mod = data; in trace_module_notify()
/kernel/livepatch/
DKconfig18 module uses the interface provided by this option to register
20 to new function code contained in the patch module.
Dcore.c54 struct module *mod; in klp_find_object_module()
127 struct module *mod, unsigned long addr) in klp_find_callback()
193 static int klp_resolve_symbols(Elf_Shdr *relasec, struct module *pmod) in klp_resolve_symbols()
248 static int klp_write_object_relocations(struct module *pmod, in klp_write_object_relocations()
1080 static void klp_cleanup_module_patches_limited(struct module *mod, in klp_cleanup_module_patches_limited()
1109 int klp_module_coming(struct module *mod) in klp_module_coming()
1185 void klp_module_going(struct module *mod) in klp_module_going()
/kernel/irq/
Dirqdesc.c104 const struct cpumask *affinity, struct module *owner) in desc_set_defaults()
389 struct module *owner) in alloc_desc()
468 struct module *owner) in alloc_descs()
599 struct module *owner) in alloc_descs()
767 struct module *owner, const struct irq_affinity_desc *affinity) in __irq_alloc_descs()
Ddevres.c179 unsigned int cnt, int node, struct module *owner, in __devm_irq_alloc_descs()
/kernel/gcov/
Dbase.c57 struct module *mod = data; in gcov_module_notifier()
Dgcov.h50 bool gcov_info_within_module(struct gcov_info *info, struct module *mod);
Dgcc_3_4.c147 bool gcov_info_within_module(struct gcov_info *info, struct module *mod) in gcov_info_within_module()
Dgcc_4_7.c160 bool gcov_info_within_module(struct gcov_info *info, struct module *mod) in gcov_info_within_module()
Dclang.c219 bool gcov_info_within_module(struct gcov_info *info, struct module *mod) in gcov_info_within_module()

12