Home
last modified time | relevance | path

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

1234567

/titanic_44/usr/src/uts/common/syscall/
H A Dstatvfs.c176 error = cstatvfs64(vp->v_vfsp, (struct statvfs64 *)sbp); in statvfs()
178 error = cstatvfs32(vp->v_vfsp, (struct statvfs32 *)sbp); in statvfs()
198 error = cstatvfs64(fp->f_vnode->v_vfsp, (struct statvfs64 *)sbp); in fstatvfs()
200 error = cstatvfs32(fp->f_vnode->v_vfsp, (struct statvfs32 *)sbp); in fstatvfs()
230 error = cstatvfs64(vp->v_vfsp, sbp); in statvfs64()
248 error = cstatvfs64(fp->f_vnode->v_vfsp, sbp); in fstatvfs64()
304 error = cstatvfs32(vp->v_vfsp, sbp); in statvfs32()
322 error = cstatvfs32(fp->f_vnode->v_vfsp, sbp); in fstatvfs32()
345 error = cstatvfs64_32(vp->v_vfsp, sbp); in statvfs64_32()
363 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 Dpathconf.c73 if ((error = VFS_STATVFS(vp->v_vfsp, &sb)) != 0) in cpathconf()
115 return ((vp->v_vfsp->vfs_flag & VFS_XATTR) ? 1 : 0); in cpathconf()
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 Dstatfs.c82 error = cstatfs(vp->v_vfsp, sbp, len); in statfs32()
102 error = cstatfs(fp->f_vnode->v_vfsp, sbp, len); in fstatfs32()
/titanic_44/usr/src/uts/common/fs/lofs/
H A Dlofs_vnops.c77 *vpp = makelonode(rvp, vtoli(oldvp->v_vfsp), 0); in lo_open()
307 struct loinfo *li = vtoli(dvp->v_vfsp); in lo_lookup()
331 realdvp = realdvp->v_vfsp->vfs_vnodecovered; in lo_lookup()
439 vp = vp->v_vfsp->vfs_vnodecovered; in lo_lookup()
455 nosub = (vtoli(dvp->v_vfsp)->li_flag & LO_NOSUB); in lo_lookup()
492 if (!doingdotdot && vfs_matchops(vp->v_vfsp, lo_vfsops)) { in lo_lookup()
507 vp = vp->v_vfsp->vfs_vnodecovered; in lo_lookup()
542 vfs_matchops(nonlovp->v_vfsp, lo_vfsops) && in lo_lookup()
554 vp = vp->v_vfsp->vfs_vnodecovered; in lo_lookup()
586 while (vfs_matchops(realdvp->v_vfsp, lo_vfsops)) { in lo_lookup()
[all …]
/titanic_44/usr/src/uts/common/fs/ufs/
H A Dufs_filio.c104 if (secpolicy_fs_config(cr, vp->v_vfsp) != 0) in ufs_fioio()
227 if (secpolicy_fs_config(cr, vp->v_vfsp) != 0) in ufs_fiosatime()
323 if (secpolicy_fs_config(cr, vp->v_vfsp) != 0) in ufs_fiosdio()
345 vfs_lock_wait(vp->v_vfsp); in ufs_fiosdio()
363 if (error = ufs_flush(vp->v_vfsp)) in ufs_fiosdio()
394 vfs_unlock(vp->v_vfsp); in ufs_fiosdio()
423 vfs_lock_wait(vp->v_vfsp); in ufs_fioffs()
460 ufs_thread_reclaim, vp->v_vfsp); in ufs_fioffs()
468 vp->v_vfsp); in ufs_fioffs()
486 error = ufs_flush(vp->v_vfsp); in ufs_fioffs()
[all …]
/titanic_44/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 …]
/titanic_44/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()
195 vp->v_vfsp = PCFSTOVFS(fsp); in pc_getnode()
226 fsp = VFSTOPCFS(vp->v_vfsp); in pc_rele()
286 VFS_RELE(vp->v_vfsp); in pc_rele()
372 fsp = VFSTOPCFS(vp->v_vfsp); in pc_truncate()
465 fsp = VFSTOPCFS(PCTOV(pcp)->v_vfsp); in pc_getentryblock()
498 fsp = VFSTOPCFS(vp->v_vfsp); in pc_nodesync()
535 fsp = VFSTOPCFS(vp->v_vfsp); in pc_nodeupdate()
564 pc_mark_irrecov(VFSTOPCFS(vp->v_vfsp)); in pc_nodeupdate()
[all …]
H A Dpc_dir.c88 if (error = pc_verify(VFSTOPCFS(vp->v_vfsp))) in pc_dirlook()
112 *pcpp = pc_getnode(VFSTOPCFS(vp->v_vfsp), in pc_dirlook()
135 struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp); in pc_direnter()
275 struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp); in pc_makedirentry()
396 struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp); in pc_dirremove()
413 pc_getnode(VFSTOPCFS(vp->v_vfsp), in pc_dirremove()
447 pc_mark_irrecov(VFSTOPCFS(vp->v_vfsp)); in pc_dirremove()
458 pc_mark_irrecov(VFSTOPCFS(vp->v_vfsp)); in pc_dirremove()
506 boff = pc_blkoff(VFSTOPCFS(vp->v_vfsp), offset); in pc_dirempty()
568 struct pcfs *fsp = VFSTOPCFS(vp->v_vfsp); in pc_rename()
[all …]
H A Dpc_vnops.c232 fsp = VFSTOPCFS(vp->v_vfsp); in pcfs_read()
266 fsp = VFSTOPCFS(vp->v_vfsp); in pcfs_write()
320 if (vp->v_vfsp->vfs_flag & VFS_UNMOUNTED) in rwpcp()
360 fsp = VFSTOPCFS(vp->v_vfsp); in rwpcp()
582 fsp = VFSTOPCFS(vp->v_vfsp); in pcfs_getattr()
624 vap->va_fsid = vp->v_vfsp->vfs_dev; in pcfs_getattr()
739 fsp = VFSTOPCFS(vp->v_vfsp); in pcfs_setattr()
861 fsp = VFSTOPCFS(vp->v_vfsp); in pcfs_access()
893 fsp = VFSTOPCFS(vp->v_vfsp); in pcfs_fsync()
922 fsp = VFSTOPCFS(vp->v_vfsp); in pcfs_inactive()
[all …]
/titanic_44/usr/src/uts/common/fs/zfs/
H A Dzfs_ctldir.c209 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; in zfsctl_root_inode_cb()
341 vap->va_fsid = vp->v_vfsp->vfs_dev; in zfsctl_common_getattr()
356 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; in zfsctl_common_fid()
390 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; in zfsctl_shares_fid()
431 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; in zfsctl_root_getattr()
454 zfsvfs_t *zfsvfs = dvp->v_vfsp->vfs_data; in zfsctl_root_lookup()
466 err = VFS_ROOT(dvp->v_vfsp, vpp); in zfsctl_root_lookup()
516 objset_t *os = ((zfsvfs_t *)((vp)->v_vfsp->vfs_data))->z_os; in zfsctl_snapshot_zname()
627 zfsvfs = sdvp->v_vfsp->vfs_data; in zfsctl_snapdir_rename()
692 zfsvfs = dvp->v_vfsp->vfs_data; in zfsctl_snapdir_remove()
[all …]
/titanic_44/usr/src/uts/common/fs/
H A Dvnode.c160 vfs_t *vfsp = (vp)->v_vfsp; \
176 vfs_t *vfsp = (vp)->v_vfsp; \
198 vfs_t *vfsp = (vp)->v_vfsp; \
1420 (*vpp == NULL && dvp->v_vfsp->vfs_flag & VFS_RDONLY)) { in vn_createat()
1618 if (tdvp->v_vfsp->vfs_flag & VFS_RDONLY) { in vn_linkat()
1723 if (tovp->v_vfsp->vfs_flag & VFS_RDONLY) { in vn_renameat()
1815 vfsp = vp->v_vfsp; in vn_removeat()
1816 dvfsp = dvp->v_vfsp; in vn_removeat()
1862 vfsp = vp->v_vfsp; in vn_removeat()
2383 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.c253 if (!vp->v_vfsp || in fs_frlock()
254 !(vp->v_vfsp->vfs_flag & VFS_NBMAND)) { in fs_frlock()
434 if (error = VFS_STATVFS(vp->v_vfsp, &vfsbuf)) in fs_pathconf()
449 if (vp->v_vfsp->vfs_flag & VFS_NOTRUNC) in fs_pathconf()
484 if (vfs_has_feature(vp->v_vfsp, VFSFT_CASEINSENSITIVE) == 1) in fs_pathconf()
486 if (vfs_has_feature(vp->v_vfsp, VFSFT_NOCASESENSITIVE) == 1) in fs_pathconf()
617 if (!vp->v_vfsp || in fs_shrlock()
618 !(vp->v_vfsp->vfs_flag & VFS_NBMAND)) { in fs_shrlock()
/titanic_44/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_ns.c159 fsid = vp->v_vfsp->vfs_fsid; in pseudo_exportfs()
167 exi->exi_volatile_dev = (vfssw[vp->v_vfsp->vfs_fstype].vsw_flag & in pseudo_exportfs()
662 exi = checkexport_nohold(&vp->v_vfsp->vfs_fsid, in treeclimb_export()
885 vfs_lock_wait(tvp->v_vfsp); in untraverse()
887 if ((nextvp = tvp->v_vfsp->vfs_vnodecovered) == NULL) { in untraverse()
888 vfs_unlock(tvp->v_vfsp); in untraverse()
902 vfs_unlock(tvp->v_vfsp); in untraverse()
1078 EQFSID(&exi->exi_fsid, &vp->v_vfsp->vfs_fsid)) { in nfs_visible()
1135 EQFSID(&vp->v_vfsp->vfs_fsid, &exi->exi_fsid)) { in nfs_exported()
1241 EQFSID(&exi->exi_fsid, &vp->v_vfsp->vfs_fsid)) in nfs_visible_change()
H A Dnfs4_rnode.c640 VFS_RELE(vp->v_vfsp); in make_rnode4()
685 vp->v_vfsp = vfsp; in make_rnode4()
777 vfsp = vp->v_vfsp; in rp4_addfree()
895 if (!(vp->v_vfsp->vfs_flag & VFS_RDONLY) && nfs4_dross_pages(vp)) { in rp4_addfree()
977 r4_dup_check(rp, RTOV4(rp)->v_vfsp); in rp4_addhash()
1052 if (vp->v_vfsp == vfsp && SFH4_SAME(rp->r_fh, fh)) { in r4find()
1213 vfsp = vp->v_vfsp; in destroy_rnode4()
1247 if (vfsp != NULL && vp->v_vfsp != vfsp) in nfs4_rnode_invalidate()
1316 ASSERT(vp->v_vfsp == vfsp); in r4flush()
1699 if (vp->v_vfsp != vfsp) in r4mkopenlist()
[all …]
/titanic_44/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vnops.c263 if (smi->smi_flags & SMI_DEAD || vp->v_vfsp->vfs_flag & VFS_UNMOUNTED) in smbfs_open()
597 if (smi->smi_flags & SMI_DEAD || vp->v_vfsp->vfs_flag & VFS_UNMOUNTED) in smbfs_read()
682 if (smi->smi_flags & SMI_DEAD || vp->v_vfsp->vfs_flag & VFS_UNMOUNTED) in smbfs_write()
793 if (smi->smi_flags & SMI_DEAD || vp->v_vfsp->vfs_flag & VFS_UNMOUNTED) in smbfs_ioctl()
859 if (smi->smi_flags & SMI_DEAD || vp->v_vfsp->vfs_flag & VFS_UNMOUNTED) in smbfs_getattr()
879 vap->va_fsid = vp->v_vfsp->vfs_dev; in smbfs_getattr()
908 vfsp = vp->v_vfsp; in smbfs_setattr()
1238 return (smbfs_access_rwx(vp->v_vfsp, vp->v_type, mode, cr)); in smbfs_accessx()
1252 vfsp = vp->v_vfsp; in smbfs_access()
1287 if (smi->smi_flags & SMI_DEAD || vp->v_vfsp->vfs_flag & VFS_UNMOUNTED) in smbfs_fsync()
[all …]
/titanic_44/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dvncache.c113 vp->v_vfsp = NULL; in vn_reinit()
219 vfs = dvp->v_vfsp; in vncache_enter()
227 new_vp->v_vfsp = vfs; in vncache_enter()
/titanic_44/usr/src/uts/common/fs/fifofs/
H A Dfifosubr.c279 vp1->v_vfsp = vp2->v_vfsp = fifovfsp; in pipe_constructor()
298 ASSERT(vp1->v_vfsp == fifovfsp); in pipe_destructor()
299 ASSERT(vp2->v_vfsp == fifovfsp); in pipe_destructor()
496 VFS_HOLD(vp->v_vfsp); in fifovp()
497 newvp->v_vfsp = vp->v_vfsp; in fifovp()
547 nvp1->v_vfsp = fifovfsp; /* Need to re-establish VFS & device */ in makepipe()
548 nvp2->v_vfsp = fifovfsp; /* before we can reuse this vnode. */ in makepipe()
/titanic_44/usr/src/uts/common/fs/specfs/
H A Dspecsubr.c184 svp->v_vfsp = vp->v_vfsp; in specvp()
185 VFS_HOLD(svp->v_vfsp); in specvp()
251 svp->v_vfsp = &spec_vfs; in makespecvp()
563 svp->v_vfsp = &spec_vfs; in get_cvp()
609 svp->v_vfsp = &spec_vfs; in commonvp()
693 (vp == NULL || st->s_realvp->v_vfsp == vp->v_vfsp)) { in sfind()
/titanic_44/usr/src/uts/common/cpr/
H A Dcpr_main.c261 mntpt = vfs_getmntpoint(vp->v_vfsp); in cpr_log_status()
270 mntpt = vfs_getmntpoint(vp->v_vfsp); in cpr_log_status()
290 mntpt = vfs_getmntpoint(vp->v_vfsp); in cpr_log_status()
296 mntpt = vfs_getmntpoint(vp->v_vfsp); in cpr_log_status()
337 vfsp = vp->v_vfsp; in cpr_ufs_logging()
362 if (vp->v_vfsp != vfsp && vp->v_type == VREG) in cpr_ufs_logging()
/titanic_44/usr/src/uts/common/fs/autofs/
H A Dauto_vnops.c195 vfsp = newvp->v_vfsp; in auto_getattr()
263 vap->va_fsid = vp->v_vfsp->vfs_dev; in auto_getattr()
374 dfnip = vfstofni(dvp->v_vfsp); in auto_lookup()
409 vfs_rlock_wait(dvp->v_vfsp); in auto_lookup()
410 if (dvp->v_vfsp->vfs_flag & VFS_UNMOUNTED) { in auto_lookup()
411 vfs_unlock(dvp->v_vfsp); in auto_lookup()
414 vp = dvp->v_vfsp->vfs_vnodecovered; in auto_lookup()
416 vfs_unlock(dvp->v_vfsp); in auto_lookup()
960 fninfo_t *fnip = vfstofni(vp->v_vfsp); in auto_readdir()
1390 fninfo_t *fnip = vfstofni(vp->v_vfsp); in auto_trigger_mount()
/titanic_44/usr/src/uts/common/fs/sharefs/
H A Dsharefs_vnops.c199 vap->va_fsid = vp->v_vfsp->vfs_dev; in sharefs_getattr()
239 VFS_HOLD(ovp->v_vfsp); in sharefs_open()
241 VN_SET_VFS_TYPE_DEV(vp, ovp->v_vfsp, VREG, 0); in sharefs_open()
/titanic_44/usr/src/uts/common/fs/smbsrv/
H A Dsmb_vops.c319 if (vfs_has_feature(use_vp->v_vfsp, VFSFT_XVATTR)) { in smb_vop_getattr()
481 if (vfs_has_feature(use_vp->v_vfsp, VFSFT_XVATTR)) { in smb_vop_setattr()
593 vfsp = cvp->v_vfsp; in smb_vop_lookup()
595 if (((dvp = cvp->v_vfsp->vfs_vnodecovered) == NULL) || in smb_vop_lookup()
596 (cvp->v_vfsp->vfs_flag & VFS_UNMOUNTED)) { in smb_vop_lookup()
653 if (vfs_has_feature(dvp->v_vfsp, VFSFT_XVATTR)) { in smb_vop_create()
782 if (vfs_has_feature(dvp->v_vfsp, VFSFT_XVATTR)) { in smb_vop_mkdir()
962 if (vfs_has_feature(vp->v_vfsp, VFSFT_DIRENTFLAGS)) { in smb_vop_readdir()
1169 error = VFS_STATVFS(vp->v_vfsp, statp); in smb_vop_statfs()

1234567