Searched refs:elf_module (Results 1 – 12 of 12) sorted by relevance
/external/syslinux/com32/include/sys/ |
D | module.h | 87 struct elf_module { struct 144 struct elf_module *module; // The target module descriptor argument 154 extern struct elf_module *unload_modules_since(const char *name); 186 static inline struct elf_module *module_current(void) in module_current() 188 struct elf_module *head; in module_current() 217 extern struct elf_module *module_alloc(const char *name); 234 extern int module_load(struct elf_module *module); 249 extern int module_unload(struct elf_module *module); 258 extern int _module_unload(struct elf_module *module); 271 extern int get_module_type(struct elf_module *module); [all …]
|
/external/syslinux/com32/lib/sys/module/ |
D | common.h | 29 static inline Elf_Sym *symbol_get_entry(struct elf_module *module, int entry) in symbol_get_entry() 48 extern void print_elf_symbols(struct elf_module *module); 56 extern int image_load(struct elf_module *module); 57 extern int image_unload(struct elf_module *module); 58 extern int image_read(void *buff, size_t size, struct elf_module *module); 59 extern int image_skip(size_t size, struct elf_module *module); 60 extern int image_seek(Elf_Off offset, struct elf_module *module); 62 extern struct module_dep *module_dep_alloc(struct elf_module *module); 66 extern int enforce_dependency(struct elf_module *req, struct elf_module *dep); 67 extern int clear_dependency(struct elf_module *req, struct elf_module *dep); [all …]
|
D | common.c | 46 void print_elf_symbols(struct elf_module *module) { in print_elf_symbols() 93 int image_load(struct elf_module *module) in image_load() 116 int image_unload(struct elf_module *module) { in image_unload() 127 int image_read(void *buff, size_t size, struct elf_module *module) { in image_read() 137 int image_skip(size_t size, struct elf_module *module) { in image_skip() 155 int image_seek(Elf_Off offset, struct elf_module *module) { in image_seek() 174 struct elf_module *module_alloc(const char *name) { in module_alloc() 175 struct elf_module *result = malloc(sizeof(struct elf_module)); in module_alloc() 182 memset(result, 0, sizeof(struct elf_module)); in module_alloc() 193 struct module_dep *module_dep_alloc(struct elf_module *module) { in module_dep_alloc() [all …]
|
D | exec.c | 21 struct elf_module *__syslinux_current = NULL; 23 int get_module_type(struct elf_module *module) in get_module_type() 38 struct elf_module *previous; 41 struct elf_module *module = module_alloc(name); 159 struct elf_module *previous; in spawn_load() 161 struct elf_module *module = module_alloc(name); in spawn_load() 162 struct elf_module *cur_module; in spawn_load()
|
D | elf_module.c | 50 extern int load_segments(struct elf_module *module, Elf_Ehdr *elf_hdr); 52 static int prepare_dynlinking(struct elf_module *module) { in prepare_dynlinking() 110 extern int perform_relocation(struct elf_module *module, Elf_Rel *rel); 111 extern int resolve_symbols(struct elf_module *module); 113 static int extract_operations(struct elf_module *module) { in extract_operations() 182 int module_load(struct elf_module *module) { in module_load() 187 struct elf_module *head = NULL; in module_load()
|
/external/syslinux/core/elflink/ |
D | common.h | 40 extern void print_elf_symbols(struct elf_module *module); 47 extern int image_load(struct elf_module *module); 48 extern int image_unload(struct elf_module *module); 49 extern int image_read(void *buff, size_t size, struct elf_module *module); 50 extern int image_skip(size_t size, struct elf_module *module); 51 extern int image_seek(Elf32_Off offset, struct elf_module *module); 53 extern struct module_dep *module_dep_alloc(struct elf_module *module); 57 extern int enforce_dependency(struct elf_module *req, struct elf_module *dep); 58 extern int clear_dependency(struct elf_module *req, struct elf_module *dep); 60 extern int check_symbols(struct elf_module *module);
|
D | load_env32.c | 33 struct elf_module core_module = { 53 void init_module_subsystem(struct elf_module *module) in init_module_subsystem() 75 struct elf_module *ldlinux; in start_ldlinux()
|
/external/syslinux/com32/lib/sys/module/i386/ |
D | elf_module.c | 29 int load_segments(struct elf_module *module, Elf_Ehdr *elf_hdr) { in load_segments() 191 int perform_relocation(struct elf_module *module, Elf_Rel *rel) { in perform_relocation() 200 struct elf_module *sym_module = NULL; in perform_relocation() 267 int resolve_symbols(struct elf_module *module) { in resolve_symbols()
|
/external/syslinux/com32/lib/sys/module/x86_64/ |
D | elf_module.c | 29 int load_segments(struct elf_module *module, Elf_Ehdr *elf_hdr) { in load_segments() 191 int perform_relocation(struct elf_module *module, Elf_Rel *rel) { in perform_relocation() 200 struct elf_module *sym_module = NULL; in perform_relocation() 267 int resolve_symbols(struct elf_module *module) { in resolve_symbols()
|
/external/syslinux/com32/lua/src/ |
D | loadlib.c | 229 module_unload ((struct elf_module *)lib); in ll_unloadlib() 235 struct elf_module *lib = module_alloc (path); in ll_load() 252 Elf_Sym *p = module_find_symbol (sym, (struct elf_module *)lib); in ll_sym() 257 return (lua_CFunction)module_get_absolute(p->st_value, (struct elf_module *)lib); in ll_sym()
|
/external/syslinux/com32/elflink/ |
D | test_com32.c | 128 struct elf_module *module; in process_list()
|
/external/syslinux/mk/ |
D | lib.mk | 167 sys/module/common.o sys/module/$(ARCH)/elf_module.o \ 169 sys/module/exec.o sys/module/elf_module.o
|