Lines Matching refs:tcred
4461 struct ucred *tcred; member
4474 char *fnamep, struct ucred *tcred, NFSPROC_T *p, struct vnode **nvpp) in nfsrv_dscreate() argument
4485 NFSNAMEICNDSET(&named.ni_cnd, tcred, CREATE, in nfsrv_dscreate()
4505 error = VOP_SETATTR(nvp, nvap, tcred); in nfsrv_dscreate()
4532 error = VOP_GETATTR(nvp, &va, tcred); in nfsrv_dscreate()
4572 dsc->pf, NULL, NULL, dsc->tcred, dsc->p, NULL); in start_dscreate()
4596 struct ucred *tcred; in nfsrv_pnfscreate() local
4674 tcred = newnfs_getcred(); in nfsrv_pnfscreate()
4683 tdsc->tcred = tcred; in nfsrv_pnfscreate()
4700 NULL, tcred, p, NULL); in nfsrv_pnfscreate()
4714 &dsattr, NULL, tcred, p, NULL); in nfsrv_pnfscreate()
4758 NFSFREECRED(tcred); in nfsrv_pnfscreate()
4803 struct ucred *tcred; in nfsrv_pnfsremovesetup() local
4814 tcred = newnfs_getcred(); in nfsrv_pnfsremovesetup()
4815 error = VOP_GETATTR(vp, &va, tcred); in nfsrv_pnfsremovesetup()
4816 NFSFREECRED(tcred); in nfsrv_pnfsremovesetup()
4849 struct ucred *tcred; member
4857 nfsrv_dsremove(struct vnode *dvp, char *fname, struct ucred *tcred, in nfsrv_dsremove() argument
4871 named.ni_cnd.cn_cred = tcred; in nfsrv_dsremove()
4900 dsrm->err = nfsrv_dsremove(dsrm->dvp, dsrm->fname, dsrm->tcred, in start_dsremove()
4915 struct ucred *tcred; in nfsrv_pnfsremove() local
4921 tcred = newnfs_getcred(); in nfsrv_pnfsremove()
4931 tdsrm->tcred = tcred; in nfsrv_pnfsremove()
4944 ret = nfsrv_dsremove(dvp[i], fname, tcred, p); in nfsrv_pnfsremove()
4949 ret = nfsrv_dsremove(dvp[mirrorcnt - 1], fname, tcred, p); in nfsrv_pnfsremove()
4989 NFSFREECRED(tcred); in nfsrv_pnfsremove()
5022 struct ucred *tcred; in nfsrv_updatemdsattr() local
5026 tcred = newnfs_getcred(); in nfsrv_updatemdsattr()
5027 error = nfsrv_proxyds(vp, 0, 0, tcred, p, NFSPROC_LAYOUTRETURN, in nfsrv_updatemdsattr()
5029 NFSFREECRED(tcred); in nfsrv_updatemdsattr()
6636 struct ucred *tcred; in nfsrv_pnfslookupds() local
6642 tcred = newnfs_getcred(); in nfsrv_pnfslookupds()
6645 named.ni_cnd.cn_cred = tcred; in nfsrv_pnfslookupds()
6654 NFSFREECRED(tcred); in nfsrv_pnfslookupds()