• Home
  • Raw
  • Download

Lines Matching refs:phdr

658 	struct elf_phdr *phdr;  in fadump_update_elfcore_header()  local
664 phdr = (struct elf_phdr *)bufp; in fadump_update_elfcore_header()
666 if (phdr->p_type == PT_NOTE) { in fadump_update_elfcore_header()
667 phdr->p_paddr = __pa(fw_dump.cpu_notes_buf_vaddr); in fadump_update_elfcore_header()
668 phdr->p_offset = phdr->p_paddr; in fadump_update_elfcore_header()
669 phdr->p_filesz = fw_dump.cpu_notes_buf_size; in fadump_update_elfcore_header()
670 phdr->p_memsz = fw_dump.cpu_notes_buf_size; in fadump_update_elfcore_header()
955 struct elf_phdr *phdr; in fadump_create_elfcore_headers() local
970 phdr = (struct elf_phdr *)bufp; in fadump_create_elfcore_headers()
972 phdr->p_type = PT_NOTE; in fadump_create_elfcore_headers()
973 phdr->p_flags = 0; in fadump_create_elfcore_headers()
974 phdr->p_vaddr = 0; in fadump_create_elfcore_headers()
975 phdr->p_align = 0; in fadump_create_elfcore_headers()
977 phdr->p_offset = 0; in fadump_create_elfcore_headers()
978 phdr->p_paddr = 0; in fadump_create_elfcore_headers()
979 phdr->p_filesz = 0; in fadump_create_elfcore_headers()
980 phdr->p_memsz = 0; in fadump_create_elfcore_headers()
985 phdr = (struct elf_phdr *)bufp; in fadump_create_elfcore_headers()
987 phdr->p_type = PT_NOTE; in fadump_create_elfcore_headers()
988 phdr->p_flags = 0; in fadump_create_elfcore_headers()
989 phdr->p_vaddr = 0; in fadump_create_elfcore_headers()
990 phdr->p_align = 0; in fadump_create_elfcore_headers()
992 phdr->p_paddr = fadump_relocate(paddr_vmcoreinfo_note()); in fadump_create_elfcore_headers()
993 phdr->p_offset = phdr->p_paddr; in fadump_create_elfcore_headers()
994 phdr->p_memsz = phdr->p_filesz = VMCOREINFO_NOTE_SIZE; in fadump_create_elfcore_headers()
1011 phdr = (struct elf_phdr *)bufp; in fadump_create_elfcore_headers()
1013 phdr->p_type = PT_LOAD; in fadump_create_elfcore_headers()
1014 phdr->p_flags = PF_R|PF_W|PF_X; in fadump_create_elfcore_headers()
1015 phdr->p_offset = mbase; in fadump_create_elfcore_headers()
1023 phdr->p_offset = fw_dump.boot_mem_dest_addr + offset; in fadump_create_elfcore_headers()
1030 phdr->p_paddr = mbase; in fadump_create_elfcore_headers()
1031 phdr->p_vaddr = (unsigned long)__va(mbase); in fadump_create_elfcore_headers()
1032 phdr->p_filesz = msize; in fadump_create_elfcore_headers()
1033 phdr->p_memsz = msize; in fadump_create_elfcore_headers()
1034 phdr->p_align = 0; in fadump_create_elfcore_headers()