Home
last modified time | relevance | path

Searched refs:global_zone (Results 1 – 25 of 36) sorted by relevance

12

/illumos-gate/usr/src/uts/common/os/
H A Dtlabel.c191 if (reszone == global_zone) { in getflabel_cipso()
209 if (new_reszone != global_zone) { in getflabel_cipso()
351 if ((rvfsp->vfs_zone != NULL) && (rvfsp->vfs_zone != global_zone)) { in getflabel()
403 if ((zone != global_zone) || ((vfsp->vfs_flag & VFS_RDONLY) != 0)) in getflabel()
410 if ((zone = curproc->p_zone) != global_zone) { in getflabel()
426 if ((curproc->p_zone == global_zone) && (zone == global_zone)) { in getflabel()
453 if (to_zone != global_zone) { in getflabel()
H A Dpool_pset.c123 if (zone == global_zone) in pool_pset_setup_cb()
249 global_zone->zone_psetid = PS_NONE; in pool_pset_enable()
254 pool_pset_visibility_add(PS_NONE, global_zone); in pool_pset_enable()
322 pool_pset_visibility_remove(PS_NONE, global_zone); in pool_pset_disable()
326 global_zone->zone_psetid = ZONE_PS_INVAL; in pool_pset_disable()
455 return (zone_pset_get(global_zone) != ZONE_PS_INVAL); in pool_pset_enabled()
H A Dzone.c315 zone_t *global_zone = NULL; /* Set when the global zone is initialized */ variable
2351 global_zone = &zone0; in zone_init()
2369 ASSERT(zone != global_zone); in zone_free()
2500 ASSERT(zone != global_zone); in zone_set_bootargs()
2561 ASSERT(zone != global_zone); in zone_set_secflags()
2587 ASSERT(zone != global_zone); in zone_set_fs_allowed()
2609 ASSERT(zone != global_zone); in zone_set_initname()
2640 ASSERT(zone != global_zone); in zone_set_sched_class()
3199 zone_hold(global_zone); in zone_find_by_path()
3200 return (global_zone); in zone_find_by_path()
[all …]
H A Daudit_zone.c55 global_zone->zone_audit_kctxt = kctx; in au_zone_init()
H A Dexacct.c734 if (tk->tk_zone != global_zone) { in exacct_commit_task()
735 acg = zone_getspecific(exacct_zone_key, global_zone); in exacct_commit_task()
1173 if (zone != global_zone) { in exacct_commit_proc()
1174 gacg = zone_getspecific(exacct_zone_key, global_zone); in exacct_commit_proc()
1431 acg = zone_getspecific(exacct_zone_key, global_zone); in exacct_commit_netinfo()
1617 acg = zone_getspecific(exacct_zone_key, global_zone); in exacct_commit_flow()
H A Dpool.c185 global_zone->zone_pool = pool_default; in pool_init()
1381 kpj = project_hold_by_id(id, global_zone, PROJECT_HOLD_FIND); in pool_do_bind()
H A Dcore.c649 global_cg = zone_getspecific(core_zone_key, global_zone); in core()
H A Dtask.c998 task0p->tk_zone = global_zone; in task_init()
/illumos-gate/usr/src/lib/libfakekernel/common/sys/
H A Dzone.h72 extern zone_t *global_zone;
/illumos-gate/usr/src/uts/common/c2/
H A Daudit.h450 global_zone->zone_audit_kctxt
452 #define GET_KCTX_GZ global_zone->zone_audit_kctxt
/illumos-gate/usr/src/uts/common/rpc/
H A Dmt_rpcinit.c181 return (nfs_global_client_only != 0 ? global_zone : curproc->p_zone); in rpc_zone()
/illumos-gate/usr/src/uts/common/sys/
H A Dzone.h648 extern zone_t *global_zone;
751 ((p)->p_zone == global_zone)
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dvfs.c192 uintptr_t global_zone; in fsinfo() local
284 if (mdb_readvar(&global_zone, "global_zone") == -1) { in fsinfo()
290 ((uintptr_t)vfs.vfs_zone != global_zone)) { in fsinfo()
/illumos-gate/usr/src/uts/common/fs/doorfs/
H A Ddoor_vnops.c95 if (server_zone != global_zone && in door_open()
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_usage.c299 extern zone_t *global_zone;
1767 if ((flags & VMUSAGE_SYSTEM) && curproc->p_zone == global_zone) in vmu_copyout_results()
1787 if (curproc->p_zone != global_zone && in vmu_copyout_results()
1795 if (curproc->p_zone != global_zone && in vmu_copyout_results()
1913 if (curproc->p_zone != global_zone) { in vm_getusage()
/illumos-gate/usr/src/uts/common/fs/mntfs/
H A Dmntvfsops.c191 if (zone == global_zone) { in mntmount()
H A Dmntvnops.c181 if (vfsp->vfs_zone != NULL && vfsp->vfs_zone != global_zone) { in mntfs_optsize()
227 if (vfsp->vfs_zone != NULL && vfsp->vfs_zone != global_zone) { in mntfs_optprint()
504 int is_global_zone = (zonep == global_zone); in mntfs_snapshot()
1565 if (zone != global_zone) { in mntioctl()
/illumos-gate/usr/src/uts/common/io/
H A Dzcons.c790 if (curzone != global_zone) { in zc_wput()
848 if (curzone != global_zone) { in zc_wput()
/illumos-gate/usr/src/cmd/zonecfg/
H A Dzonecfg.c579 static boolean_t global_zone = B_FALSE; variable
1479 } else if (global_zone && err == Z_NO_ZONE && !got_handle && in initialize()
2233 if (global_zone) in add_resource()
2313 if (global_zone) in add_resource()
2532 return (global_zone && (type == RT_FS || in gz_invalid_resource()
2540 return (global_zone && (type == RT_ZONENAME || type == RT_ZONEPATH || in gz_invalid_rt_property()
2549 return (global_zone && (type == PT_ZONENAME || type == PT_ZONEPATH || in gz_invalid_property()
4225 if (global_zone && strcmp(alias, ALIAS_SHARES) != 0) in set_aliased_rctl()
4863 if (global_zone) in set_func()
5720 if (!global_zone) { in info_func()
[all …]
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprvfsops.c203 if (zone == global_zone) { in prmount()
/illumos-gate/usr/src/uts/common/fs/
H A Dvfs.c889 global_zone->zone_rootvp = rootdir; in vfs_mountroot()
890 VN_HOLD(global_zone->zone_rootvp); in vfs_mountroot()
1880 if (zone == global_zone || (flag & VFSSP_VERBATIM) || *newpath != '/') { in vfs_setpath()
3582 ASSERT(zone == global_zone); in vfs_list_add()
3600 ASSERT(zone != global_zone); in vfs_list_add()
/illumos-gate/usr/src/uts/common/fs/fifofs/
H A Dfifovnops.c188 if (proc_zone != global_zone) { in tsol_fifo_access()
201 if (fifo_zone != global_zone && in tsol_fifo_access()
/illumos-gate/usr/src/uts/common/fs/autofs/
H A Dauto_vfsops.c372 if (zone == global_zone) { in auto_mount()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_ns.c843 curzone->zone_id == global_zone->zone_id); in treeclimb_unexport()
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vfsops.c1129 if ((mntzone == global_zone) || in smbfs_mount_label_policy()

12