Lines Matching refs:credp
997 getelfhead(vnode_t *vp, cred_t *credp, Ehdr *ehdr, int *nshdrs, int *shstrndx, in getelfhead() argument
1009 (rlim64_t)0, credp, &resid)) != 0) in getelfhead()
1050 (rlim64_t)0, credp, &resid)) != 0) in getelfhead()
1071 getelfphdr(vnode_t *vp, cred_t *credp, const Ehdr *ehdr, int nphdrs, in getelfphdr() argument
1104 credp, &resid)) != 0) { in getelfphdr()
1123 getelfshdr(vnode_t *vp, cred_t *credp, const Ehdr *ehdr, in getelfshdr() argument
1155 credp, &resid)) != 0) { in getelfshdr()
1182 credp, &resid)) != 0) { in getelfshdr()
1389 rlim64_t rlimit, cred_t *credp) in elfnote() argument
1411 sizeof (note), rlimit, credp)) in elfnote()
1417 note.nhdr.n_descsz, rlimit, credp)) in elfnote()
1429 void *buf, size_t size, cred_t *credp, rlim64_t rlimit) in copy_scn() argument
1438 UIO_SYSSPACE, 0, (rlim64_t)0, credp, &resid) != 0 || in copy_scn()
1441 buf, len - resid, rlimit, credp) != 0) { in copy_scn()
1470 process_scns(core_content_t content, proc_t *p, cred_t *credp, vnode_t *vp, in process_scns() argument
1534 if (getelfhead(mvp, credp, &ehdr, &nshdrs, &shstrndx, in process_scns()
1536 getelfshdr(mvp, credp, &ehdr, nshdrs, shstrndx, in process_scns()
1594 doffsetp, data, datasz, credp, in process_scns()
1672 doffsetp, data, datasz, credp, in process_scns()
1690 doffsetp, data, datasz, credp, in process_scns()
1741 data, v[i].sh_size, rlimit, credp)) != 0) in process_scns()
1754 elfcore(vnode_t *vp, proc_t *p, cred_t *credp, rlim64_t rlimit, int sig, in elfcore() argument
1795 (void) process_scns(content, p, credp, NULL, NULL, NULL, 0, in elfcore()
1886 sizeof (Ehdr), rlimit, credp)) in elfcore()
2029 v, phdrsz, rlimit, credp)) != 0) in elfcore()
2033 credp)) != 0) in elfcore()
2037 credp, content)) != 0) in elfcore()
2058 rlimit, credp)) == 0) { in elfcore()
2071 &error, sizeof (error), rlimit, credp); in elfcore()
2077 rlimit, credp)) != 0) in elfcore()
2120 &killinfo, sizeof (killinfo), rlimit, credp); in elfcore()
2144 sizeof (v[i]) * (nphdrs - i), rlimit, credp)) != 0) in elfcore()
2164 if ((error = process_scns(content, p, credp, vp, in elfcore()
2174 &bigwad->shdr[0], shdrsz, rlimit, credp)) != 0) in elfcore()
2206 extern int elf32core(vnode_t *vp, proc_t *p, cred_t *credp,