/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ |
H A D | r535.c | 1628 meta->sizeOfRadix3Elf = gsp->fb.wpr2.elf.size; 1645 meta->gspFwOffset = gsp->fb.wpr2.elf.addr; 2277 gsp->fb.wpr2.elf.size = gsp->fw.len; 2278 gsp->fb.wpr2.elf.addr = ALIGN_DOWN(gsp->fb.wpr2.boot.addr - gsp->fb.wpr2.elf.size, 0x10000); 2292 gsp->fb.wpr2.heap.addr = ALIGN_DOWN(gsp->fb.wpr2.elf.addr - gsp->fb.wpr2.heap.size, 0x100000); 2293 gsp->fb.wpr2.heap.size = ALIGN_DOWN(gsp->fb.wpr2.elf.addr - gsp->fb.wpr2.heap.addr, 0x100000);
|
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | gsp.h | 63 } frts, boot, elf, heap; member in struct:nvkm_gsp::__anon19::__anon22
|
/linux-master/arch/xtensa/kernel/ |
H A D | process.c | 29 #include <linux/elf.h>
|
/linux-master/arch/x86/kernel/cpu/ |
H A D | amd.c | 4 #include <linux/elf.h>
|
/linux-master/arch/riscv/mm/ |
H A D | init.c | 24 #include <linux/elf.h>
|
/linux-master/tools/testing/selftests/mm/ |
H A D | protection_keys.c | 27 #include <linux/elf.h>
|
/linux-master/arch/arm64/kernel/ |
H A D | head.S | 25 #include <asm/elf.h>
|
H A D | ptrace.c | 30 #include <linux/elf.h>
|
/linux-master/arch/mips/kernel/ |
H A D | ptrace.c | 19 #include <linux/elf.h>
|
/linux-master/mm/ |
H A D | memory.c | 67 #include <linux/elf.h>
|
/linux-master/tools/objtool/ |
H A D | check.c | 500 sym = find_symbol_by_name(file->elf, symname); 507 reloc = find_reloc_by_dest_range(file->elf, sym->sec, off, end - off); 549 sym = find_symbol_by_name(file->elf, "pv_ops"); 593 rsec = find_section_by_name(file->elf, ".rela.discard.unreachable"); 633 rsec = find_section_by_name(file->elf, ".rela.discard.reachable"); 678 sec = find_section_by_name(file->elf, ".static_call_sites"); 692 sec = elf_create_section_pair(file->elf, ".static_call_sites", 704 if (!elf_init_reloc_text_sym(file->elf, sec, 724 key_sym = find_symbol_by_name(file->elf, tmp); 746 if (!elf_init_reloc_data_sym(file->elf, se [all...] |
H A D | orc_gen.c | 124 sec = find_section_by_name(file->elf, ".orc_unwind"); 129 orc_sec = elf_create_section(file->elf, ".orc_unwind", 134 sec = elf_create_section_pair(file->elf, ".orc_unwind_ip", sizeof(int), nr, nr); 140 if (write_orc_entry(file->elf, orc_sec, sec, idx++,
|
H A D | orc_dump.c | 21 Elf *elf; local 27 struct elf dummy_elf = {}; 40 elf = elf_begin(fd, ELF_C_READ_MMAP, NULL); 41 if (!elf) { 46 if (!elf64_getehdr(elf)) { 50 memcpy(&dummy_elf.ehdr, elf64_getehdr(elf), sizeof(dummy_elf.ehdr)); 52 if (elf_getshdrnum(elf, &nr_sections)) { 57 if (elf_getshdrstrndx(elf, &shstrtab_idx)) { 63 scn = elf_getscn(elf, i); 74 name = elf_strptr(elf, shstrtab_id [all...] |
/linux-master/scripts/mod/ |
H A D | modpost.c | 15 #include <elf.h> 702 static const char *sym_name(struct elf_info *elf, Elf_Sym *sym) argument 705 return elf->strtab + sym->st_name; 765 static void check_section(const char *modname, struct elf_info *elf, argument 768 const char *sec = sech_name(elf, sechdr); 1002 static Elf_Sym *find_fromsym(struct elf_info *elf, Elf_Addr addr, argument 1005 return symsearch_find_nearest(elf, addr, secndx, false, ~0); 1008 static Elf_Sym *find_tosym(struct elf_info *elf, Elf_Addr addr, Elf_Sym *sym) argument 1013 if (is_valid_name(elf, sym)) 1020 new_sym = symsearch_find_nearest(elf, add 1025 is_executable_section(struct elf_info *elf, unsigned int secndx) argument 1033 default_mismatch_handler(const char *modname, struct elf_info *elf, const struct sectioncheck* const mismatch, Elf_Sym *tsym, unsigned int fsecndx, const char *fromsec, Elf_Addr faddr, const char *tosec, Elf_Addr taddr) argument 1083 check_export_symbol(struct module *mod, struct elf_info *elf, Elf_Addr faddr, const char *secname, Elf_Sym *sym) argument 1153 check_section_mismatch(struct module *mod, struct elf_info *elf, Elf_Sym *sym, unsigned int fsecndx, const char *fromsec, Elf_Addr faddr, Elf_Addr taddr) argument 1352 get_rel_type_and_sym(struct elf_info *elf, uint64_t r_info, unsigned int *r_type, unsigned int *r_sym) argument 1382 section_rela(struct module *mod, struct elf_info *elf, unsigned int fsecndx, const char *fromsec, const Elf_Rela *start, const Elf_Rela *stop) argument 1424 section_rel(struct module *mod, struct elf_info *elf, unsigned int fsecndx, const char *fromsec, const Elf_Rel *start, const Elf_Rel *stop) argument 1473 check_sec_ref(struct module *mod, struct elf_info *elf) argument [all...] |
/linux-master/tools/lib/bpf/ |
H A D | libbpf.c | 630 Elf *elf; member in struct:elf_state 670 /* Information when doing ELF related work. Only valid if efile.elf is not NULL */ 1432 * avoid user freeing them before elf finish. 1447 if (!obj->efile.elf) 1450 elf_end(obj->efile.elf); 1451 obj->efile.elf = NULL; 1466 Elf *elf; local 1468 if (obj->efile.elf) { 1469 pr_warn("elf: init internal error\n"); 1475 elf 3566 Elf *elf = obj->efile.elf; local 3710 Elf *elf = obj->efile.elf; local 11616 Elf *elf; local [all...] |
/linux-master/fs/ |
H A D | binfmt_elf_fdpic.c | 33 #include <linux/elf.h> 34 #include <linux/elf-fdpic.h> 214 /* binfmt_elf handles non-fdpic elf except on nommu */ 486 * If the arch defines ELF_BASE_PLATFORM (in asm/elf.h), the value 1237 static inline void fill_elf_fdpic_header(struct elfhdr *elf, int segs) argument 1239 memcpy(elf->e_ident, ELFMAG, SELFMAG); 1240 elf->e_ident[EI_CLASS] = ELF_CLASS; 1241 elf->e_ident[EI_DATA] = ELF_DATA; 1242 elf->e_ident[EI_VERSION] = EV_CURRENT; 1243 elf 1424 fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, elf_addr_t e_shoff, int segs) argument 1470 struct elfhdr *elf = NULL; local [all...] |
/linux-master/arch/x86/kernel/fpu/ |
H A D | xstate.c | 24 #include <asm/elf.h>
|
/linux-master/tools/objtool/include/objtool/ |
H A D | elf.h | 15 #include <arch/elf.h> 82 struct elf { struct 83 Elf *elf; member in struct:elf 108 struct elf *elf_open_read(const char *name, int flags); 110 struct section *elf_create_section(struct elf *elf, const char *name, 112 struct section *elf_create_section_pair(struct elf *elf, const char *name, 116 struct symbol *elf_create_prefix_symbol(struct elf *elf, struc 152 has_multiple_files(struct elf *elf) argument 157 elf_addr_size(struct elf *elf) argument 162 elf_rela_size(struct elf *elf) argument 167 elf_data_rela_type(struct elf *elf) argument 172 elf_text_rela_type(struct elf *elf) argument 187 mark_sec_changed(struct elf *elf, struct section *sec, bool changed) argument 242 set_reloc_offset(struct elf *elf, struct reloc *reloc, u64 offset) argument 253 set_reloc_addend(struct elf *elf, struct reloc *reloc, s64 addend) argument 278 set_reloc_sym(struct elf *elf, struct reloc *reloc, unsigned int sym) argument 288 set_reloc_type(struct elf *elf, struct reloc *reloc, unsigned int type) argument [all...] |
H A D | orc.h | 8 void orc_print_dump(struct elf *dummy_elf, struct orc_entry *orc, int i); 9 int write_orc_entry(struct elf *elf, struct section *orc_sec,
|
/linux-master/tools/objtool/arch/x86/ |
H A D | orc.c | 100 int write_orc_entry(struct elf *elf, struct section *orc_sec, argument 110 orc->sp_offset = bswap_if_needed(elf, orc->sp_offset); 111 orc->bp_offset = bswap_if_needed(elf, orc->bp_offset); 114 if (!elf_init_reloc_text_sym(elf, ip_sec, idx * sizeof(int), idx, 177 void orc_print_dump(struct elf *dummy_elf, struct orc_entry *orc, int i)
|
/linux-master/tools/objtool/arch/loongarch/ |
H A D | orc.c | 101 int write_orc_entry(struct elf *elf, struct section *orc_sec, argument 113 if (!elf_init_reloc_text_sym(elf, ip_sec, idx * sizeof(int), idx, 157 void orc_print_dump(struct elf *dummy_elf, struct orc_entry *orc, int i)
|
H A D | decode.c | 64 static bool is_loongarch(const struct elf *elf) argument 66 if (elf->ehdr.e_machine == EM_LOONGARCH) 69 WARN("unexpected ELF machine type %d", elf->ehdr.e_machine); 280 const struct elf *elf = file->elf; local 284 if (!is_loongarch(elf))
|
/linux-master/include/linux/ |
H A D | crash_core.h | 7 #include <linux/elf.h> 57 /* Alignment required for elf header segment */
|
/linux-master/drivers/remoteproc/ |
H A D | remoteproc_core.c | 34 #include <linux/elf.h>
|
/linux-master/arch/riscv/kernel/ |
H A D | ptrace.c | 18 #include <linux/elf.h>
|