Lines Matching refs:dvp

618 sdev_lookup(struct vnode *dvp, char *nm, struct vnode **vpp,  in sdev_lookup()  argument
625 parent = VTOSDEV(dvp); in sdev_lookup()
629 if ((error = VOP_ACCESS(dvp, VEXEC, 0, cred, ct)) != 0) in sdev_lookup()
633 return (prof_lookup(dvp, nm, vpp, cred)); in sdev_lookup()
639 sdev_create(struct vnode *dvp, char *nm, struct vattr *vap, vcexcl_t excl, in sdev_create() argument
656 parent = VTOSDEV(dvp); in sdev_create()
670 error = prof_lookup(dvp, nm, vpp, cred); in sdev_create()
701 if ((error = VOP_ACCESS(dvp, VEXEC, 0, cred, ct)) != 0) in sdev_create()
706 error = VOP_LOOKUP(dvp, nm, &vp, NULL, 0, NULL, cred, ct, NULL, NULL); in sdev_create()
749 if ((error = VOP_ACCESS(dvp, VEXEC|VWRITE, 0, cred, ct)) != 0) { in sdev_create()
780 sdev_update_timestamps(dvp, kcred, AT_MTIME|AT_ATIME); in sdev_create()
793 sdev_remove(struct vnode *dvp, char *nm, struct cred *cred, in sdev_remove() argument
797 struct sdev_node *parent = (struct sdev_node *)VTOSDEV(dvp); in sdev_remove()
1157 sdev_symlink(struct vnode *dvp, char *lnm, struct vattr *tva, in sdev_symlink() argument
1162 struct sdev_node *parent = (struct sdev_node *)VTOSDEV(dvp); in sdev_symlink()
1181 if ((error = VOP_ACCESS(dvp, VEXEC, 0, cred, ct)) != 0) in sdev_symlink()
1186 error = VOP_LOOKUP(dvp, lnm, &vp, NULL, 0, NULL, cred, ct, NULL, NULL); in sdev_symlink()
1197 if ((error = VOP_ACCESS(dvp, VWRITE, 0, cred, ct)) != 0) in sdev_symlink()
1218 sdev_update_timestamps(dvp, kcred, AT_MTIME|AT_ATIME); in sdev_symlink()
1232 sdev_mkdir(struct vnode *dvp, char *nm, struct vattr *va, struct vnode **vpp, in sdev_mkdir() argument
1236 struct sdev_node *parent = (struct sdev_node *)VTOSDEV(dvp); in sdev_mkdir()
1250 return (prof_lookup(dvp, nm, vpp, cred)); in sdev_mkdir()
1255 if ((error = VOP_ACCESS(dvp, VEXEC, 0, cred, ct)) != 0) { in sdev_mkdir()
1261 error = VOP_LOOKUP(dvp, nm, &vp, NULL, 0, NULL, cred, ct, NULL, NULL); in sdev_mkdir()
1270 if ((error = VOP_ACCESS(dvp, VWRITE, 0, cred, ct)) != 0) { in sdev_mkdir()
1290 sdev_update_timestamps(dvp, kcred, AT_MTIME|AT_ATIME); in sdev_mkdir()
1307 sdev_rmdir(struct vnode *dvp, char *nm, struct vnode *cdir, struct cred *cred, in sdev_rmdir() argument
1311 struct sdev_node *parent = (struct sdev_node *)VTOSDEV(dvp); in sdev_rmdir()
1331 if ((error = VOP_ACCESS(dvp, VEXEC|VWRITE, 0, cred, ct)) != 0) in sdev_rmdir()
1351 if (vp == dvp || vp == cdir) { in sdev_rmdir()