Lines Matching refs:pnote
2776 const char *note_vendor, const Elf_Phdr *pnote, in __elfN()
2786 if (pnote == NULL || pnote->p_filesz > PAGE_SIZE) in __elfN()
2789 if (pnote->p_offset > PAGE_SIZE || in __elfN()
2790 pnote->p_filesz > PAGE_SIZE - pnote->p_offset) { in __elfN()
2791 buf = malloc(pnote->p_filesz, M_TEMP, M_NOWAIT); in __elfN()
2794 buf = malloc(pnote->p_filesz, M_TEMP, M_WAITOK); in __elfN()
2797 error = vn_rdwr(UIO_READ, imgp->vp, buf, pnote->p_filesz, in __elfN()
2798 pnote->p_offset, UIO_SYSSPACE, IO_NODELOCKED, in __elfN()
2805 note_end = (const Elf_Note *)(buf + pnote->p_filesz); in __elfN()
2808 pnote->p_offset); in __elfN()
2810 pnote->p_offset + pnote->p_filesz); in __elfN()