/freebsd/sys/sys/ |
H A D | linker.h | 48 typedef struct linker_file* linker_file_t; typedef 64 typedef int (*linker_function_nameval_callback_t)(linker_file_t, int, linker_symval_t *, void *); 95 linker_file_t* deps; /* list of dependencies */ 128 typedef int linker_predicate_t(linker_file_t, void *); 133 extern linker_file_t linker_kernel_file; 139 extern linker_file_t __this_linker_file; 145 linker_file_t* _result); 153 linker_file_t _file); 166 caddr_t linker_file_lookup_symbol(linker_file_t _file, const char* _name, 174 int linker_file_lookup_set(linker_file_t _file, const char *_name, [all …]
|
/freebsd/sys/kern/ |
H A D | linker_if.m | 37 linker_file_t file; 43 linker_file_t file; 49 linker_file_t file; 55 linker_file_t file; 61 linker_file_t file; 72 linker_file_t file; 83 linker_file_t file; 95 linker_file_t file; 106 linker_file_t file; 114 linker_file_t file; [all …]
|
H A D | kern_linker.c | 92 static linker_file_t linker_find_file_by_name(const char* _filename); 97 static linker_file_t linker_find_file_by_id(int _fileid); 104 linker_file_t linker_kernel_file; 122 linker_file_t lftmp; \ 140 linker_file_t container; 147 static void linker_file_add_dependency(linker_file_t file, 148 linker_file_t dep); 149 static caddr_t linker_file_lookup_symbol_internal(linker_file_t file, 194 linker_file_sysinit(linker_file_t lf) in linker_file_sysinit() 249 linker_file_sysuninit(linker_file_t lf) in linker_file_sysuninit() [all …]
|
H A D | link_elf.c | 138 static int link_elf_link_common_finish(linker_file_t); 140 const char *, linker_file_t *); 141 static int link_elf_link_preload_finish(linker_file_t); 143 linker_file_t *); 144 static int link_elf_lookup_symbol(linker_file_t, const char *, 146 static int link_elf_lookup_debug_symbol(linker_file_t, const char *, 148 static int link_elf_lookup_debug_symbol_ctf(linker_file_t lf, 150 static int link_elf_symbol_values(linker_file_t, c_linker_sym_t, 152 static int link_elf_debug_symbol_values(linker_file_t, c_linker_sym_t, 154 static int link_elf_search_symbol(linker_file_t, caddr_t, [all …]
|
H A D | link_elf_obj.c | 127 const char *, linker_file_t *); 128 static int link_elf_link_preload_finish(linker_file_t); 129 static int link_elf_load_file(linker_class_t, const char *, linker_file_t *); 130 static int link_elf_lookup_symbol(linker_file_t, const char *, 132 static int link_elf_lookup_debug_symbol(linker_file_t, const char *, 134 static int link_elf_lookup_debug_symbol_ctf(linker_file_t lf, 136 static int link_elf_symbol_values(linker_file_t, c_linker_sym_t, 138 static int link_elf_debug_symbol_values(linker_file_t, c_linker_sym_t, 140 static int link_elf_search_symbol(linker_file_t, caddr_t value, 143 static void link_elf_unload_file(linker_file_t); [all …]
|
H A D | kern_ctf.c | 44 link_elf_ctf_get(linker_file_t lf, linker_ctf_t *lc) in link_elf_ctf_get() 311 link_elf_ctf_get_ddb(linker_file_t lf, linker_ctf_t *lc) in link_elf_ctf_get_ddb() 334 link_elf_ctf_lookup_typename(linker_file_t lf, linker_ctf_t *lc, in link_elf_ctf_lookup_typename()
|
H A D | kern_module.c | 149 module_register(const moduledata_t *data, linker_file_t container) in module_register() 295 linker_file_t
|
H A D | subr_firmware.c | 102 linker_file_t file; /* module file, if autoloaded */ 351 linker_file_t result; in loadimage()
|
/freebsd/sys/i386/i386/ |
H A D | elf_machdep.c | 173 elf_reloc_internal(linker_file_t lf, Elf_Addr relocbase, const void *data, in elf_reloc_internal() 272 elf_reloc(linker_file_t lf, Elf_Addr relocbase, const void *data, int type, in elf_reloc() 280 elf_reloc_local(linker_file_t lf, Elf_Addr relocbase, const void *data, in elf_reloc_local() 289 elf_cpu_load_file(linker_file_t lf __unused) in elf_cpu_load_file() 296 elf_cpu_unload_file(linker_file_t lf __unused) in elf_cpu_unload_file()
|
/freebsd/sys/arm/arm/ |
H A D | elf_machdep.c | 184 elf_reloc_internal(linker_file_t lf, Elf_Addr relocbase, const void *data, in elf_reloc_internal() 263 elf_reloc(linker_file_t lf, Elf_Addr relocbase, const void *data, int type, in elf_reloc() 271 elf_reloc_local(linker_file_t lf, Elf_Addr relocbase, const void *data, in elf_reloc_local() 279 elf_cpu_load_file(linker_file_t lf) in elf_cpu_load_file() 321 elf_cpu_unload_file(linker_file_t lf) in elf_cpu_unload_file()
|
H A D | unwind.c | 171 populate_module_info(struct module_info *info, linker_file_t lf) in populate_module_info()
|
/freebsd/sys/arm64/arm64/ |
H A D | elf_machdep.c | 178 elf_reloc_internal(linker_file_t lf, Elf_Addr relocbase, const void *data, in elf_reloc_internal() 271 elf_reloc_local(linker_file_t lf, Elf_Addr relocbase, const void *data, in elf_reloc_local() 281 elf_reloc(linker_file_t lf, Elf_Addr relocbase, const void *data, int type, in elf_reloc() 289 elf_reloc_late(linker_file_t lf, Elf_Addr relocbase, const void *data, in elf_reloc_late() 298 elf_cpu_load_file(linker_file_t lf) in elf_cpu_load_file() 307 elf_cpu_unload_file(linker_file_t lf __unused) in elf_cpu_unload_file()
|
/freebsd/sys/gnu/gcov/ |
H A D | gcov_subr.c | 98 linker_file_t link_info; in within_module() 120 linker_file_t lf; in gcov_invoke_ctor() 133 gcov_invoke_lf_ctors(linker_file_t lf, void *arg __unused) in gcov_invoke_lf_ctors()
|
/freebsd/sys/amd64/amd64/ |
H A D | elf_machdep.c | 276 elf_reloc_internal(linker_file_t lf, Elf_Addr relocbase, const void *data, in elf_reloc_internal() 400 elf_reloc(linker_file_t lf, Elf_Addr relocbase, const void *data, int type, in elf_reloc() 408 elf_reloc_local(linker_file_t lf, Elf_Addr relocbase, const void *data, in elf_reloc_local() 416 elf_reloc_late(linker_file_t lf, Elf_Addr relocbase, const void *data, in elf_reloc_late() 424 elf_cpu_load_file(linker_file_t lf __unused) in elf_cpu_load_file() 431 elf_cpu_unload_file(linker_file_t lf __unused) in elf_cpu_unload_file()
|
/freebsd/sys/powerpc/powerpc/ |
H A D | elf32_machdep.c | 236 elf_reloc_internal(linker_file_t lf, Elf_Addr relocbase, const void *data, in elf_reloc_internal() 372 elf_reloc(linker_file_t lf, Elf_Addr relocbase, const void *data, int type, in elf_reloc() 380 elf_reloc_local(linker_file_t lf, Elf_Addr relocbase, const void *data, in elf_reloc_local() 388 elf_cpu_load_file(linker_file_t lf) in elf_cpu_load_file() 398 elf_cpu_unload_file(linker_file_t lf __unused) in elf_cpu_unload_file()
|
H A D | elf64_machdep.c | 324 elf_reloc_internal(linker_file_t lf, Elf_Addr relocbase, const void *data, in elf_reloc_internal() 424 elf_reloc(linker_file_t lf, Elf_Addr relocbase, const void *data, int type, in elf_reloc() 432 elf_reloc_local(linker_file_t lf, Elf_Addr relocbase, const void *data, in elf_reloc_local() 440 elf_cpu_load_file(linker_file_t lf) in elf_cpu_load_file() 449 elf_cpu_unload_file(linker_file_t lf __unused) in elf_cpu_unload_file()
|
/freebsd/sys/riscv/riscv/ |
H A D | elf_machdep.c | 290 elf_reloc_internal(linker_file_t lf, Elf_Addr relocbase, const void *data, in elf_reloc_internal() 515 elf_reloc(linker_file_t lf, Elf_Addr relocbase, const void *data, int type, in elf_reloc() 523 elf_reloc_local(linker_file_t lf, Elf_Addr relocbase, const void *data, in elf_reloc_local() 531 elf_cpu_load_file(linker_file_t lf __unused) in elf_cpu_load_file() 538 elf_cpu_unload_file(linker_file_t lf __unused) in elf_cpu_unload_file()
|
/freebsd/sys/cddl/dev/kinst/ |
H A D | kinst.c | 151 kinst_probe_create(struct kinst_probe *kp, linker_file_t lf) in kinst_probe_create() 175 kinst_linker_file_cb(linker_file_t lf, void *arg) in kinst_linker_file_cb()
|
/freebsd/sys/cddl/dev/fbt/arm/ |
H A D | fbt_isa.c | 88 fbt_provide_module_function(linker_file_t lf, int symindx, in fbt_provide_module_function()
|
/freebsd/sys/cddl/dev/fbt/riscv/ |
H A D | fbt_isa.c | 92 fbt_provide_module_function(linker_file_t lf, int symindx, in fbt_provide_module_function()
|
/freebsd/sys/cddl/dev/fbt/aarch64/ |
H A D | fbt_isa.c | 84 fbt_provide_module_function(linker_file_t lf, int symindx, in fbt_provide_module_function()
|
/freebsd/sys/dev/ksyms/ |
H A D | ksyms.c | 128 ksyms_size_permod(linker_file_t lf, void *arg) in ksyms_size_permod() 184 ksyms_add(linker_file_t lf, void *arg) in ksyms_add()
|
/freebsd/sys/cddl/dev/sdt/ |
H A D | sdt.c | 563 sdt_load_providers_cb(linker_file_t lf, void *arg __unused) in sdt_load_providers_cb() 570 sdt_load_probes_cb(linker_file_t lf, void *arg __unused) in sdt_load_probes_cb()
|
/freebsd/sys/cddl/dev/fbt/powerpc/ |
H A D | fbt_isa.c | 104 fbt_provide_module_function(linker_file_t lf, int symindx, in fbt_provide_module_function()
|
/freebsd/sys/cddl/dev/fbt/x86/ |
H A D | fbt_isa.c | 178 fbt_provide_module_function(linker_file_t lf, int symindx, in fbt_provide_module_function()
|