Lines Matching defs:cred
253 struct ucred *cred = cnp->cn_cred;
273 if ((error = VOP_ACCESS(vdp, VEXEC, cred, cnp->cn_proc)) != 0)
397 if ((error = VOP_ACCESS(vdp, VWRITE, cred, cnp->cn_proc)) != 0)
484 if ((error = VOP_ACCESS(vdp, VWRITE, cred, cnp->cn_proc)) != 0)
510 cred->cr_uid != 0 &&
511 cred->cr_uid != dp->i_e2fs_uid &&
512 VTOI(tdp)->i_e2fs_uid != cred->cr_uid) {
531 if ((error = VOP_ACCESS(vdp, VWRITE, cred, cnp->cn_proc)) != 0)
972 ext2fs_dirempty(struct inode *ip, ufsino_t parentino, struct ucred *cred)
984 UIO_SYSSPACE, IO_NODELOCKED, cred, &count, curproc);
1024 struct ucred *cred)
1048 UIO_SYSSPACE, IO_NODELOCKED, cred, NULL,