/src/sys/miscfs/genfs/ |
layer_vfsops.c | 128 layerfs_root(struct mount *mp, int lktype, struct vnode **vpp) 141 vn_lock(vp, lktype | LK_RETRY); 243 layerfs_vget(struct mount *mp, ino_t ino, int lktype, struct vnode **vpp) 250 error = VFS_VGET(mp->mnt_lower, ino, lktype, &vp); 264 error = vn_lock(*vpp, lktype); 274 layerfs_fhtovp(struct mount *mp, struct fid *fidp, int lktype, 282 error = VFS_FHTOVP(mp->mnt_lower, fidp, lktype, &vp); 296 error = vn_lock(*vpp, lktype);
|
/src/sys/ufs/lfs/ |
ulfs_vfsops.c | 88 ulfs_root(struct mount *mp, int lktype, struct vnode **vpp) 93 if ((error = VFS_VGET(mp, (ino_t)ULFS_ROOTINO, lktype, &nvp)) != 0) 215 ulfs_fhtovp(struct mount *mp, struct ulfs_ufid *ufhp, int lktype, 222 if ((error = VFS_VGET(mp, ufhp->ufid_ino, lktype, &nvp)) != 0) {
|
/src/sys/ufs/ufs/ |
ufs_vfsops.c | 89 ufs_root(struct mount *mp, int lktype, struct vnode **vpp) 94 if ((error = VFS_VGET(mp, (ino_t)UFS_ROOTINO, lktype, &nvp)) != 0) 104 ufs_vget(struct mount *mp, ino_t ino, int lktype, struct vnode **vpp) 111 error = vn_lock(*vpp, lktype); 236 ufs_fhtovp(struct mount *mp, struct ufid *ufhp, int lktype, struct vnode **vpp) 242 if ((error = VFS_VGET(mp, ufhp->ufid_ino, lktype, &nvp)) != 0) {
|
/src/sys/fs/efs/ |
efs_vfsops.c | 298 efs_root(struct mount *mp, int lktype, struct vnode **vpp) 303 if ((err = VFS_VGET(mp, EFS_ROOTINO, lktype, &vp))) 346 efs_vget(struct mount *mp, ino_t ino, int lktype, struct vnode **vpp) 353 error = vn_lock(*vpp, lktype); 455 efs_fhtovp(struct mount *mp, struct fid *fhp, int lktype, struct vnode **vpp) 467 if ((err = VFS_VGET(mp, efp->ef_ino, lktype, &vp))) {
|
/src/sys/fs/filecorefs/ |
filecore_vfsops.c | 465 filecore_root(struct mount *mp, int lktype, struct vnode **vpp) 470 if ((error = VFS_VGET(mp, FILECORE_ROOTINO, lktype, &nvp)) != 0) 524 filecore_fhtovp(struct mount *mp, struct fid *fhp, int lktype, 536 if ((error = VFS_VGET(mp, ifh.ifid_ino, lktype, &nvp)) != 0) { 559 filecore_vget(struct mount *mp, ino_t ino, int lktype, struct vnode **vpp) 566 error = vn_lock(*vpp, lktype);
|
/src/sys/kern/ |
vfs_vnode.c | 783 int lktype; local in function:vput 797 lktype = LK_NONE; 799 lktype = VOP_ISLOCKED(vp); 800 KASSERT(lktype != LK_NONE); 803 vrelel(vp, 0, lktype); 844 vrelel(vnode_t *vp, int flags, int lktype) 873 if (lktype != LK_NONE) { 875 lktype = LK_NONE; 916 if (lktype != LK_NONE) { 918 lktype = LK_NONE 1303 int lktype; local in function:vgone [all...] |
vfs_lookup.c | 929 int error, lktype; local in function:lookup_crossmount 940 lktype = VOP_ISLOCKED(searchdir); 944 lktype = LK_NONE; 1019 lktype = LK_NONE; 1024 if (error == 0 && lktype != LK_NONE) { 1025 vn_lock(searchdir, lktype | LK_RETRY); 1077 int error, lktype; local in function:lookup_once 1109 lktype = lookup_lktype(searchdir, cnp); 1110 vn_lock(searchdir, lktype | LK_RETRY); 1152 lktype = lookup_lktype(searchdir, cnp) 1874 const int lktype = (cnp->cn_flags & LOCKSHARED) != 0 ? local in function:namei_oneroot [all...] |
/src/sys/coda/ |
coda_vfsops.c | 352 coda_root(struct mount *vfsp, int lktype, struct vnode **vpp) 369 vn_lock(*vpp, lktype); 394 vn_lock(*vpp, lktype); 409 vn_lock(*vpp, lktype); 481 coda_vget(struct mount *vfsp, ino_t ino, int lktype, 521 kauth_cred_t *creadanonp, int lktype)
|
/src/sys/miscfs/fdesc/ |
fdesc_vfsops.c | 137 fdesc_root(struct mount *mp, int lktype, struct vnode **vpp) 146 vn_lock(vp, lktype | LK_RETRY); 165 fdesc_vget(struct mount *mp, ino_t ino, int lktype,
|
/src/sys/miscfs/kernfs/ |
kernfs_vfsops.c | 185 kernfs_root(struct mount *mp, int lktype, struct vnode **vpp) 194 error = vn_lock(*vpp, lktype); 217 kernfs_vget(struct mount *mp, ino_t ino, int lktype,
|
/src/sys/fs/hfs/ |
hfs_vfsops.c | 442 hfs_root(struct mount *mp, int lktype, struct vnode **vpp) 451 if ((error = VFS_VGET(mp, HFS_CNID_ROOT_FOLDER, lktype, &nvp)) != 0) 498 hfs_vget(struct mount *mp, ino_t ino, int lktype, struct vnode **vpp) 505 error = vn_lock(*vpp, lktype); 614 hfs_fhtovp(struct mount *mp, struct fid *fhp, int lktype, struct vnode **vpp)
|
/src/sys/fs/sysvbfs/ |
sysvbfs_vfsops.c | 244 sysvbfs_root(struct mount *mp, int lktype, struct vnode **vpp) 250 if ((error = VFS_VGET(mp, BFS_ROOT_INODE, lktype, &vp)) != 0) 367 sysvbfs_vget(struct mount *mp, ino_t ino, int lktype, struct vnode **vpp) 381 error = vn_lock(vp, lktype); 393 sysvbfs_fhtovp(struct mount *mp, struct fid *fid, int lktype,
|
/src/sys/fs/v7fs/ |
v7fs_vfsops.c | 327 v7fs_root(struct mount *mp, int lktype, struct vnode **vpp) 333 if ((error = VFS_VGET(mp, V7FS_ROOT_INODE, lktype, &vp)) != 0) { 488 v7fs_vget(struct mount *mp, ino_t ino, int lktype, struct vnode **vpp) 500 error = vn_lock(vp, lktype); 512 v7fs_fhtovp(struct mount *mp, struct fid *fid, int lktype, struct vnode **vpp)
|
/src/sys/fs/tmpfs/ |
tmpfs_vfsops.c | 303 tmpfs_root(struct mount *mp, int lktype, vnode_t **vpp) 311 error = vn_lock(*vpp, lktype); 322 tmpfs_vget(struct mount *mp, ino_t ino, int lktype, vnode_t **vpp) 329 tmpfs_fhtovp(struct mount *mp, struct fid *fhp, int lktype, vnode_t **vpp) 362 error = vn_lock(*vpp, lktype);
|
/src/sys/fs/nfs/server/ |
nfs_nfsdsocket.c | 478 int error = 0, lktype; local in function:nfsrvd_dorpc 513 lktype = LK_SHARED; 515 lktype = LK_EXCLUSIVE; 517 nfsd_fhtovp(nd, &nfs_pubfh, lktype, &vp, &nes, 520 nfsd_fhtovp(nd, &fh, lktype, &vp, &nes, 623 int i, lktype, op, op0 = 0, statsinprog = 0; local in function:nfsrvd_compound 1037 lktype = nfsv4_opflag[op].lktype; 1043 lktype = LK_SHARED; 1045 if (NFSVOPLOCK(vp, lktype) == 0 [all...] |
/src/sys/fs/ptyfs/ |
ptyfs_vfsops.c | 389 ptyfs_root(struct mount *mp, int lktype, struct vnode **vpp) 397 error = vn_lock(*vpp, lktype); 461 ptyfs_vget(struct mount *mp, ino_t ino, int lktype,
|
/src/sys/fs/union/ |
union_vfsops.c | 408 union_root(struct mount *mp, int lktype, struct vnode **vpp) 429 vn_lock(*vpp, lktype | LK_RETRY); 504 union_vget(struct mount *mp, ino_t ino, int lktype, struct vnode **vpp)
|
/src/sys/miscfs/procfs/ |
procfs_vfsops.c | 236 procfs_root(struct mount *mp, int lktype, struct vnode **vpp) 242 error = vn_lock(*vpp, lktype); 293 procfs_vget(struct mount *mp, ino_t ino, int lktype,
|
/src/sys/fs/udf/ |
udf_vfsops.c | 752 udf_root(struct mount *mp, int lktype, struct vnode **vpp) 763 error = udf_get_node(ump, dir_loc, &root_dir, lktype); 901 udf_vget(struct mount *mp, ino_t ino, int lktype, 914 udf_fhtovp(struct mount *mp, struct fid *fhp, int lktype,
|
/src/sys/fs/adosfs/ |
advfsops.c | 329 adosfs_root(struct mount *mp, int lktype, struct vnode **vpp) 334 error = VFS_VGET(mp, (ino_t)VFSTOADOSFS(mp)->rootb, lktype, &nvp); 368 adosfs_vget(struct mount *mp, ino_t an, int lktype, struct vnode **vpp) 378 error = vn_lock(*vpp, lktype); 692 adosfs_fhtovp(struct mount *mp, struct fid *fhp, int lktype, 711 if ((error = VFS_VGET(mp, ifh.ifid_ino, lktype, &nvp)) != 0) {
|
/src/sys/fs/ntfs/ |
ntfs_vfsops.c | 574 ntfs_root(struct mount *mp, int lktype, struct vnode **vpp) 581 error = VFS_VGET(mp, (ino_t)NTFS_ROOTINO, lktype, &nvp); 653 ntfs_fhtovp(struct mount *mp, struct fid *fhp, int lktype, struct vnode **vpp) 665 lktype, vpp); 826 ntfs_vget(struct mount *mp, ino_t ino, int lktype, struct vnode **vpp) 828 return ntfs_vgetex(mp, ino, NTFS_A_DATA, "", lktype, vpp);
|
/src/sys/fs/cd9660/ |
cd9660_vfsops.c | 640 cd9660_root(struct mount *mp, int lktype, struct vnode **vpp) 647 return cd9660_vget(mp, ino, lktype, vpp); 705 cd9660_fhtovp(struct mount *mp, struct fid *fhp, int lktype, struct vnode **vpp) 721 if ((error = VFS_VGET(mp, ifh.ifid_ino, lktype, &nvp)) != 0) { 736 cd9660_vget(struct mount *mp, ino_t ino, int lktype, struct vnode **vpp) 743 error = vn_lock(*vpp, lktype);
|
/src/sys/fs/msdosfs/ |
msdosfs_vfsops.c | 967 msdosfs_root(struct mount *mp, int lktype, struct vnode **vpp) 978 error = vn_lock(*vpp, lktype); 1082 msdosfs_fhtovp(struct mount *mp, struct fid *fhp, int lktype, struct vnode **vpp) 1108 error = vn_lock(*vpp, lktype); 1143 msdosfs_vget(struct mount *mp, ino_t ino, int lktype,
|
/src/sys/ufs/chfs/ |
chfs_vfsops.c | 452 chfs_root(struct mount *mp, int lktype, struct vnode **vpp) 457 if ((error = VFS_VGET(mp, (ino_t)UFS_ROOTINO, lktype, &vp)) != 0) 658 chfs_vget(struct mount *mp, ino_t ino, int lktype, struct vnode **vpp) 666 error = vn_lock(*vpp, lktype); 680 chfs_fhtovp(struct mount *mp, struct fid *fhp, int lktype, struct vnode **vpp)
|
/src/sys/fs/autofs/ |
autofs_vfsops.c | 263 autofs_root(struct mount *mp, int lktype, struct vnode **vpp) 271 error = vn_lock(*vpp, lktype);
|