Home
last modified time | relevance | path

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

1234

/illumos-gate/usr/src/uts/common/fs/doorfs/
H A Ddoor_vnops.c126 if (count == 2 && vp->v_count == 1 && in door_close()
156 vap->va_nlink = vp->v_count; /* number of references to file */ in door_getattr()
181 ASSERT(vp->v_count == 1); in door_inactive()
213 ASSERT(dp->door_bound_threads > 0 && vp->v_count > 0); in door_bind_thread()
225 if (--dp->door_bound_threads == 0 && vp->v_count == 0) { in door_unbind_thread()
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dvncache.c145 vp->v_count = 1; in vn_reinit()
180 ASSERT((vp->v_count == 0) || (vp->v_count == 1)); in vn_free()
352 if ((count = vp->v_count) <= 1) { in vncache_inactive()
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_subr2.c370 if (vp->v_count > 1) { in make_smbnode()
386 if (vp->v_count > 1) { in make_smbnode()
521 ASSERT(vp->v_count >= 1); in smbfs_addfree()
545 if (vp->v_count > 1) { in smbfs_addfree()
582 if (vp->v_count > 1) { in smbfs_addfree()
604 if (vp->v_count > 1) { in smbfs_addfree()
1032 ASSERT(vp->v_count == 1); in sn_destroy_node()
1313 if (vp->v_count > 1) { in smbfs_node_reclaim()
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_xattr.c140 if (dirvp->v_count != 1 && datavp->v_count != 1) { in ufs_unhook_shadow()
H A Dufs_filio.c513 if (vp->v_count > 1) in ufs_fioisbusy()
521 ASSERT(vp->v_count > 0); in ufs_fioisbusy()
522 if ((vp->v_count == 1) && (VTOI(vp)->i_mapcnt == 0)) in ufs_fioisbusy()
H A Dufs_thread.c271 if ((vp->v_count > 1) || (ip->i_mode == 0)) { in ufs_delete()
692 VERIFY3U(vp->v_count, >=, 2); in ufs_idle_free()
699 if (vp->v_count != 1 || in ufs_idle_free()
760 ASSERT(vp->v_count == 1); in ufs_idle_free()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/fs/sharefs/
H A Dsharefs_vfsops.c196 (mvp->v_count > 1 || (mvp->v_flag & VROOT))) in sharefs_mount()
246 if (data->sharefs_vfs_root->v_count > 1) in sharefs_unmount()
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_vfsops.c253 (mvp->v_count != 1 || (mvp->v_flag & VROOT))) { in tmp_mount()
440 if (TNTOV(tnp)->v_count > 1) { in tmp_unmount()
446 if ((vp = TNTOV(tnp))->v_count > 0) { in tmp_unmount()
450 ASSERT(vp->v_count > 0); in tmp_unmount()
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_vfsops.c225 (mvp->v_count > 1 || (mvp->v_flag & VROOT))) { in sdev_mount()
399 if (SDEVTOV(dv)->v_count > 1) { in sdev_unmount()
417 ASSERT(SDEVTOV(dv)->v_count == 1); in sdev_unmount()
H A Dsdev_ipnetops.c191 if (SDEVTOV(dv)->v_count > 0) in devipnet_filldir()
/illumos-gate/usr/src/uts/common/fs/lofs/
H A Dlofs_vfsops.c179 (vp->v_count != 1 || (vp->v_flag & VROOT))) { in lo_mount()
439 if (li->li_refct != 1 || li->li_rootvp->v_count != 1) { in lo_unmount()
442 li->li_rootvp->v_count); in lo_unmount()
/illumos-gate/usr/src/uts/common/fs/fd/
H A Dfdops.c309 ASSERT(vp->v_count >= 1); in fdinactive()
311 if (vp->v_count != 0) { in fdinactive()
379 (mvp->v_count > 1 || (mvp->v_flag & VROOT))) { in fdmount()
426 if (rvp->v_count > 1) in fdunmount()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/fs/autofs/
H A Dauto_subr.c1444 ASSERT(vp->v_count == 0); in auto_freefnnode()
1478 (void *)dfnp, (void *)fnp, fnp->fn_linkcnt, vp->v_count)); in auto_disconnect()
1509 ASSERT(vp->v_count == 0); in auto_disconnect()
1765 vfsp->vfs_dev, (void *)cvp, cvp->v_count)); in auto_inkernel_unmount()
1776 cvp->v_count)); in auto_inkernel_unmount()
1798 ASSERT(tvp->v_count >= 2); in unmount_triggers()
1864 DEEPER(tp) || ((fntovn(tp))->v_count) > 2) { in triggers_busy()
2034 ASSERT(vp->v_count > 0); in check_auto_node()
2037 AUTOFS_DPRINT((10, "\tcount=%u ", vp->v_count)); in check_auto_node()
2038 if (vp->v_count > count) in check_auto_node()
[all …]
H A Dauto_vfsops.c201 ASSERT(vp->v_count == 1); in autofs_zone_destructor()
718 if (rvp->v_count > 1 || rfnp->fn_dirents != NULL) in auto_unmount()
737 if (rvp->v_count > 1 || rfnp->fn_dirents != NULL) { in auto_unmount()
753 ASSERT(rvp->v_count == 1); in auto_unmount()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/fs/bootfs/
H A Dbootfs_vfsops.c83 (mvp->v_count != 1 || (mvp->v_flag & VROOT))) { in bootfs_mount()
171 if (bnp->bvn_vnp->v_count > 1) { in bootfs_unmount()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_rnode.c606 if (vp->v_count > 1) { in make_rnode4()
621 if (vp->v_count > 1) { in make_rnode4()
720 ASSERT(vp->v_count == 1); in uninit_rnode4()
767 ASSERT(vp->v_count >= 1); in rp4_addfree()
788 if (vp->v_count > 1) { in rp4_addfree()
830 if (vp->v_count > 1) { in rp4_addfree()
853 if (vp->v_count > 1) { in rp4_addfree()
1598 if (vp->v_count > 1) { in nfs4_rnode_reclaim()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockcommon_vnops.c451 if (vp->v_count < 1) in socket_vop_inactive()
455 if (vp->v_count != 0) { in socket_vop_inactive()
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_node.c265 if (vp->v_count > 0) { /* Is this check still needed? */ in pc_rele()
705 if (vp->v_count > 0) { in pc_diskchanged()
737 if (vp->v_count > 0) { in pc_diskchanged()
/illumos-gate/usr/src/uts/common/fs/namefs/
H A Dnamevno.c396 ASSERT(vp->v_count >= 1); in nm_inactive()
398 if (vp->v_count != 0) { in nm_inactive()
/illumos-gate/usr/src/uts/common/fs/udfs/
H A Dudf_inode.c379 if (vp->v_count < 1) { in ud_iget()
961 if (vp->v_count < 1) { in ud_iinactive()
965 if ((vp->v_count > 1) || ((ip->i_flag & IREF) == 0)) { in ud_iinactive()
1032 if (vp->v_count > 1) { in ud_iinactive()
1114 if (vp->v_count > 1) { in ud_iinactive()
1882 if (vp->v_count > 1) { in ud_iflush()
2040 if (vp->v_count > 0) { in ud_idrop()
/illumos-gate/usr/src/uts/common/fs/
H A Dvnode.c842 if (vp->v_count == 1) { in vn_rele()
847 VERIFY(vp->v_count > 0); in vn_rele()
862 VERIFY((vp->v_count > 0) && (vp->v_count_dnlc > 0)); in vn_rele_dnlc()
864 if (vp->v_count == 1) { in vn_rele_dnlc()
886 if (vp->v_count == 1) { in vn_rele_stream()
891 VERIFY(vp->v_count > 0); in vn_rele_stream()
916 if (vp->v_count == 1) { in vn_rele_async()
922 VERIFY(vp->v_count > 0); in vn_rele_async()
1240 ASSERT(vp->v_count > 0); in vn_openat()
2442 vp->v_count = 1; in vn_reinit()
[all …]

1234