Home
last modified time | relevance | path

Searched refs:v_vfsp (Results 1 – 25 of 160) sorted by relevance

1234567

/illumos-gate/usr/src/uts/common/syscall/
H A Dstatvfs.c174 error = cstatvfs64(vp->v_vfsp, (struct statvfs64 *)sbp); in statvfs()
176 error = cstatvfs32(vp->v_vfsp, (struct statvfs32 *)sbp); in statvfs()
196 error = cstatvfs64(fp->f_vnode->v_vfsp, (struct statvfs64 *)sbp); in fstatvfs()
198 error = cstatvfs32(fp->f_vnode->v_vfsp, (struct statvfs32 *)sbp); in fstatvfs()
228 error = cstatvfs64(vp->v_vfsp, sbp); in statvfs64()
246 error = cstatvfs64(fp->f_vnode->v_vfsp, sbp); in fstatvfs64()
302 error = cstatvfs32(vp->v_vfsp, sbp); in statvfs32()
320 error = cstatvfs32(fp->f_vnode->v_vfsp, sbp); in fstatvfs32()
343 error = cstatvfs64_32(vp->v_vfsp, sbp); in statvfs64_32()
361 error = cstatvfs64_32(fp->f_vnode->v_vfsp, sbp); in fstatvfs64_32()
H A Dstat.c245 if (vp->v_vfsp != NULL) { in cstat()
246 vswp = &vfssw[vp->v_vfsp->vfs_fstype]; in cstat()
368 if (vp->v_vfsp != NULL) { in cstat32()
369 vswp = &vfssw[vp->v_vfsp->vfs_fstype]; in cstat32()
476 if (vp->v_vfsp != NULL) { in cstat64()
477 vswp = &vfssw[vp->v_vfsp->vfs_fstype]; in cstat64()
595 if (vp->v_vfsp != NULL) { in cstat64_32()
596 vswp = &vfssw[vp->v_vfsp->vfs_fstype]; in cstat64_32()
H A Dutssys.c273 vfsp = curproc->p_zone->zone_rootvp->v_vfsp; in _statvfs64_by_dev()
328 cvfsp = fvp->v_vfsp; in dofusers()
405 if (contained && (vp->v_vfsp == cvfsp)) in dofusers()
507 (contained && (up->u_cdir->v_vfsp == cvfsp)))) in dofusers()
513 (contained && (up->u_rdir->v_vfsp == cvfsp)))) in dofusers()
519 (contained && (prp->p_exec->v_vfsp == cvfsp)))) in dofusers()
553 if (contained && (vp->v_vfsp == cvfsp)) { in dofusers()
H A Dpathconf.c71 if ((error = VFS_STATVFS(vp->v_vfsp, &sb)) != 0) in cpathconf()
113 return ((vp->v_vfsp->vfs_flag & VFS_XATTR) ? 1 : 0); in cpathconf()
H A Dstatfs.c80 error = cstatfs(vp->v_vfsp, sbp, len); in statfs32()
100 error = cstatfs(fp->f_vnode->v_vfsp, sbp, len); in fstatfs32()
/illumos-gate/usr/src/uts/common/fs/lofs/
H A Dlofs_vnops.c76 *vpp = makelonode(rvp, vtoli(oldvp->v_vfsp), 0); in lo_open()
306 struct loinfo *li = vtoli(dvp->v_vfsp); in lo_lookup()
330 realdvp = realdvp->v_vfsp->vfs_vnodecovered; in lo_lookup()
438 vp = vp->v_vfsp->vfs_vnodecovered; in lo_lookup()
454 nosub = (vtoli(dvp->v_vfsp)->li_flag & LO_NOSUB); in lo_lookup()
491 if (!doingdotdot && vfs_matchops(vp->v_vfsp, lo_vfsops)) { in lo_lookup()
506 vp = vp->v_vfsp->vfs_vnodecovered; in lo_lookup()
541 vfs_matchops(nonlovp->v_vfsp, lo_vfsops) && in lo_lookup()
553 vp = vp->v_vfsp->vfs_vnodecovered; in lo_lookup()
585 while (vfs_matchops(realdvp->v_vfsp, lo_vfsops)) { in lo_lookup()
[all …]
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_vnode.c668 vp->v_vfsp = NULL; in vn_reinit()
747 vfs_t *vfsp = vp->v_vfsp; in vn_reclaim()
759 vfs_t *vfsp = vp->v_vfsp; in vn_idle()
770 vfs_t *vfsp = vp->v_vfsp; in vn_exists()
795 return (vp->v_vfsp->vfs_flag & VFS_RDONLY); in vn_is_readonly()
1178 if (vfs_has_feature(vp->v_vfsp, VFSFT_XVATTR) == 0) { in fop_getattr()
1187 vfs_has_feature(vp->v_vfsp, VFSFT_ACEMASKONACCESS) == 0) { in fop_getattr()
1211 if (vfs_has_feature(vp->v_vfsp, VFSFT_XVATTR) == 0) { in fop_setattr()
1220 vfs_has_feature(vp->v_vfsp, VFSFT_ACEMASKONACCESS) == 0) { in fop_setattr()
1239 vfs_has_feature(vp->v_vfsp, VFSFT_ACEMASKONACCESS) == 0) { in fop_access()
[all …]
H A Dfake_rename.c102 if (fdvp != tdvp && fdvp->v_vfsp != tdvp->v_vfsp) { in fake_rename()
106 if (tdvp->v_vfsp->vfs_flag & VFS_RDONLY) { in fake_rename()
H A Dfake_nbmlock.c87 return ((vp->v_vfsp) && (vp->v_vfsp->vfs_flag & VFS_NBMAND)); in nbl_need_check()
H A Dfake_stat.c88 if (vp->v_vfsp != NULL) { in fake_stat()
89 vswp = &vfssw[vp->v_vfsp->vfs_fstype]; in fake_stat()
/illumos-gate/usr/src/lib/libdtrace/common/
H A Dio.d.in89 getmajor(B->b_file->v_vfsp->vfs_dev);
91 getminor(B->b_file->v_vfsp->vfs_dev);
93 getminor(B->b_file->v_vfsp->vfs_dev) :
99 lltostr(B->b_dip == NULL ? getminor(B->b_file->v_vfsp->vfs_dev) :
134 B->b_file->v_vfsp->vfs_vnodecovered == NULL ? "/" :
135 B->b_file->v_vfsp->vfs_vnodecovered->v_path == NULL ? "<unknown>" :
136 cleanpath(B->b_file->v_vfsp->vfs_vnodecovered->v_path);
196 F->f_vnode->v_vfsp->vfs_vnodecovered == NULL ? "/" :
197 F->f_vnode->v_vfsp->vfs_vnodecovered->v_path == NULL ? "<unknown>" :
198 cleanpath(F->f_vnode->v_vfsp->vfs_vnodecovered->v_path);
[all …]
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_node.c115 if ((fsp == VFSTOPCFS(PCTOV(pcp)->v_vfsp)) && in pc_getnode()
128 if ((fsp == VFSTOPCFS(PCTOV(pcp)->v_vfsp)) && in pc_getnode()
194 vp->v_vfsp = PCFSTOVFS(fsp); in pc_getnode()
225 fsp = VFSTOPCFS(vp->v_vfsp); in pc_rele()
285 VFS_RELE(vp->v_vfsp); in pc_rele()
371 fsp = VFSTOPCFS(vp->v_vfsp); in pc_truncate()
464 fsp = VFSTOPCFS(PCTOV(pcp)->v_vfsp); in pc_getentryblock()
497 fsp = VFSTOPCFS(vp->v_vfsp); in pc_nodesync()
534 fsp = VFSTOPCFS(vp->v_vfsp); in pc_nodeupdate()
563 pc_mark_irrecov(VFSTOPCFS(vp->v_vfsp)); in pc_nodeupdate()
[all …]
H A Dpc_dir.c90 if (error = pc_verify(VFSTOPCFS(vp->v_vfsp))) in pc_dirlook()
114 *pcpp = pc_getnode(VFSTOPCFS(vp->v_vfsp), in pc_dirlook()
137 struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp); in pc_direnter()
277 struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp); in pc_makedirentry()
398 struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp); in pc_dirremove()
415 pc_getnode(VFSTOPCFS(vp->v_vfsp), in pc_dirremove()
449 pc_mark_irrecov(VFSTOPCFS(vp->v_vfsp)); in pc_dirremove()
460 pc_mark_irrecov(VFSTOPCFS(vp->v_vfsp)); in pc_dirremove()
508 boff = pc_blkoff(VFSTOPCFS(vp->v_vfsp), offset); in pc_dirempty()
570 struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp); in pc_rename()
[all …]
H A Dpc_vnops.c231 fsp = VFSTOPCFS(vp->v_vfsp); in pcfs_read()
265 fsp = VFSTOPCFS(vp->v_vfsp); in pcfs_write()
319 if (vp->v_vfsp->vfs_flag & VFS_UNMOUNTED) in rwpcp()
359 fsp = VFSTOPCFS(vp->v_vfsp); in rwpcp()
581 fsp = VFSTOPCFS(vp->v_vfsp); in pcfs_getattr()
623 vap->va_fsid = vp->v_vfsp->vfs_dev; in pcfs_getattr()
738 fsp = VFSTOPCFS(vp->v_vfsp); in pcfs_setattr()
860 fsp = VFSTOPCFS(vp->v_vfsp); in pcfs_access()
892 fsp = VFSTOPCFS(vp->v_vfsp); in pcfs_fsync()
921 fsp = VFSTOPCFS(vp->v_vfsp); in pcfs_inactive()
[all …]
/illumos-gate/usr/src/uts/common/fs/sharefs/
H A Dsharefs_vnops.c168 sharetab_globals_t *sg = sharetab_get_globals(vp->v_vfsp->vfs_zone); in sharefs_getattr()
204 vap->va_fsid = vp->v_vfsp->vfs_dev; in sharefs_getattr()
244 VFS_HOLD(ovp->v_vfsp); in sharefs_open()
246 VN_SET_VFS_TYPE_DEV(vp, ovp->v_vfsp, VREG, 0); in sharefs_open()
267 error = sharefs_snap_create(sharetab_get_globals(vp->v_vfsp->vfs_zone), in sharefs_open()
279 sharetab_globals_t *sg = sharetab_get_globals(vp->v_vfsp->vfs_zone); in sharefs_close()
308 sharetab_globals_t *sg = sharetab_get_globals(vp->v_vfsp->vfs_zone); in sharefs_read()
353 sharetab_globals_t *sg = sharetab_get_globals(vp->v_vfsp->vfs_zone); in sharefs_inactive()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_ctldir.c204 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; in zfsctl_root_inode_cb()
336 vap->va_fsid = vp->v_vfsp->vfs_dev; in zfsctl_common_getattr()
351 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; in zfsctl_common_fid()
385 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; in zfsctl_shares_fid()
426 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; in zfsctl_root_getattr()
449 zfsvfs_t *zfsvfs = dvp->v_vfsp->vfs_data; in zfsctl_root_lookup()
461 err = VFS_ROOT(dvp->v_vfsp, vpp); in zfsctl_root_lookup()
511 objset_t *os = ((zfsvfs_t *)((vp)->v_vfsp->vfs_data))->z_os; in zfsctl_snapshot_zname()
622 zfsvfs = sdvp->v_vfsp->vfs_data; in zfsctl_snapdir_rename()
687 zfsvfs = dvp->v_vfsp->vfs_data; in zfsctl_snapdir_remove()
[all …]
/illumos-gate/usr/src/uts/common/fs/
H A Dvnode.c169 vfs_t *vfsp = (vp)->v_vfsp; \
185 vfs_t *vfsp = (vp)->v_vfsp; \
207 vfs_t *vfsp = (vp)->v_vfsp; \
1471 (*vpp == NULL && dvp->v_vfsp->vfs_flag & VFS_RDONLY)) { in vn_createat()
1665 if (tdvp->v_vfsp->vfs_flag & VFS_RDONLY) { in vn_linkat()
1770 if (tovp->v_vfsp->vfs_flag & VFS_RDONLY) { in vn_renameat()
1873 vfsp = vp->v_vfsp; in vn_removeat()
1874 dvfsp = dvp->v_vfsp; in vn_removeat()
1920 vfsp = vp->v_vfsp; in vn_removeat()
2444 vp->v_vfsp = NULL; in vn_reinit()
[all …]
H A Dnbmlock.c84 return ((vp->v_vfsp) && (vp->v_vfsp->vfs_flag & VFS_NBMAND)); in nbl_need_check()
H A Dfs_subr.c291 if (!vp->v_vfsp || in fs_frlock()
292 !(vp->v_vfsp->vfs_flag & VFS_NBMAND)) { in fs_frlock()
507 if (error = VFS_STATVFS(vp->v_vfsp, &vfsbuf)) in fs_pathconf()
522 if (vp->v_vfsp->vfs_flag & VFS_NOTRUNC) in fs_pathconf()
557 if (vfs_has_feature(vp->v_vfsp, VFSFT_CASEINSENSITIVE) == 1) in fs_pathconf()
559 if (vfs_has_feature(vp->v_vfsp, VFSFT_NOCASESENSITIVE) == 1) in fs_pathconf()
690 if (!vp->v_vfsp || in fs_shrlock()
691 !(vp->v_vfsp->vfs_flag & VFS_NBMAND)) { in fs_shrlock()
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_filio.c105 if (secpolicy_fs_config(cr, vp->v_vfsp) != 0) in ufs_fioio()
228 if (secpolicy_fs_config(cr, vp->v_vfsp) != 0) in ufs_fiosatime()
324 if (secpolicy_fs_config(cr, vp->v_vfsp) != 0) in ufs_fiosdio()
346 vfs_lock_wait(vp->v_vfsp); in ufs_fiosdio()
364 if (error = ufs_flush(vp->v_vfsp)) in ufs_fiosdio()
395 vfs_unlock(vp->v_vfsp); in ufs_fiosdio()
569 if (secpolicy_fs_config(cr, vp->v_vfsp) != 0) in ufs_fiotune()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_ns.c160 fsid = vp->v_vfsp->vfs_fsid; in pseudo_exportfs()
169 exi->exi_volatile_dev = (vfssw[vp->v_vfsp->vfs_fstype].vsw_flag & in pseudo_exportfs()
678 exi = checkexport4(&vp->v_vfsp->vfs_fsid, &fid, in treeclimb_export()
924 vfs_lock_wait(tvp->v_vfsp); in untraverse()
926 if ((nextvp = tvp->v_vfsp->vfs_vnodecovered) == NULL) { in untraverse()
927 vfs_unlock(tvp->v_vfsp); in untraverse()
941 vfs_unlock(tvp->v_vfsp); in untraverse()
1103 EQFSID(&exi->exi_fsid, &vp->v_vfsp->vfs_fsid)) { in nfs_visible()
1157 EQFSID(&vp->v_vfsp->vfs_fsid, &exi->exi_fsid)) { in nfs_exported()
1239 EQFSID(&exi->exi_fsid, &vp->v_vfsp->vfs_fsid)) in nfs_visible_change()
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vnops.c222 if (smi->smi_flags & SMI_DEAD || vp->v_vfsp->vfs_flag & VFS_UNMOUNTED) in smbfs_open()
563 if (smi->smi_flags & SMI_DEAD || vp->v_vfsp->vfs_flag & VFS_UNMOUNTED) in smbfs_read()
728 if (smi->smi_flags & SMI_DEAD || vp->v_vfsp->vfs_flag & VFS_UNMOUNTED) in smbfs_write()
864 bsize = vp->v_vfsp->vfs_bsize; in smbfs_write()
1200 if (smi->smi_flags & SMI_DEAD || vp->v_vfsp->vfs_flag & VFS_UNMOUNTED) in smbfs_rdwrlbn()
1383 if (smi->smi_flags & SMI_DEAD || vp->v_vfsp->vfs_flag & VFS_UNMOUNTED) in smbfs_ioctl()
1449 if (smi->smi_flags & SMI_DEAD || vp->v_vfsp->vfs_flag & VFS_UNMOUNTED) in smbfs_getattr()
1469 vap->va_fsid = vp->v_vfsp->vfs_dev; in smbfs_getattr()
1517 vfsp = vp->v_vfsp; in smbfs_setattr()
1943 return (smbfs_access_rwx(vp->v_vfsp, vp->v_type, mode, cr)); in smbfs_accessx()
[all …]
/illumos-gate/usr/src/uts/common/fs/fifofs/
H A Dfifosubr.c280 vp1->v_vfsp = vp2->v_vfsp = fifovfsp; in pipe_constructor()
299 ASSERT(vp1->v_vfsp == fifovfsp); in pipe_destructor()
300 ASSERT(vp2->v_vfsp == fifovfsp); in pipe_destructor()
480 VFS_HOLD(vp->v_vfsp); in fifovp()
481 newvp->v_vfsp = vp->v_vfsp; in fifovp()
531 nvp1->v_vfsp = fifovfsp; /* Need to re-establish VFS & device */ in makepipe()
532 nvp2->v_vfsp = fifovfsp; /* before we can reuse this vnode. */ in makepipe()
/illumos-gate/usr/src/uts/common/fs/specfs/
H A Dspecsubr.c185 svp->v_vfsp = vp->v_vfsp; in specvp()
186 VFS_HOLD(svp->v_vfsp); in specvp()
252 svp->v_vfsp = &spec_vfs; in makespecvp()
569 svp->v_vfsp = &spec_vfs; in get_cvp()
615 svp->v_vfsp = &spec_vfs; in commonvp()
699 (vp == NULL || st->s_realvp->v_vfsp == vp->v_vfsp)) { in sfind()
/illumos-gate/usr/src/uts/common/cpr/
H A Dcpr_main.c265 mntpt = vfs_getmntpoint(vp->v_vfsp); in cpr_log_status()
274 mntpt = vfs_getmntpoint(vp->v_vfsp); in cpr_log_status()
294 mntpt = vfs_getmntpoint(vp->v_vfsp); in cpr_log_status()
300 mntpt = vfs_getmntpoint(vp->v_vfsp); in cpr_log_status()
341 vfsp = vp->v_vfsp; in cpr_ufs_logging()
366 if (vp->v_vfsp != vfsp && vp->v_type == VREG) in cpr_ufs_logging()

1234567