| /onnv/onnv-gate/usr/src/uts/common/syscall/ |
| mount.c | 71 struct vfs *vfsp; /* dummy argument */ local 125 error = domount("pxfs", uap, vp, CRED(), &vfsp); 127 VFS_RELE(vfsp); 130 error = domount(NULL, uap, vp, CRED(), &vfsp); 132 VFS_RELE(vfsp);
|
| umount.c | 65 umount2_engine(vfs_t *vfsp, int flag, cred_t *cr, int is_syscall) 86 vfs_lock_wait(vfsp); 91 * Note that vfsp->vfs_vnodecovered can be NULL here, either because 99 if (vn_vfswlock(vfsp->vfs_vnodecovered)) { 100 vfs_unlock(vfsp); 101 VFS_RELE(vfsp); 109 vfs_unlock(vfsp); 110 VFS_RELE(vfsp); 115 if ((error = dounmount(vfsp, flag, cr)) != 0) 127 struct vfs *vfsp; local [all...] |
| utssys.c | 268 vfs_t *vfsp; local 271 if ((vfsp = vfs_dev2vfsp(dev)) == NULL) { 275 vfsp = curproc->p_zone->zone_rootvp->v_vfsp; 276 if (vfsp->vfs_dev == dev) { 277 VFS_HOLD(vfsp); 279 vfsp = NULL; 282 if (vfsp == NULL) 284 error = VFS_STATVFS(vfsp, svp); 285 VFS_RELE(vfsp);
|
| /onnv/onnv-gate/usr/src/uts/common/fs/ufs/ |
| ufs_xattr.c | 66 struct vfs *vfsp; local 73 vfsp = dvp->v_vfsp; 75 error = ufs_iget(vfsp, ip->i_oeftflag, sip, cr);
|
| ufs_lockfs.c | 339 ufs_flush(struct vfs *vfsp) 343 struct ufsvfs *ufsvfsp = (struct ufsvfs *)vfsp->vfs_data; 347 ASSERT(vfs_lock_held(vfsp)); 352 (void) dnlc_purge_vfsp(vfsp, 0); 357 ufs_delete_drain(vfsp, 0, 0); 358 ufs_idle_drain(vfsp); 366 * flush w/invalidate the inodes for vfsp 376 TRANS_SBUPDATE(ufsvfsp, vfsp, TOP_SBUPDATE_FLUSH); 385 (void) bflush((dev_t)vfsp->vfs_dev); 386 (void) bfinval((dev_t)vfsp->vfs_dev, 0) 884 struct vfs *vfsp; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/fs.d/cachefs/cachefswssize/ |
| cachefswssize.c | 57 caddr_t vfsp; local 147 if (key.dsize != sizeof (vfsp)) 150 memcpy((caddr_t) &vfsp, key.dptr, sizeof (vfsp)); 151 mip = stats_dbm_fetch_byvfsp(sc, vfsp);
|
| /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/lofs/ |
| lofs.c | 58 uintptr_t rootvfsp, vfsp; local 71 vfsp = rootvfsp; 73 (void) mdb_vread(&vfs, sizeof (vfs), vfsp); 75 vfsp = (uintptr_t)vfs.vfs_next; 81 vfsp = (uintptr_t)vfs.vfs_next; 82 } while (vfsp != rootvfsp); 95 vfsp = rootvfsp; 97 (void) mdb_vread(&vfs, sizeof (vfs), vfsp); 99 vfsp = (uintptr_t)vfs.vfs_next; 116 vfsp = (uintptr_t)vfs.vfs_next [all...] |
| /onnv/onnv-gate/usr/src/lib/libdiskmgt/common/ |
| inuse_fs.c | 309 struct vfstab_list *vfsp; local 311 vfsp = (struct vfstab_list *)malloc(sizeof (struct vfstab_list)); 312 if (vfsp == NULL) { 316 vfsp->special = strdup(vp->vfs_special); 317 if (vfsp->special == NULL) { 318 free(vfsp); 323 vfsp->mountp = strdup(vp->vfs_mountp); 324 if (vfsp->mountp == NULL) { 325 free(vfsp); 329 vfsp->mountp = NULL [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/namefs/ |
| namevno.c | 403 vfs_t *vfsp = vp->v_vfsp; local 418 if (vfsp != &namevfs) 419 VFS_RELE(vfsp);
|
| namevfs.c | 206 vfs_t *vfsp; local 223 (vfsp = NMTOV(nodep)->v_vfsp) != NULL && 224 vfsp != &namevfs && (NMTOV(nodep)->v_flag & VROOT)) { 230 if (vn_vfswlock(vfsp->vfs_vnodecovered)) { 248 if ((error = dounmount(vfsp, 0, crp)) != 0) 307 nm_mount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *crp) 380 if (secpolicy_fs_mount(crp, filevp, vfsp) != 0) { 477 newvp->v_vfsp = vfsp; 482 VFS_HOLD(vfsp); 488 vfsp->vfs_vnodecovered = NULL [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/pcfs/ |
| pc_node.c | 685 struct vfs *vfsp; local 696 vfsp = PCFSTOVFS(fsp); 703 if ((vp->v_vfsp == vfsp) && 726 VFS_RELE(vfsp); 735 if ((vp->v_vfsp == vfsp) && 759 VFS_RELE(vfsp); 773 if (!(vfsp->vfs_flag & VFS_UNMOUNTED) &&
|
| /onnv/onnv-gate/usr/src/uts/common/fs/smbsrv/ |
| smb_vss.c | 288 vfs_t *vfsp; local 297 vfsp = vp->v_vfsp; 299 if (VFS_ROOT(vfsp, &root_vp))
|
| smb_tree.c | 439 vfs_t *vfsp; local 455 vfsp = pathvp->v_vfsp; 456 if (vfsp != NULL) 457 rc = VFS_ROOT(vfsp, &root); 964 vfs_t *vfsp = SMB_NODE_VFS(node); local 966 ASSERT(vfsp); 968 if (getvfs(&vfsp->vfs_fsid) != vfsp) 971 smb_tree_get_volname(vfsp, tree); 972 smb_tree_get_flags(si, vfsp, tree) [all...] |
| /onnv/onnv-gate/usr/src/uts/common/cpr/ |
| cpr_main.c | 330 struct vfs *vfsp; local 340 vfsp = vp->v_vfsp; 341 if (!cpr_is_ufs(vfsp)) { 365 if (vp->v_vfsp != vfsp && vp->v_type == VREG) [all...] |
| cpr_misc.c | 259 struct vfs *vfsp = NULL, *vfsp_save = rootvfs; local 361 vfsp = rootvfs; 363 ufsvfsp = (struct ufsvfs *)vfsp->vfs_data; 368 vfsp = vfsp->vfs_next; 369 } while (vfsp != rootvfs); 383 vfsp_save = vfsp; 1069 cpr_is_ufs(struct vfs *vfsp) 1073 fsname = vfssw[vfsp->vfs_fstype].vsw_name; 1078 cpr_is_zfs(struct vfs *vfsp) 1096 struct vfs *vfsp; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/autofs/ |
| auto_vnops.c | 177 vfs_t *vfsp; local 196 vfsp = newvp->v_vfsp; 199 * Recursive auto_getattr/mount; go to the vfsp == NULL 208 vfsp = vn_mountedvfs(vp); 211 if (vfsp != NULL) { 215 error = VFS_ROOT(vfsp, &newvp); 223 * into the vfsp == NULL case. 369 vfs_t *vfsp; local 461 vfsp = vn_mountedvfs(dvp); 462 if (vfsp != NULL) 1394 vfs_t *vfsp; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/fd/ |
| fdops.c | 170 vfs_t *vfsp = vp->v_vfsp; local 187 vap->va_blksize = vfsp->vfs_bsize; 193 vap->va_fsid = vfsp->vfs_dev; 369 fdmount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *cr) 373 if (secpolicy_fs_mount(cr, mvp, vfsp) != 0) 389 vfs_setresource(vfsp, "fd"); 392 vp->v_vfsp = vfsp; 397 vfsp->vfs_fstype = fdfstype; 398 vfsp->vfs_data = (char *)vp; 402 vfsp->vfs_dev = makedevice(fdfsmaj, fdfsmin) [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/lofs/ |
| lofs_subr.c | 257 struct vfs *vfsp; local 293 vfsp = makelfsnode(vp->v_vfsp, li); 295 VN_SET_VFS_TYPE_DEV(nvp, vfsp, vp->v_type, vp->v_rdev); 316 makelfsnode(struct vfs *vfsp, struct loinfo *li) 324 if (vfsp == li->li_realvfs) 328 if ((lfs = lfsfind(vfsp, li)) == NULL) { 332 if ((tlfs = lfsfind(vfsp, li)) != NULL) { 337 lfs->lfs_realvfs = vfsp; 347 ((vfsp->vfs_flag | li->li_mflag) & ~li->li_dflag) & 349 lfs->lfs_vfs.vfs_bsize = vfsp->vfs_bsize 631 vfs_t *vfsp = &lfs->lfs_vfs; local 648 struct vfs *vfsp; local [all...] |
| lofs_vnops.c | 361 vfs_t *vfsp; local 366 vfsp = vn_mountedvfs(realdvp); 370 * covered vnode, implying vfsp could not be null. The 374 if (vfsp == NULL) { 389 * root vnode would turn *vfsp into garbage 392 error = VFS_ROOT(vfsp, &tvp);
|
| /onnv/onnv-gate/usr/src/uts/common/sys/ |
| fem.h | 126 vfs_t *vfsp; member in union:fem_arg::__anon6910
|
| /onnv/onnv-gate/usr/src/uts/common/os/ |
| tlabel.c | 168 getflabel_cipso(vfs_t *vfsp) 176 if (vfsp->vfs_resource == NULL) 178 resource_ref = vfs_getresource(vfsp); 224 getflabel_nfs(vfs_t *vfsp) 236 mi = VFTOMI(vfsp); 259 return (getflabel_cipso(vfsp)); 286 vfs_t *vfsp, *rvfsp; local 294 vfsp = vp->v_vfsp; 295 if (vfsp == NULL) 346 if (vfsp->vfs_mntpt != NULL) [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
| smbfs_subr2.c | 170 vfs_t *vfsp, 225 vp = make_smbnode(vfsp, rpath, rplen, rhtp, &newnode); 290 vfs_t *vfsp, 303 mi = VFTOSMI(vfsp); 306 np = smbhashfind(vfsp, rpath, rplen, rhtp); 412 VFS_HOLD(vfsp); 413 vp->v_vfsp = vfsp; 422 tnp = smbhashfind(vfsp, rpath, rplen, rhtp); 463 struct vfs *vfsp; local 477 vfsp = vp->v_vfsp 845 vfs_t *vfsp; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/udfs/ |
| udf_dir.c | 1131 struct vfs *vfsp; local 1198 vfsp = ip->i_vfs; 1215 if (err = ud_iget(vfsp, prn, lbno, &tip, NULL, cr)) { [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/ |
| lookup.c | 298 vfs_t *vfsp; local 317 vfsp = cvp->v_vfsp; 326 vfs_rlock_wait(vfsp); 342 vfs_unlock(vfsp); 349 vfs_unlock(vfsp); 689 vfs_t *vfsp; local 730 vfsp = vn_mountedvfs(cvp); 731 if (vfsp == NULL) { 740 error = VFS_ROOT(vfsp, &tvp); 762 vfs_t *vfsp; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/fs.d/cachefs/common/ |
| stats_log.c | 357 (! xdr_opaque(xdrs, (caddr_t)&mount.vfsp, 358 sizeof (mount.vfsp))) || 388 (! xdr_opaque(xdrs, (caddr_t)&umount.vfsp, 389 sizeof (umount.vfsp)))) { 407 (! xdr_opaque(xdrs, (caddr_t)&getpage.vfsp, 408 sizeof (getpage.vfsp))) || 434 (! xdr_opaque(xdrs, (caddr_t)&readdir.vfsp, 435 sizeof (readdir.vfsp))) || 461 (! xdr_opaque(xdrs, (caddr_t)&readlink.vfsp, 462 sizeof (readlink.vfsp))) || 1655 caddr_t vfsp; local [all...] |