Lines Matching refs:hdrsize
1186 size_t hdrsize, notesz, coresize;
1228 hdrsize = sizeof(Elf_Ehdr) + sizeof(Elf_Phdr) * (1 + seginfo.count);
1230 coresize = round_page(hdrsize + notesz) + seginfo.size;
1250 hdr = malloc(hdrsize, M_TEMP, M_WAITOK);
1255 error = __elfN(corehdr)(td, vp, cred, seginfo.count, hdr, hdrsize,
1265 offset = round_page(hdrsize + notesz);
1411 int numsegs, void *hdr, size_t hdrsize, struct note_info_list *notelst,
1420 bzero(hdr, hdrsize);
1421 __elfN(puthdr)(td, hdr, hdrsize, numsegs, notesz);
1434 sbuf_bcat(sb, hdr, hdrsize);
1504 __elfN(puthdr)(struct thread *td, void *hdr, size_t hdrsize, int numsegs,
1547 phdr->p_offset = hdrsize;
1558 phc.offset = round_page(hdrsize + notesz);