Searched refs:hdr (Results 1 – 5 of 5) sorted by relevance
/scripts/ |
D | insert-sys-cert.c | 68 static unsigned long get_offset_from_address(Elf_Ehdr *hdr, unsigned long addr) in get_offset_from_address() argument 73 x = (void *)hdr + hdr->e_shoff; in get_offset_from_address() 74 if (hdr->e_shnum == SHN_UNDEF) in get_offset_from_address() 77 num_sections = hdr->e_shnum; in get_offset_from_address() 93 static void get_symbol_from_map(Elf_Ehdr *hdr, FILE *f, char *name, in get_symbol_from_map() argument 128 s->offset = get_offset_from_address(hdr, s->address); in get_symbol_from_map() 130 s->content = (void *)hdr + s->offset; in get_symbol_from_map() 133 static Elf_Sym *find_elf_symbol(Elf_Ehdr *hdr, Elf_Shdr *symtab, char *name) in find_elf_symbol() argument 141 x = (void *)hdr + hdr->e_shoff; in find_elf_symbol() 143 symtab_start = (void *)hdr + symtab->sh_offset; in find_elf_symbol() [all …]
|
D | asn1_compiler.c | 555 static void render(FILE *out, FILE *hdr); 564 FILE *out, *hdr; in main() local 648 hdr = fopen(headername, "w"); in main() 649 if (!hdr) { in main() 654 render(out, hdr); in main() 661 if (fclose(hdr) < 0) { in main() 1292 static void render(FILE *out, FILE *hdr) in render() argument 1299 fprintf(hdr, "/*\n"); in render() 1300 fprintf(hdr, " * Automatically generated by asn1_compiler. Do not edit\n"); in render() 1301 fprintf(hdr, " *\n"); in render() [all …]
|
/scripts/mod/ |
D | modpost.c | 337 if (info->hdr->e_type != ET_REL) in sym_get_data_by_offset() 340 return (void *)info->hdr + sechdr->sh_offset + offset; in sym_get_data_by_offset() 478 Elf_Ehdr *hdr; in parse_elf() local 484 hdr = grab_file(filename, &info->size); in parse_elf() 485 if (!hdr) { in parse_elf() 494 info->hdr = hdr; in parse_elf() 495 if (info->size < sizeof(*hdr)) { in parse_elf() 500 if ((hdr->e_ident[EI_MAG0] != ELFMAG0) || in parse_elf() 501 (hdr->e_ident[EI_MAG1] != ELFMAG1) || in parse_elf() 502 (hdr->e_ident[EI_MAG2] != ELFMAG2) || in parse_elf() [all …]
|
D | modpost.h | 137 Elf_Ehdr *hdr; member
|
D | file2alias.c | 1542 symval = (void *)info->hdr in handle_moddevtable()
|