Home
last modified time | relevance | path

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

12

/kernel/
Dmodule.c180 static void mod_tree_insert(struct module *mod) in mod_tree_insert()
190 static void mod_tree_remove_init(struct module *mod) in mod_tree_remove_init()
196 static void mod_tree_remove(struct module *mod) in mod_tree_remove()
202 static struct module *mod_find(unsigned long addr) in mod_find()
217 static void mod_tree_insert(struct module *mod) { } in mod_tree_insert()
218 static void mod_tree_remove_init(struct module *mod) { } in mod_tree_remove_init()
219 static void mod_tree_remove(struct module *mod) { } in mod_tree_remove()
221 static struct module *mod_find(unsigned long addr) in mod_find()
223 struct module *mod; in mod_find()
251 static void mod_update_bounds(struct module *mod) in mod_update_bounds()
[all …]
Dcfi.c146 static void add_module_to_shadow(struct cfi_shadow *s, struct module *mod, in add_module_to_shadow()
174 static void remove_module_from_shadow(struct cfi_shadow *s, struct module *mod, in remove_module_from_shadow()
187 typedef void (*update_shadow_fn)(struct cfi_shadow *, struct module *,
190 static void update_shadow(struct module *mod, unsigned long base_addr, in update_shadow()
225 void cfi_module_add(struct module *mod, unsigned long base_addr) in cfi_module_add()
230 void cfi_module_remove(struct module *mod, unsigned long base_addr) in cfi_module_remove()
273 struct module *mod; in __find_module_check_fn()
Dstatic_call.c153 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()
Djump_label.c523 struct module *mod;
551 struct module *mod; in __jump_label_mod_text_reserved()
579 struct module *m; in __jump_label_mod_update()
606 void jump_label_apply_nops(struct module *mod) in jump_label_apply_nops()
623 static int jump_label_add_module(struct module *mod) in jump_label_add_module()
684 static void jump_label_del_module(struct module *mod) in jump_label_del_module()
738 struct module *mod = data; in jump_label_module_notify()
809 struct module *mod; in jump_label_update()
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()
395 static int param_array(struct module *mod, in param_array()
584 void kernel_param_lock(struct module *mod) in kernel_param_lock()
589 void kernel_param_unlock(struct module *mod) in kernel_param_unlock()
688 int module_param_sysfs_setup(struct module *mod, in module_param_sysfs_setup()
723 void module_param_sysfs_remove(struct module *mod) in module_param_sysfs_remove()
Dtracepoint.c592 bool trace_module_has_bad_taint(struct module *mod) in trace_module_has_bad_taint()
660 static int tracepoint_module_coming(struct module *mod) in tracepoint_module_coming()
690 static void tracepoint_module_going(struct module *mod) in tracepoint_module_going()
726 struct module *mod = data; in tracepoint_module_notify()
Dmodule-internal.h14 struct module *mod;
Dauditsc.c886 kfree(context->module.name); in audit_free_module()
887 context->module.name = NULL; in audit_free_module()
1363 if (context->module.name) { in show_special()
1364 audit_log_untrustedstring(ab, context->module.name); in show_special()
2603 context->module.name = kstrdup(name, GFP_KERNEL); in __audit_log_kern_module()
2604 if (!context->module.name) in __audit_log_kern_module()
Dkprobes.c1640 struct module **probed_mod) in check_kprobe_address_safe()
1697 struct module *probed_mod; in register_kprobe()
2492 static void add_module_kprobe_blacklist(struct module *mod) in add_module_kprobe_blacklist()
2515 static void remove_module_kprobe_blacklist(struct module *mod) in remove_module_kprobe_blacklist()
2542 struct module *mod = data; in kprobes_module_callback()
/kernel/rcu/
DKconfig.debug36 This option provides a kernel module that runs performance
37 tests on the RCU infrastructure. The kernel module may be built
42 Say M if you want the RCU performance tests to build as a module.
55 This option provides a kernel module that runs torture tests
56 on the RCU infrastructure. The kernel module may be built
61 Say M if you want the RCU torture tests to build as a module.
74 This option provides a kernel module that runs performance tests
76 The kernel module may be built after the fact on the running kernel to be
80 Say M if you want to build it as a module instead.
Dsrcutree.c1391 static int srcu_module_coming(struct module *mod) in srcu_module_coming()
1406 static void srcu_module_going(struct module *mod) in srcu_module_going()
1419 struct module *mod = data; in srcu_module_notify()
/kernel/bpf/preload/
DKconfig15 This builds kernel module with several embedded BPF programs that are
21 tristate "bpf_preload kernel module with user mode driver"
26 This builds bpf_preload kernel module with embedded user mode driver.
Dbpf_preload.h12 struct module *owner;
/kernel/livepatch/
DKconfig18 module uses the interface provided by this option to register
20 to new function code contained in the patch module.
Dcore.c55 struct module *mod; in klp_find_object_module()
128 struct module *mod, unsigned long addr) in klp_find_callback()
288 int klp_apply_section_relocs(struct module *pmod, Elf_Shdr *sechdrs, in klp_apply_section_relocs()
1139 static void klp_cleanup_module_patches_limited(struct module *mod, in klp_cleanup_module_patches_limited()
1168 int klp_module_coming(struct module *mod) in klp_module_coming()
1249 void klp_module_going(struct module *mod) in klp_module_going()
/kernel/trace/
Dbpf_trace.c36 struct module *module; member
51 for (i = 0; i < btm->module->num_bpf_raw_events; ++i) { in bpf_get_raw_tracepoint_module()
52 btp = &btm->module->bpf_raw_events[i]; in bpf_get_raw_tracepoint_module()
54 if (try_module_get(btm->module)) in bpf_get_raw_tracepoint_module()
2048 struct module *mod; in bpf_put_raw_tracepoint()
2201 void *module) in bpf_event_notify() argument
2204 struct module *mod = module; in bpf_event_notify()
2217 btm->module = module; in bpf_event_notify()
2225 if (btm->module == module) { in bpf_event_notify()
Dftrace.c1214 kfree(ftrace_mod->module); in free_ftrace_mod()
1288 const char *func, const char *module, in ftrace_add_mod() argument
1300 ftrace_mod->module = kstrdup(module, GFP_KERNEL); in ftrace_add_mod()
1303 if (!ftrace_mod->func || !ftrace_mod->module) in ftrace_add_mod()
2645 ftrace_nop_initialize(struct module *mod, struct dyn_ftrace *rec) in ftrace_nop_initialize()
3102 static int ftrace_update_code(struct module *mod, struct ftrace_page *new_pgs) in ftrace_update_code()
3480 seq_printf(m, ":mod:%s\n", ftrace_mod->module); in t_mod_show()
4127 static bool module_exists(const char *module) in module_exists() argument
4135 n = snprintf(modname, sizeof(modname), "%s:%s", module, this_mod); in module_exists()
4145 const char *func, char *module, int enable) in cache_mod() argument
[all …]
DKconfig766 boot up or module load. With this option, they will not be freed, as
843 tristate "Test module for mmiotrace"
846 This is a dumb module for testing mmiotrace. It is very dangerous
853 tristate "Test module to create a preempt / IRQ disable delay thread to test latency tracers"
856 Select this option to build a test module that can help test latency
858 configurable delay. The module busy waits for the duration of the
868 tristate "Test module for in-kernel synthetic event generation"
871 This option creates a test module to check the base
875 To test, insert the module, and then check the trace buffer
881 tristate "Test module for in-kernel kprobe event generation"
[all …]
Dtrace_synth.h35 struct module *mod;
Dtrace_printk.c91 struct module *mod = data; in module_trace_bprintk_format_notify()
Dtrace_events_synth.c1057 struct module *mod, ...) in __synth_event_gen_cmd_start()
1126 struct module *mod, in synth_event_gen_cmd_array_start()
1301 unsigned int n_fields, struct module *mod) in synth_event_create()
1354 struct module *mod = NULL; in synth_event_delete()
/kernel/irq/
Dirqdesc.c104 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()
785 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);

12