Lines Matching full:mod
64 struct module *mod; member
85 unsigned int mod; member
112 int mod_verify_sig(const void *mod, struct load_info *info);
113 int try_to_force_load(struct module *mod, const char *reason);
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);
148 int copy_module_elf(struct module *mod, struct load_info *info);
149 void free_module_elf(struct module *mod);
151 static inline int copy_module_elf(struct module *mod, struct load_info *info) in copy_module_elf() argument
156 static inline void free_module_elf(struct module *mod) { } in free_module_elf() argument
159 static inline bool set_livepatch_module(struct module *mod) in set_livepatch_module() argument
162 mod->klp = true; in set_livepatch_module()
266 int try_add_tainted_module(struct module *mod);
269 static inline int try_add_tainted_module(struct module *mod) in try_add_tainted_module() argument
309 void mod_tree_insert(struct module *mod);
310 void mod_tree_remove_init(struct module *mod);
311 void mod_tree_remove(struct module *mod);
315 static inline void mod_tree_insert(struct module *mod) { } in mod_tree_insert() argument
316 static inline void mod_tree_remove_init(struct module *mod) { } in mod_tree_remove_init() argument
317 static inline void mod_tree_remove(struct module *mod) { } in mod_tree_remove() argument
320 struct module *mod; in mod_find() local
322 list_for_each_entry_rcu(mod, &modules, list, in mod_find()
324 if (within_module(addr, mod)) in mod_find()
325 return mod; in mod_find()
332 int module_enable_rodata_ro(const struct module *mod);
333 int module_enable_rodata_ro_after_init(const struct module *mod);
334 int module_enable_data_nx(const struct module *mod);
335 int module_enable_text_rox(const struct module *mod);
337 char *secstrings, struct module *mod);
349 void kmemleak_load_module(const struct module *mod, const struct load_info *info);
351 static inline void kmemleak_load_module(const struct module *mod, in kmemleak_load_module() argument
356 void init_build_id(struct module *mod, const struct load_info *info);
357 void layout_symtab(struct module *mod, struct load_info *info);
358 void add_kallsyms(struct module *mod, const struct load_info *info);
365 static inline void init_build_id(struct module *mod, const struct load_info *info) { } in init_build_id() argument
366 static inline void layout_symtab(struct module *mod, struct load_info *info) { } in layout_symtab() argument
367 static inline void add_kallsyms(struct module *mod, const struct load_info *info) { } in add_kallsyms() argument
371 int mod_sysfs_setup(struct module *mod, const struct load_info *info,
373 void mod_sysfs_teardown(struct module *mod);
374 void init_param_lock(struct module *mod);
376 static inline int mod_sysfs_setup(struct module *mod, in mod_sysfs_setup() argument
384 static inline void mod_sysfs_teardown(struct module *mod) { } in mod_sysfs_teardown() argument
385 static inline void init_param_lock(struct module *mod) { } in init_param_lock() argument
390 const char *symname, struct module *mod, const u32 *crc);
391 void module_layout(struct module *mod, struct modversion_info *ver, struct kernel_param *kp,
393 int check_modstruct_version(const struct load_info *info, struct module *mod);
407 struct module *mod, in check_version() argument
414 struct module *mod) in check_modstruct_version() argument