Lines Matching refs:mod
64 struct module *mod; member
83 unsigned int sym, str, mod, vers, info, pcpu; member
105 int mod_verify_sig(const void *mod, struct load_info *info);
106 int try_to_force_load(struct module *mod, const char *reason);
110 long module_get_offset_and_type(struct module *mod, enum mod_mem_type type,
112 char *module_flags(struct module *mod, char *buf, bool show_state);
141 int copy_module_elf(struct module *mod, struct load_info *info);
142 void free_module_elf(struct module *mod);
144 static inline int copy_module_elf(struct module *mod, struct load_info *info) in copy_module_elf() argument
149 static inline void free_module_elf(struct module *mod) { } in free_module_elf() argument
152 static inline bool set_livepatch_module(struct module *mod) in set_livepatch_module() argument
155 mod->klp = true; in set_livepatch_module()
259 int try_add_tainted_module(struct module *mod);
262 static inline int try_add_tainted_module(struct module *mod) in try_add_tainted_module() argument
302 void mod_tree_insert(struct module *mod);
303 void mod_tree_remove_init(struct module *mod);
304 void mod_tree_remove(struct module *mod);
308 static inline void mod_tree_insert(struct module *mod) { } in mod_tree_insert() argument
309 static inline void mod_tree_remove_init(struct module *mod) { } in mod_tree_remove_init() argument
310 static inline void mod_tree_remove(struct module *mod) { } in mod_tree_remove() argument
313 struct module *mod; in mod_find() local
315 list_for_each_entry_rcu(mod, &modules, list, in mod_find()
317 if (within_module(addr, mod)) in mod_find()
318 return mod; in mod_find()
325 void module_enable_ro(const struct module *mod, bool after_init);
326 void module_enable_nx(const struct module *mod);
327 void module_enable_x(const struct module *mod);
329 char *secstrings, struct module *mod);
341 void kmemleak_load_module(const struct module *mod, const struct load_info *info);
343 static inline void kmemleak_load_module(const struct module *mod, in kmemleak_load_module() argument
348 void init_build_id(struct module *mod, const struct load_info *info);
349 void layout_symtab(struct module *mod, struct load_info *info);
350 void add_kallsyms(struct module *mod, const struct load_info *info);
357 static inline void init_build_id(struct module *mod, const struct load_info *info) { } in init_build_id() argument
358 static inline void layout_symtab(struct module *mod, struct load_info *info) { } in layout_symtab() argument
359 static inline void add_kallsyms(struct module *mod, const struct load_info *info) { } in add_kallsyms() argument
363 int mod_sysfs_setup(struct module *mod, const struct load_info *info,
365 void mod_sysfs_teardown(struct module *mod);
366 void init_param_lock(struct module *mod);
368 static inline int mod_sysfs_setup(struct module *mod, in mod_sysfs_setup() argument
376 static inline void mod_sysfs_teardown(struct module *mod) { } in mod_sysfs_teardown() argument
377 static inline void init_param_lock(struct module *mod) { } in init_param_lock() argument
382 const char *symname, struct module *mod, const s32 *crc);
383 void module_layout(struct module *mod, struct modversion_info *ver, struct kernel_param *kp,
385 int check_modstruct_version(const struct load_info *info, struct module *mod);
390 struct module *mod, in check_version() argument
397 struct module *mod) in check_modstruct_version() argument