Lines Matching refs:module

64 	struct module *mod;
106 struct module *owner;
113 int try_to_force_load(struct module *mod, const char *reason);
115 struct module *find_module_all(const char *name, size_t len, bool even_unformed);
117 long module_get_offset_and_type(struct module *mod, enum mod_mem_type type,
119 char *module_flags(struct module *mod, char *buf, bool show_state);
137 int copy_module_elf(struct module *mod, struct load_info *info);
138 void free_module_elf(struct module *mod);
140 static inline int copy_module_elf(struct module *mod, struct load_info *info) in copy_module_elf()
145 static inline void free_module_elf(struct module *mod) { } in free_module_elf()
148 static inline bool set_livepatch_module(struct module *mod) in set_livepatch_module()
255 int try_add_tainted_module(struct module *mod);
258 static inline int try_add_tainted_module(struct module *mod) in try_add_tainted_module()
298 void mod_tree_insert(struct module *mod);
299 void mod_tree_remove_init(struct module *mod);
300 void mod_tree_remove(struct module *mod);
301 struct module *mod_find(unsigned long addr, struct mod_tree_root *tree);
304 static inline void mod_tree_insert(struct module *mod) { } in mod_tree_insert()
305 static inline void mod_tree_remove_init(struct module *mod) { } in mod_tree_remove_init()
306 static inline void mod_tree_remove(struct module *mod) { } in mod_tree_remove()
307 static inline struct module *mod_find(unsigned long addr, struct mod_tree_root *tree) in mod_find()
309 struct module *mod; in mod_find()
321 int module_enable_rodata_ro(const struct module *mod);
322 int module_enable_rodata_ro_after_init(const struct module *mod);
323 int module_enable_data_nx(const struct module *mod);
324 int module_enable_text_rox(const struct module *mod);
326 char *secstrings, struct module *mod);
338 void kmemleak_load_module(const struct module *mod, const struct load_info *info);
340 static inline void kmemleak_load_module(const struct module *mod, in kmemleak_load_module()
345 void init_build_id(struct module *mod, const struct load_info *info);
346 void layout_symtab(struct module *mod, struct load_info *info);
347 void add_kallsyms(struct module *mod, const struct load_info *info);
354 static inline void init_build_id(struct module *mod, const struct load_info *info) { } in init_build_id()
355 static inline void layout_symtab(struct module *mod, struct load_info *info) { } in layout_symtab()
356 static inline void add_kallsyms(struct module *mod, const struct load_info *info) { } in add_kallsyms()
360 int mod_sysfs_setup(struct module *mod, const struct load_info *info,
362 void mod_sysfs_teardown(struct module *mod);
363 void init_param_lock(struct module *mod);
365 static inline int mod_sysfs_setup(struct module *mod, in mod_sysfs_setup()
373 static inline void mod_sysfs_teardown(struct module *mod) { } in mod_sysfs_teardown()
374 static inline void init_param_lock(struct module *mod) { } in init_param_lock()
379 const char *symname, struct module *mod, const u32 *crc);
380 void module_layout(struct module *mod, struct modversion_info *ver, struct kernel_param *kp,
382 int check_modstruct_version(const struct load_info *info, struct module *mod);
396 struct module *mod, in check_version()
403 struct module *mod) in check_modstruct_version()