Lines Matching refs:mod
60 struct module *mod; member
77 unsigned int sym, str, mod, vers, info, pcpu; member
99 int mod_verify_sig(const void *mod, struct load_info *info);
100 int try_to_force_load(struct module *mod, const char *reason);
104 long module_get_offset(struct module *mod, unsigned int *size, Elf_Shdr *sechdr,
106 char *module_flags(struct module *mod, char *buf, bool show_state);
130 int copy_module_elf(struct module *mod, struct load_info *info);
131 void free_module_elf(struct module *mod);
133 static inline int copy_module_elf(struct module *mod, struct load_info *info) in copy_module_elf() argument
138 static inline void free_module_elf(struct module *mod) { } in free_module_elf() argument
141 static inline bool set_livepatch_module(struct module *mod) in set_livepatch_module() argument
144 mod->klp = true; in set_livepatch_module()
159 int try_add_tainted_module(struct module *mod);
162 static inline int try_add_tainted_module(struct module *mod) in try_add_tainted_module() argument
199 void mod_tree_insert(struct module *mod);
200 void mod_tree_remove_init(struct module *mod);
201 void mod_tree_remove(struct module *mod);
205 static inline void mod_tree_insert(struct module *mod) { } in mod_tree_insert() argument
206 static inline void mod_tree_remove_init(struct module *mod) { } in mod_tree_remove_init() argument
207 static inline void mod_tree_remove(struct module *mod) { } in mod_tree_remove() argument
210 struct module *mod; in mod_find() local
212 list_for_each_entry_rcu(mod, &modules, list, in mod_find()
214 if (within_module(addr, mod)) in mod_find()
215 return mod; in mod_find()
222 void module_enable_ro(const struct module *mod, bool after_init);
223 void module_enable_nx(const struct module *mod);
224 void module_enable_x(const struct module *mod);
226 char *secstrings, struct module *mod);
227 bool module_check_misalignment(const struct module *mod);
239 void kmemleak_load_module(const struct module *mod, const struct load_info *info);
241 static inline void kmemleak_load_module(const struct module *mod, in kmemleak_load_module() argument
246 void init_build_id(struct module *mod, const struct load_info *info);
247 void layout_symtab(struct module *mod, struct load_info *info);
248 void add_kallsyms(struct module *mod, const struct load_info *info);
249 unsigned long find_kallsyms_symbol_value(struct module *mod, const char *name);
256 static inline void init_build_id(struct module *mod, const struct load_info *info) { } in init_build_id() argument
257 static inline void layout_symtab(struct module *mod, struct load_info *info) { } in layout_symtab() argument
258 static inline void add_kallsyms(struct module *mod, const struct load_info *info) { } in add_kallsyms() argument
262 int mod_sysfs_setup(struct module *mod, const struct load_info *info,
264 void mod_sysfs_teardown(struct module *mod);
265 void init_param_lock(struct module *mod);
267 static inline int mod_sysfs_setup(struct module *mod, in mod_sysfs_setup() argument
275 static inline void mod_sysfs_teardown(struct module *mod) { } in mod_sysfs_teardown() argument
276 static inline void init_param_lock(struct module *mod) { } in init_param_lock() argument
281 const char *symname, struct module *mod, const s32 *crc);
282 void module_layout(struct module *mod, struct modversion_info *ver, struct kernel_param *kp,
284 int check_modstruct_version(const struct load_info *info, struct module *mod);
289 struct module *mod, in check_version() argument
296 struct module *mod) in check_modstruct_version() argument