Lines Matching refs:phdr

1267 	Elf64_Phdr *phdr;  in crash_prepare_elf64_headers()  local
1295 phdr = (Elf64_Phdr *)(ehdr + 1); in crash_prepare_elf64_headers()
1311 phdr->p_type = PT_NOTE; in crash_prepare_elf64_headers()
1313 phdr->p_offset = phdr->p_paddr = notes_addr; in crash_prepare_elf64_headers()
1314 phdr->p_filesz = phdr->p_memsz = sizeof(note_buf_t); in crash_prepare_elf64_headers()
1316 phdr++; in crash_prepare_elf64_headers()
1320 phdr->p_type = PT_NOTE; in crash_prepare_elf64_headers()
1321 phdr->p_offset = phdr->p_paddr = paddr_vmcoreinfo_note(); in crash_prepare_elf64_headers()
1322 phdr->p_filesz = phdr->p_memsz = VMCOREINFO_NOTE_SIZE; in crash_prepare_elf64_headers()
1324 phdr++; in crash_prepare_elf64_headers()
1328 phdr->p_type = PT_LOAD; in crash_prepare_elf64_headers()
1329 phdr->p_flags = PF_R|PF_W|PF_X; in crash_prepare_elf64_headers()
1330 phdr->p_vaddr = (unsigned long) _text; in crash_prepare_elf64_headers()
1331 phdr->p_filesz = phdr->p_memsz = _end - _text; in crash_prepare_elf64_headers()
1332 phdr->p_offset = phdr->p_paddr = __pa_symbol(_text); in crash_prepare_elf64_headers()
1334 phdr++; in crash_prepare_elf64_headers()
1342 phdr->p_type = PT_LOAD; in crash_prepare_elf64_headers()
1343 phdr->p_flags = PF_R|PF_W|PF_X; in crash_prepare_elf64_headers()
1344 phdr->p_offset = mstart; in crash_prepare_elf64_headers()
1346 phdr->p_paddr = mstart; in crash_prepare_elf64_headers()
1347 phdr->p_vaddr = (unsigned long) __va(mstart); in crash_prepare_elf64_headers()
1348 phdr->p_filesz = phdr->p_memsz = mend - mstart + 1; in crash_prepare_elf64_headers()
1349 phdr->p_align = 0; in crash_prepare_elf64_headers()
1352 phdr, phdr->p_vaddr, phdr->p_paddr, phdr->p_filesz, in crash_prepare_elf64_headers()
1353 ehdr->e_phnum, phdr->p_offset); in crash_prepare_elf64_headers()
1354 phdr++; in crash_prepare_elf64_headers()