Lines Matching refs:load_info
184 static unsigned int find_sec(const struct load_info *info, const char *name) in find_sec()
199 static void *section_addr(const struct load_info *info, const char *name) in section_addr()
206 static void *section_objs(const struct load_info *info, in section_objs()
219 static unsigned int find_any_sec(const struct load_info *info, const char *name) in find_any_sec()
235 static __maybe_unused void *any_section_objs(const struct load_info *info, in any_section_objs()
377 static int percpu_modalloc(struct module *mod, struct load_info *info) in percpu_modalloc()
406 static unsigned int find_pcpusec(struct load_info *info) in find_pcpusec()
472 static int percpu_modalloc(struct module *mod, struct load_info *info) in percpu_modalloc()
482 static unsigned int find_pcpusec(struct load_info *info) in find_pcpusec()
1033 static char *get_next_modinfo(const struct load_info *info, const char *tag, in get_next_modinfo()
1059 static char *get_modinfo(const struct load_info *info, const char *tag) in get_modinfo()
1064 static int verify_namespace_is_imported(const struct load_info *info, in verify_namespace_is_imported()
1112 const struct load_info *info, in resolve_symbol()
1168 const struct load_info *info, in resolve_symbol_wait()
1392 static int simplify_symbols(struct module *mod, const struct load_info *info) in simplify_symbols()
1463 static int apply_relocations(struct module *mod, const struct load_info *info) in apply_relocations()
1529 static void __layout_sections(struct module *mod, struct load_info *info, bool is_init) in __layout_sections()
1588 static void layout_sections(struct module *mod, struct load_info *info) in layout_sections()
1616 static void setup_modinfo(struct module *mod, struct load_info *info) in setup_modinfo()
1648 static int validate_section_offset(struct load_info *info, Elf_Shdr *shdr) in validate_section_offset()
1687 static int elf_validity_cache_copy(struct load_info *info, int flags) in elf_validity_cache_copy()
1937 static int check_modinfo_livepatch(struct module *mod, struct load_info *info) in check_modinfo_livepatch()
1951 static void check_modinfo_retpoline(struct module *mod, struct load_info *info) in check_modinfo_retpoline()
1962 struct load_info *info) in copy_module_from_user()
1993 static void free_copy(struct load_info *info, int flags) in free_copy()
2001 static int rewrite_section_headers(struct load_info *info, int flags) in rewrite_section_headers()
2028 static void module_augment_kernel_taints(struct module *mod, struct load_info *info) in module_augment_kernel_taints()
2094 static int check_modinfo(struct module *mod, struct load_info *info, int flags) in check_modinfo()
2120 static int find_module_sections(struct module *mod, struct load_info *info) in find_module_sections()
2245 static int move_module(struct module *mod, struct load_info *info) in move_module()
2371 static struct module *layout_and_allocate(struct load_info *info, int flags) in layout_and_allocate()
2429 static void module_deallocate(struct module *mod, struct load_info *info) in module_deallocate()
2444 static int post_relocation(struct module *mod, const struct load_info *info) in post_relocation()
2739 static int complete_formation(struct module *mod, struct load_info *info) in complete_formation()
2818 static int early_mod_check(struct load_info *info, int flags) in early_mod_check()
2854 static int load_module(struct load_info *info, const char __user *uargs, in load_module()
3070 struct load_info info = { }; in SYSCALL_DEFINE3()
3175 struct load_info info = { }; in init_module_from_file()