Searched refs:bigwad (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/uts/common/exec/elf/ |
H A D | old_notes.c | 115 } *bigwad; in write_old_elfnotes() local 117 size_t bigsize = MAX(sizeof (*bigwad), (size_t)xregsize); in write_old_elfnotes() 125 bigwad = kmem_alloc(bigsize, KM_SLEEP); in write_old_elfnotes() 135 oprgetpsinfo(p, &bigwad->psinfo, NULL); in write_old_elfnotes() 137 error = elfnote(vp, &offset, NT_PRPSINFO, sizeof (bigwad->psinfo), in write_old_elfnotes() 138 (caddr_t)&bigwad->psinfo, rlimit, credp); in write_old_elfnotes() 149 bigwad->auxv[i].a_type = up->u_auxv[i].a_type; in write_old_elfnotes() 150 bigwad->auxv[i].a_un.a_val = up->u_auxv[i].a_un.a_val; in write_old_elfnotes() 152 error = elfnote(vp, &offset, NT_AUXV, sizeof (bigwad->auxv), in write_old_elfnotes() 153 (caddr_t)bigwad->auxv, rlimit, credp); in write_old_elfnotes() [all …]
|
H A D | elf_notes.c | 185 } *bigwad; in write_elfnotes() local 190 size_t bigsize = MAX(psize, MAX(sizeof (*bigwad), in write_elfnotes() 216 bigwad = kmem_alloc(bigsize, KM_SLEEP); in write_elfnotes() 229 prgetpsinfo(p, &bigwad->psinfo); in write_elfnotes() 231 bigwad->psinfo.pr_wstat = wstat(CLD_DUMPED, sig); in write_elfnotes() 233 error = elfnote(vp, &offset, NT_PSINFO, sizeof (bigwad->psinfo), in write_elfnotes() 234 (caddr_t)&bigwad->psinfo, rlimit, credp); in write_elfnotes() 253 prgetstatus(p, &bigwad->pstatus, p->p_zone); in write_elfnotes() 254 bigwad->pstatus.pr_lwp.pr_why = 0; in write_elfnotes() 260 error = elfnote(vp, &offset, NT_PSTATUS, sizeof (bigwad->pstatus), in write_elfnotes() [all …]
|
H A D | elf.c | 284 struct bigwad { in elfexec() struct 291 } *bigwad; /* kmem_alloc this behemoth so we don't blow stack */ in elfexec() local 301 bigwad = kmem_alloc(sizeof (struct bigwad), KM_SLEEP); in elfexec() 302 ehdrp = &bigwad->ehdr; in elfexec() 303 dlnp = bigwad->dl_name; in elfexec() 304 pathbufp = bigwad->pathbuf; in elfexec() 515 aux = bigwad->elfargs; in elfexec() 630 if (error && dlnp != bigwad->dl_name) { in elfexec() 646 bigwad->exenv.ex_brkbase = (caddr_t)PAGESIZE; in elfexec() 647 bigwad->exenv.ex_bssbase = (caddr_t)PAGESIZE; in elfexec() [all …]
|