| /netvirt/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);
|
| /netvirt/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 | 327 ufs_flush(struct vfs *vfsp) 331 struct ufsvfs *ufsvfsp = (struct ufsvfs *)vfsp->vfs_data; 335 ASSERT(vfs_lock_held(vfsp)); 340 (void) dnlc_purge_vfsp(vfsp, 0); 345 ufs_delete_drain(vfsp, 0, 0); 346 ufs_idle_drain(vfsp); 354 * flush w/invalidate the inodes for vfsp 364 TRANS_SBUPDATE(ufsvfsp, vfsp, TOP_SBUPDATE_FLUSH); 373 (void) bflush((dev_t)vfsp->vfs_dev); 374 (void) bfinval((dev_t)vfsp->vfs_dev, 0) 872 struct vfs *vfsp; local [all...] |
| /netvirt/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);
|
| /netvirt/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...] |
| /netvirt/usr/src/uts/common/fs/smbsrv/ |
| smb_fsd.c | 39 static void fsd_getname(vfs_t *vfsp, fsvol_attr_t *vol_attr); 40 static void fsd_getflags(vfs_t *vfsp, unsigned *flags); 41 static void fsd_getseq(vfs_t *vfsp, uint32_t *fs_sequence); 46 * Kernel caller must call fsd_rele(vfsp). 54 struct vfs *vfsp, *vfs_found = NULL; local 63 vfsp = rootvfs; 70 vfs_mntpoint = vfsp->vfs_mntpt; 77 VFS_HOLD(vfsp); 78 vfs_found = vfsp; 81 *fsd = vfsp->vfs_fsid 124 vfs_t *vfsp; local 151 vfs_t *vfsp = getvfs(fsd); local 172 void *vfsp = getvfs(fsd); local [all...] |
| /netvirt/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...] |
| /netvirt/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 | 208 vfs_t *vfsp; local 225 (vfsp = NMTOV(nodep)->v_vfsp) != NULL && 226 vfsp != &namevfs && (NMTOV(nodep)->v_flag & VROOT)) { 232 if (vn_vfswlock(vfsp->vfs_vnodecovered)) { 250 if ((error = dounmount(vfsp, 0, crp)) != 0) 309 nm_mount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *crp) 381 if (secpolicy_fs_mount(crp, filevp, vfsp) != 0) { 478 newvp->v_vfsp = vfsp; 483 VFS_HOLD(vfsp); 489 vfsp->vfs_vnodecovered = NULL [all...] |
| /netvirt/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) &&
|
| /netvirt/usr/src/uts/common/cpr/ |
| cpr_main.c | 329 struct vfs *vfsp; local 340 vfsp = vp->v_vfsp; 358 if (vp->v_vfsp != vfsp && vp->v_type == VREG) [all...] |
| cpr_misc.c | 258 struct vfs *vfsp = NULL, *vfsp_save = rootvfs; local 357 vfsp = rootvfs; 359 ufsvfsp = (struct ufsvfs *)vfsp->vfs_data; 364 vfsp = vfsp->vfs_next; 365 } while (vfsp != rootvfs); 379 vfsp_save = vfsp; 1062 cpr_is_ufs(struct vfs *vfsp) 1066 fsname = vfssw[vfsp->vfs_fstype].vsw_name; 1080 struct vfs *vfsp; local [all...] |
| /netvirt/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...] |
| /netvirt/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...] |
| /netvirt/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 630 vfs_t *vfsp = &lfs->lfs_vfs; local 647 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);
|
| /netvirt/usr/src/uts/common/os/ |
| tlabel.c | 155 getflabel_cipso(vfs_t *vfsp) 163 if (vfsp->vfs_resource == NULL) 165 resource_ref = vfs_getresource(vfsp); 211 getflabel_nfs(vfs_t *vfsp) 223 mi = VFTOMI(vfsp); 246 return (getflabel_cipso(vfsp)); 273 vfs_t *vfsp, *rvfsp; local 281 vfsp = vp->v_vfsp; 282 if (vfsp == NULL) 333 if (vfsp->vfs_mntpt != NULL) [all...] |
| /netvirt/usr/src/uts/common/sys/ |
| fem.h | 126 vfs_t *vfsp; member in union:fem_arg::__anon5319
|
| /netvirt/usr/src/uts/common/fs/ |
| lookup.c | 279 vfs_t *vfsp; local 298 vfsp = cvp->v_vfsp; 307 vfs_rlock_wait(vfsp); 323 vfs_unlock(vfsp); 330 vfs_unlock(vfsp); 670 vfs_t *vfsp; local 711 vfsp = vn_mountedvfs(cvp); 712 if (vfsp == NULL) { 721 error = VFS_ROOT(vfsp, &tvp); 743 vfs_t *vfsp; local [all...] |
| /netvirt/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...] |
| /netvirt/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...] |
| /netvirt/usr/src/uts/common/fs/cachefs/ |
| cachefs_log.c | 388 struct vfs *vfsp; local 395 vfsp = (struct vfs *)(uintptr_t)k->ks_vfsp; 396 fscp = VFS_TO_FSCACHE(vfsp); 397 cachefs_log_mount(cachep, 0, vfsp, fscp, 708 cachefs_log_mount(cachefscache_t *cachep, int Errno, struct vfs *vfsp, 748 record->vfsp = (uint64_t)(uintptr_t)vfsp; 782 (! xdr_opaque(xdrs, (caddr_t)&rec->vfsp, sizeof (rec->vfsp))) || 796 cachefs_log_umount(cachefscache_t *cachep, int Errno, struct vfs *vfsp) [all...] |
| /netvirt/usr/src/uts/common/fs/mntfs/ |
| mntvnops.c | 86 mntfs_devsize(struct vfs *vfsp) 90 (void) cmpldev(&odev, vfsp->vfs_dev); 95 mntfs_devprint(struct vfs *vfsp, char *buf) 99 (void) cmpldev(&odev, vfsp->vfs_dev); 104 mntfs_optsize(struct vfs *vfsp) 109 for (i = 0; i < vfsp->vfs_mntopts.mo_count; i++) { 110 mop = &vfsp->vfs_mntopts.mo_list[i]; 125 if (vfsp->vfs_zone != NULL && vfsp->vfs_zone != global_zone) { 132 size += strlen(vfsp->vfs_zone->zone_name) 241 struct vfs *vfsp; local 287 struct vfs *vfsp; local 381 vfs_t *vfsp; local 424 vfs_t *vfsp; local [all...] |