Lines Matching refs:elfhdr
247 size += sizeof(struct elfhdr); /* ELF core header.*/ in get_fadump_area_size()
529 struct elfhdr *elf; in fadump_update_elfcore_header()
532 elf = (struct elfhdr *)bufp; in fadump_update_elfcore_header()
533 bufp += sizeof(struct elfhdr); in fadump_update_elfcore_header()
765 struct elfhdr *elf; in fadump_init_elfcore_header()
767 elf = (struct elfhdr *) bufp; in fadump_init_elfcore_header()
768 bufp += sizeof(struct elfhdr); in fadump_init_elfcore_header()
779 elf->e_phoff = sizeof(struct elfhdr); in fadump_init_elfcore_header()
782 elf->e_ehsize = sizeof(struct elfhdr); in fadump_init_elfcore_header()
838 struct elfhdr *elf; in fadump_create_elfcore_headers()
843 elf = (struct elfhdr *)bufp; in fadump_create_elfcore_headers()
844 bufp += sizeof(struct elfhdr); in fadump_create_elfcore_headers()