Lines Matching refs:hdrsize
1381 size_t hdrsize, notesz, coresize;
1399 hdrsize = sizeof(Elf_Ehdr) + sizeof(Elf_Phdr) * (1 + seginfo.count);
1401 coresize = round_page(hdrsize + notesz) + seginfo.size;
1444 hdr = malloc(hdrsize, M_TEMP, M_WAITOK);
1445 error = __elfN(corehdr)(¶ms, seginfo.count, hdr, hdrsize, ¬elst,
1455 offset = round_page(hdrsize + notesz);
1607 size_t hdrsize, struct note_info_list *notelst, size_t notesz)
1614 bzero(hdr, hdrsize);
1615 __elfN(puthdr)(p->td, hdr, hdrsize, numsegs, notesz);
1620 sbuf_bcat(sb, hdr, hdrsize);
1692 __elfN(puthdr)(struct thread *td, void *hdr, size_t hdrsize, int numsegs,
1731 phdr->p_offset = hdrsize;
1742 phc.offset = round_page(hdrsize + notesz);