Home
last modified time | relevance | path

Searched refs:hdr (Results 1 – 7 of 7) sorted by relevance

/scripts/
Dinsert-sys-cert.c68 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 …]
DMakefile.headersinst50 input-files1 := $(foreach hdr, $(header-y), \
51 $(if $(wildcard $(srcdir)/$(hdr)), \
52 $(wildcard $(srcdir)/$(hdr))) \
55 input-files2 := $(foreach hdr, $(header-y), \
56 $(if $(wildcard $(srcdir)/$(hdr)),, \
57 $(if $(wildcard $(oldsrcdir)/$(hdr)), \
58 $(wildcard $(oldsrcdir)/$(hdr)), \
59 $(error Missing UAPI file $(srcdir)/$(hdr))) \
62 input-files3 := $(foreach hdr, $(genhdr-y), \
63 $(if $(wildcard $(gendir)/$(hdr)), \
[all …]
Dasn1_compiler.c559 static void render(FILE *out, FILE *hdr);
568 FILE *out, *hdr; in main() local
652 hdr = fopen(headername, "w"); in main()
653 if (!hdr) { in main()
658 render(out, hdr); in main()
665 if (fclose(hdr) < 0) { in main()
1296 static void render(FILE *out, FILE *hdr) in render() argument
1303 fprintf(hdr, "/*\n"); in render()
1304 fprintf(hdr, " * Automatically generated by asn1_compiler. Do not edit\n"); in render()
1305 fprintf(hdr, " *\n"); in render()
[all …]
DKbuild.include260 # $(Q)$(MAKE) $(hdr-inst)=dir
261 hdr-inst := -f $(srctree)/scripts/Makefile.headersinst obj
/scripts/mod/
Dmodpost.c409 Elf_Ehdr *hdr; in parse_elf() local
415 hdr = grab_file(filename, &info->size); in parse_elf()
416 if (!hdr) { in parse_elf()
425 info->hdr = hdr; in parse_elf()
426 if (info->size < sizeof(*hdr)) { in parse_elf()
431 if ((hdr->e_ident[EI_MAG0] != ELFMAG0) || in parse_elf()
432 (hdr->e_ident[EI_MAG1] != ELFMAG1) || in parse_elf()
433 (hdr->e_ident[EI_MAG2] != ELFMAG2) || in parse_elf()
434 (hdr->e_ident[EI_MAG3] != ELFMAG3)) { in parse_elf()
439 hdr->e_type = TO_NATIVE(hdr->e_type); in parse_elf()
[all …]
Dmodpost.h127 Elf_Ehdr *hdr; member
Dfile2alias.c1374 symval = (void *)info->hdr in handle_moddevtable()