Home
last modified time | relevance | path

Searched refs:v_count (Results 1 – 25 of 98) sorted by relevance

1234

/titanic_44/usr/src/uts/common/fs/doorfs/
H A Ddoor_vnops.c131 if (count == 2 && vp->v_count == 1 && in door_close()
161 vap->va_nlink = vp->v_count; /* number of references to file */ in door_getattr()
186 ASSERT(vp->v_count == 1); in door_inactive()
188 vp->v_count--; in door_inactive()
218 ASSERT(dp->door_bound_threads > 0 && vp->v_count > 0); in door_bind_thread()
230 if (--dp->door_bound_threads == 0 && vp->v_count == 0) { in door_unbind_thread()
232 vp->v_count++; in door_unbind_thread()
/titanic_44/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_subr2.c356 if (vp->v_count > 1) { in make_smbnode()
357 vp->v_count--; in make_smbnode()
372 if (vp->v_count > 1) { in make_smbnode()
373 vp->v_count--; in make_smbnode()
511 ASSERT(vp->v_count >= 1); in smbfs_addfree()
535 if (vp->v_count > 1) { in smbfs_addfree()
536 vp->v_count--; in smbfs_addfree()
572 if (vp->v_count > 1) { in smbfs_addfree()
573 vp->v_count--; in smbfs_addfree()
594 if (vp->v_count > 1) { in smbfs_addfree()
[all …]
/titanic_44/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dvncache.c112 vp->v_count = 1; in vn_reinit()
145 ASSERT((vp->v_count == 0) || (vp->v_count == 1)); in vn_free()
287 if ((count = vp->v_count) <= 1) { in vncache_inactive()
H A Dfake_vop.c1256 vp->v_count++; in vn_hold()
1263 VERIFY3U(vp->v_count, !=, 0); in vn_rele()
1265 if (vp->v_count == 1) { in vn_rele()
1269 vp->v_count--; in vn_rele()
/titanic_44/usr/src/uts/common/fs/dev/
H A Dsdev_vfsops.c215 (mvp->v_count > 1 || (mvp->v_flag & VROOT))) { in sdev_mount()
374 if (SDEVTOV(dv)->v_count > 1) { in sdev_unmount()
392 ASSERT(SDEVTOV(dv)->v_count == 1); in sdev_unmount()
491 SDEVTOV(mntinfo->sdev_root)->v_count++; in sdev_find_mntinfo()
504 SDEVTOV(mntinfo->sdev_root)->v_count--; in sdev_mntinfo_rele()
/titanic_44/usr/src/uts/common/fs/ufs/
H A Dufs_xattr.c142 if (dirvp->v_count != 1 && datavp->v_count != 1) { in ufs_unhook_shadow()
H A Dufs_filio.c516 if (vp->v_count > 1) in ufs_fioisbusy()
524 ASSERT(vp->v_count > 0); in ufs_fioisbusy()
525 if ((vp->v_count == 1) && (VTOI(vp)->i_mapcnt == 0)) in ufs_fioisbusy()
H A Dufs_thread.c267 if ((vp->v_count > 1) || (ip->i_mode == 0)) { in ufs_delete()
688 if (vp->v_count < 2) in ufs_idle_free()
692 vp->v_count--; in ufs_idle_free()
697 if (vp->v_count != 1 || in ufs_idle_free()
758 ASSERT(vp->v_count == 1); in ufs_idle_free()
/titanic_44/usr/src/uts/common/fs/nfs/
H A Dnfs4_rnode.c605 if (vp->v_count > 1) { in make_rnode4()
606 vp->v_count--; in make_rnode4()
620 if (vp->v_count > 1) { in make_rnode4()
621 vp->v_count--; in make_rnode4()
719 ASSERT(vp->v_count == 1); in uninit_rnode4()
766 ASSERT(vp->v_count >= 1); in rp4_addfree()
787 if (vp->v_count > 1) { in rp4_addfree()
788 vp->v_count--; in rp4_addfree()
829 if (vp->v_count > 1) { in rp4_addfree()
830 vp->v_count--; in rp4_addfree()
[all …]
H A Dnfs4_shadow.c305 if (vp->v_count > 1) { in sv_inactive()
306 vp->v_count--; in sv_inactive()
/titanic_44/usr/src/uts/common/fs/objfs/
H A Dobjfs_vfs.c170 (mvp->v_count > 1 || (mvp->v_flag & VROOT))) in objfs_mount()
220 if (data->objfs_vfs_root->v_count > 1) in objfs_unmount()
/titanic_44/usr/src/uts/common/fs/sharefs/
H A Dsharefs_vfsops.c192 (mvp->v_count > 1 || (mvp->v_flag & VROOT))) in sharefs_mount()
242 if (data->sharefs_vfs_root->v_count > 1) in sharefs_unmount()
/titanic_44/usr/src/uts/common/fs/udfs/
H A Dudf_inode.c378 if (vp->v_count < 1) { in ud_iget()
479 vp->v_count--; in ud_iget()
960 if (vp->v_count < 1) { in ud_iinactive()
964 if ((vp->v_count > 1) || ((ip->i_flag & IREF) == 0)) { in ud_iinactive()
965 vp->v_count--; /* release our hold from vn_rele */ in ud_iinactive()
1031 if (vp->v_count > 1) { in ud_iinactive()
1032 vp->v_count--; in ud_iinactive()
1067 vp->v_count--; in ud_iinactive()
1087 vp->v_count--; in ud_iinactive()
1113 if (vp->v_count > 1) { in ud_iinactive()
[all …]
/titanic_44/usr/src/uts/common/fs/fd/
H A Dfdops.c308 ASSERT(vp->v_count >= 1); in fdinactive()
309 if (--vp->v_count != 0) { in fdinactive()
377 (mvp->v_count > 1 || (mvp->v_flag & VROOT))) { in fdmount()
424 if (rvp->v_count > 1) in fdunmount()
/titanic_44/usr/src/uts/common/fs/tmpfs/
H A Dtmp_vfsops.c253 (mvp->v_count != 1 || (mvp->v_flag & VROOT))) { in tmp_mount()
407 if (TNTOV(tnp)->v_count > 1) { in tmp_unmount()
413 if ((vp = TNTOV(tnp))->v_count > 0) { in tmp_unmount()
417 ASSERT(vp->v_count > 0); in tmp_unmount()
/titanic_44/usr/src/uts/common/fs/lofs/
H A Dlofs_vfsops.c180 (vp->v_count != 1 || (vp->v_flag & VROOT))) { in lo_mount()
440 if (li->li_refct != 1 || li->li_rootvp->v_count != 1) { in lo_unmount()
443 li->li_rootvp->v_count); in lo_unmount()
/titanic_44/usr/src/uts/common/fs/autofs/
H A Dauto_vfsops.c199 ASSERT(vp->v_count == 1); in autofs_zone_destructor()
200 vp->v_count--; in autofs_zone_destructor()
715 if (rvp->v_count > 1 || rfnp->fn_dirents != NULL) in auto_unmount()
734 if (rvp->v_count > 1 || rfnp->fn_dirents != NULL) { in auto_unmount()
750 ASSERT(rvp->v_count == 1); in auto_unmount()
H A Dauto_subr.c1443 ASSERT(vp->v_count == 0); in auto_freefnnode()
1477 (void *)dfnp, (void *)fnp, fnp->fn_linkcnt, vp->v_count)); in auto_disconnect()
1508 ASSERT(vp->v_count == 0); in auto_disconnect()
1764 vfsp->vfs_dev, (void *)cvp, cvp->v_count)); in auto_inkernel_unmount()
1775 cvp->v_count)); in auto_inkernel_unmount()
1797 ASSERT(tvp->v_count >= 2); in unmount_triggers()
1863 DEEPER(tp) || ((fntovn(tp))->v_count) > 2) { in triggers_busy()
2033 ASSERT(vp->v_count > 0); in check_auto_node()
2036 AUTOFS_DPRINT((10, "\tcount=%u ", vp->v_count)); in check_auto_node()
2037 if (vp->v_count > count) in check_auto_node()
[all …]
/titanic_44/usr/src/uts/common/fs/mntfs/
H A Dmntvfsops.c209 (mvp->v_count > 1 || (mvp->v_flag & VROOT))) { in mntmount()
254 if (vp->v_count > 1 || mnt->mnt_nopen > 0) { in mntunmount()
/titanic_44/usr/src/uts/common/fs/proc/
H A Dprvfsops.c221 (mvp->v_count > 1 || (mvp->v_flag & VROOT))) { in prmount()
274 if (vp->v_count > 1) { in prunmount()
/titanic_44/usr/src/uts/common/fs/pcfs/
H A Dpc_node.c265 vp->v_count--; /* release our hold from vn_rele */ in pc_rele()
266 if (vp->v_count > 0) { /* Is this check still needed? */ in pc_rele()
706 if (vp->v_count > 0) { in pc_diskchanged()
738 if (vp->v_count > 0) { in pc_diskchanged()
/titanic_44/usr/src/uts/common/fs/ctfs/
H A Dctfs_root.c231 (mvp->v_count > 1 || (mvp->v_flag & VROOT))) in ctfs_mount()
304 if (data->ctvfs_root->v_count > 1) in ctfs_unmount()
/titanic_44/usr/src/uts/common/fs/cachefs/
H A Dcachefs_cnode.c317 ASSERT(vp->v_count > 0); in cachefs_cnode_inactive()
318 if (vp->v_count > 1) { in cachefs_cnode_inactive()
333 vp->v_count--; /* release our hold from vn_rele */ in cachefs_cnode_inactive()
366 ASSERT(vp->v_count > 0); in cachefs_cnode_inactive()
367 if (vp->v_count > 1) { in cachefs_cnode_inactive()
369 vp->v_count--; in cachefs_cnode_inactive()
376 vp->v_count, vp); in cachefs_cnode_inactive()
397 ASSERT(vp->v_count == 1); in cachefs_cnode_inactive()
/titanic_44/usr/src/uts/common/fs/
H A Dvnode.c832 VERIFY(vp->v_count > 0); in vn_rele()
834 if (vp->v_count == 1) { in vn_rele()
839 vp->v_count--; in vn_rele()
852 VERIFY((vp->v_count > 0) && (vp->v_count_dnlc > 0)); in vn_rele_dnlc()
855 if (vp->v_count == 1) { in vn_rele_dnlc()
860 vp->v_count--; in vn_rele_dnlc()
875 VERIFY(vp->v_count > 0); in vn_rele_stream()
878 if (vp->v_count == 1) { in vn_rele_stream()
883 vp->v_count--; in vn_rele_stream()
906 VERIFY(vp->v_count > 0); in vn_rele_async()
[all …]
/titanic_44/usr/src/uts/common/fs/sockfs/
H A Dsockcommon_vnops.c434 if (vp->v_count < 1) in socket_vop_inactive()
440 if (--vp->v_count != 0) { in socket_vop_inactive()

1234