Lines Matching defs:hdrsize
1602 size_t hdrsize, notesz, coresize;
1614 hdrsize = sizeof(Elf_Ehdr) + sizeof(Elf_Phdr) * (1 + seginfo.count);
1616 hdrsize += sizeof(Elf_Shdr);
1618 coresize = round_page(hdrsize + notesz) + seginfo.size;
1664 hdr = malloc(hdrsize, M_TEMP, M_WAITOK);
1665 error = __elfN(corehdr)(¶ms, seginfo.count, hdr, hdrsize, ¬elst,
1675 offset = round_page(hdrsize + notesz);
1827 size_t hdrsize, struct note_info_list *notelst, size_t notesz,
1835 bzero(hdr, hdrsize);
1836 __elfN(puthdr)(p->td, hdr, hdrsize, numsegs, notesz, flags);
1841 sbuf_bcat(sb, hdr, hdrsize);
1907 __elfN(puthdr)(struct thread *td, void *hdr, size_t hdrsize, int numsegs,
1948 KASSERT(ehdr->e_shoff == hdrsize - sizeof(Elf_Shdr),
1949 ("e_shoff: %zu, hdrsize - shdr: %zu",
1950 (size_t)ehdr->e_shoff, hdrsize - sizeof(Elf_Shdr)));
1977 phdr->p_offset = hdrsize;
1988 phc.offset = round_page(hdrsize + notesz);