Lines Matching refs:bigwad
94 } *bigwad; in write_old_elfnotes() local
95 size_t bigsize = sizeof (*bigwad); in write_old_elfnotes()
103 bigwad = kmem_alloc(bigsize, KM_SLEEP); in write_old_elfnotes()
113 oprgetpsinfo(p, &bigwad->psinfo, NULL); in write_old_elfnotes()
115 error = elfnote(vp, &offset, NT_PRPSINFO, sizeof (bigwad->psinfo), in write_old_elfnotes()
116 (caddr_t)&bigwad->psinfo, rlimit, credp); in write_old_elfnotes()
127 bigwad->auxv[i].a_type = up->u_auxv[i].a_type; in write_old_elfnotes()
128 bigwad->auxv[i].a_un.a_val = up->u_auxv[i].a_un.a_val; in write_old_elfnotes()
130 error = elfnote(vp, &offset, NT_AUXV, sizeof (bigwad->auxv), in write_old_elfnotes()
131 (caddr_t)bigwad->auxv, rlimit, credp); in write_old_elfnotes()
159 oprgetstatus(t, &bigwad->prstat, p->p_zone); in write_old_elfnotes()
160 bigwad->prstat.pr_why = 0; in write_old_elfnotes()
166 oprgetstatus(t, &bigwad->prstat, p->p_zone); in write_old_elfnotes()
170 sizeof (bigwad->prstat), (caddr_t)&bigwad->prstat, in write_old_elfnotes()
176 prgetprfpregs(lwp, &bigwad->fpregs); in write_old_elfnotes()
178 sizeof (bigwad->fpregs), (caddr_t)&bigwad->fpregs, in write_old_elfnotes()
187 kmem_free(bigwad, bigsize); in write_old_elfnotes()