From 3669d76bc21a2969729915f6aa09d1ff48884abf Mon Sep 17 00:00:00 2001 From: caiyuxin Date: Tue, 28 Nov 2023 13:49:06 +0800 Subject: [PATCH] function pointer to set parameters --- vmlinux/loongarch/vmlinux.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/vmlinux/loongarch/vmlinux.h b/vmlinux/loongarch/vmlinux.h index 9605b69e..af7662cf 100644 --- a/vmlinux/loongarch/vmlinux.h +++ b/vmlinux/loongarch/vmlinux.h @@ -338,3 +338,34 @@ struct mod_kallsyms { char *strtab; char *typetab; }; + +struct module_attribute; + +struct kernel_param; + +struct exception_table_entry; + +struct bug_entry; + +struct module_sect_attrs; + +struct module_notes_attrs; + +struct tracepoint; + +typedef struct tracepoint * const tracepoint_ptr_t; + +struct srcu_struct; + +struct bpf_raw_event_map; + +struct trace_event_call; + +struct trace_eval_map; + +struct kernel_param_ops { + unsigned int flags; + int (*set)(const char *, const struct kernel_param *); + int (*get)(char *, const struct kernel_param *); + void (*free)(void *); +}; -- Gitee