Home
last modified time | relevance | path

Searched refs:mntzone (Results 1 – 10 of 10) sorted by relevance

/titanic_41/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vfsops.c347 zone_t *mntzone = NULL; in smbfs_mount() local
424 zone_hold(mntzone = zone); /* start with this assumption */ in smbfs_mount()
426 zone_rele(mntzone); in smbfs_mount()
427 mntzone = zone_find_by_path(refstr_value(vfsp->vfs_mntpt)); in smbfs_mount()
428 ASSERT(mntzone != NULL); in smbfs_mount()
429 if (mntzone != zone) { in smbfs_mount()
438 if (zone_status_get(mntzone) >= ZONE_IS_SHUTTING_DOWN) { in smbfs_mount()
491 zone_hold_ref(mntzone, &smi->smi_zone_ref, ZONE_REF_SMBFS); in smbfs_mount()
492 zone_rele(mntzone); in smbfs_mount()
493 mntzone = NULL; in smbfs_mount()
[all …]
/titanic_41/usr/src/uts/common/fs/mntfs/
H A Dmntvfsops.c192 zone_t *mntzone; in mntmount() local
194 mntzone = zone_find_by_path(refstr_value(vfsp->vfs_mntpt)); in mntmount()
195 ASSERT(mntzone != NULL); in mntmount()
196 zone_rele(mntzone); in mntmount()
197 if (mntzone != zone) in mntmount()
/titanic_41/usr/src/uts/common/fs/proc/
H A Dprvfsops.c204 zone_t *mntzone; in prmount() local
206 mntzone = zone_find_by_path(refstr_value(vfsp->vfs_mntpt)); in prmount()
207 zone_rele(mntzone); in prmount()
208 if (zone != mntzone) in prmount()
/titanic_41/usr/src/uts/common/fs/autofs/
H A Dauto_vfsops.c370 zone_t *mntzone; in auto_mount() local
372 mntzone = zone_find_by_path(refstr_value(vfsp->vfs_mntpt)); in auto_mount()
373 ASSERT(mntzone != NULL); in auto_mount()
374 zone_rele(mntzone); in auto_mount()
375 if (mntzone != zone) { in auto_mount()
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs_vfsops.c515 zone_t *mntzone = NULL; in nfs_mount() local
940 zone_hold(mntzone = zone); /* start with this assumption */ in nfs_mount()
942 zone_rele(mntzone); in nfs_mount()
943 mntzone = zone_find_by_path(refstr_value(vfsp->vfs_mntpt)); in nfs_mount()
944 ASSERT(mntzone != NULL); in nfs_mount()
945 if (mntzone != zone) { in nfs_mount()
967 if (zone_status_get(mntzone) >= ZONE_IS_SHUTTING_DOWN) { in nfs_mount()
976 error = nfsrootvp(&rtvp, vfsp, svp_head, flags, cr, mntzone); in nfs_mount()
1027 if (mntzone != NULL) in nfs_mount()
1028 zone_rele(mntzone); in nfs_mount()
H A Dnfs3_vfsops.c497 zone_t *mntzone = NULL; in nfs3_mount() local
913 zone_hold(mntzone = zone); /* start with this assumption */ in nfs3_mount()
915 zone_rele(mntzone); in nfs3_mount()
916 mntzone = zone_find_by_path(refstr_value(vfsp->vfs_mntpt)); in nfs3_mount()
917 ASSERT(mntzone != NULL); in nfs3_mount()
918 if (mntzone != zone) { in nfs3_mount()
940 if (zone_status_get(mntzone) >= ZONE_IS_SHUTTING_DOWN) { in nfs3_mount()
949 error = nfs3rootvp(&rtvp, vfsp, svp_head, flags, cr, mntzone); in nfs3_mount()
997 if (mntzone != NULL) in nfs3_mount()
998 zone_rele(mntzone); in nfs3_mount()
H A Dnfs4_vfsops.c714 zone_t *mntzone = NULL; in nfs4_mount() local
1091 zone_hold(mntzone = zone); /* start with this assumption */ in nfs4_mount()
1093 zone_rele(mntzone); in nfs4_mount()
1094 mntzone = zone_find_by_path(refstr_value(vfsp->vfs_mntpt)); in nfs4_mount()
1095 ASSERT(mntzone != NULL); in nfs4_mount()
1096 if (mntzone != zone) { in nfs4_mount()
1118 if (zone_status_get(mntzone) >= ZONE_IS_SHUTTING_DOWN) { in nfs4_mount()
1127 error = nfs4rootvp(&rtvp, vfsp, svp_head, flags, cr, mntzone); in nfs4_mount()
1179 if (mntzone != NULL) in nfs4_mount()
1180 zone_rele(mntzone); in nfs4_mount()
[all …]
H A Dnfs_subr.c5125 zone_t *mntzone = NULL; in nfs_mount_label_policy() local
5134 mntzone = zone_find_by_any_path(refstr_value(vfsp->vfs_mntpt), B_FALSE); in nfs_mount_label_policy()
5135 zlabel = mntzone->zone_slabel; in nfs_mount_label_policy()
5192 if ((mntzone == global_zone) || in nfs_mount_label_policy()
5209 if (mntzone) in nfs_mount_label_policy()
5210 zone_rele(mntzone); in nfs_mount_label_policy()
/titanic_41/usr/src/uts/common/fs/cachefs/
H A Dcachefs_vfsops.c189 zone_t *mntzone; in cachefs_mount() local
191 mntzone = zone_find_by_path(refstr_value(vfsp->vfs_mntpt)); in cachefs_mount()
192 ASSERT(mntzone != NULL); in cachefs_mount()
193 zone_rele(mntzone); in cachefs_mount()
194 if (mntzone != curproc->p_zone) { in cachefs_mount()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzfs_vfsops.c1389 zone_t *mntzone = NULL; in zfs_mount_label_policy() local
1422 mntzone = zone_find_by_any_path(refstr_value(vfsp->vfs_mntpt), B_FALSE); in zfs_mount_label_policy()
1423 if (mntzone->zone_id == GLOBAL_ZONEID) { in zfs_mount_label_policy()
1426 zone_rele(mntzone); in zfs_mount_label_policy()
1442 mnt_tsl = mntzone->zone_slabel; in zfs_mount_label_policy()
1476 zone_rele(mntzone); in zfs_mount_label_policy()