Lines Matching refs:psections
73 Elf_Phdr *psections; member
116 Elf_Phdr *psections; in ELFNAMEEND() local
128 psections = NULL; in ELFNAMEEND()
219 psectionssize = npsections * sizeof(*psections); in ELFNAMEEND()
222 psections = kmem_zalloc(psectionssize, KM_SLEEP); in ELFNAMEEND()
226 ws.psections = psections; in ELFNAMEEND()
240 ws.psections->p_type = PT_NOTE; in ELFNAMEEND()
241 ws.psections->p_offset = notestart; in ELFNAMEEND()
242 ws.psections->p_vaddr = 0; in ELFNAMEEND()
243 ws.psections->p_paddr = 0; in ELFNAMEEND()
244 ws.psections->p_filesz = notesize; in ELFNAMEEND()
245 ws.psections->p_memsz = 0; in ELFNAMEEND()
246 ws.psections->p_flags = PF_R; in ELFNAMEEND()
247 ws.psections->p_align = ELFROUNDSIZE; in ELFNAMEEND()
250 MODULE_HOOK_CALL(coredump_write_hook, (cookie, UIO_SYSSPACE, psections, in ELFNAMEEND()
275 if (psections[i].p_filesz == 0) in ELFNAMEEND()
280 if (offset != psections[i].p_offset) in ELFNAMEEND()
283 (long long) psections[i].p_filesz); in ELFNAMEEND()
287 (void *)(vaddr_t)psections[i].p_vaddr, in ELFNAMEEND()
288 psections[i].p_filesz), ENOSYS, error); in ELFNAMEEND()
294 if (psections) in ELFNAMEEND()
295 kmem_free(psections, psectionssize); in ELFNAMEEND()
369 *ws->psections++ = phdr; in ELFNAMEEND()