/illumos-gate/usr/src/uts/common/os/ |
H A D | tlabel.c | 191 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 D | pool_pset.c | 123 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 D | zone.c | 315 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 D | audit_zone.c | 55 global_zone->zone_audit_kctxt = kctx; in au_zone_init()
|
H A D | exacct.c | 734 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 D | pool.c | 185 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 D | core.c | 649 global_cg = zone_getspecific(core_zone_key, global_zone); in core()
|
H A D | task.c | 998 task0p->tk_zone = global_zone; in task_init()
|
/illumos-gate/usr/src/lib/libfakekernel/common/sys/ |
H A D | zone.h | 72 extern zone_t *global_zone;
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit.h | 450 global_zone->zone_audit_kctxt 452 #define GET_KCTX_GZ global_zone->zone_audit_kctxt
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | mt_rpcinit.c | 181 return (nfs_global_client_only != 0 ? global_zone : curproc->p_zone); in rpc_zone()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | zone.h | 648 extern zone_t *global_zone; 751 ((p)->p_zone == global_zone)
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | vfs.c | 192 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 D | door_vnops.c | 95 if (server_zone != global_zone && in door_open()
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_usage.c | 299 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 D | mntvfsops.c | 191 if (zone == global_zone) { in mntmount()
|
H A D | mntvnops.c | 181 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 D | zcons.c | 790 if (curzone != global_zone) { in zc_wput() 848 if (curzone != global_zone) { in zc_wput()
|
/illumos-gate/usr/src/cmd/zonecfg/ |
H A D | zonecfg.c | 579 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 D | prvfsops.c | 203 if (zone == global_zone) { in prmount()
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | vfs.c | 889 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 D | fifovnops.c | 188 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 D | auto_vfsops.c | 372 if (zone == global_zone) { in auto_mount()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_srv_ns.c | 843 curzone->zone_id == global_zone->zone_id); in treeclimb_unexport()
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_vfsops.c | 1129 if ((mntzone == global_zone) || in smbfs_mount_label_policy()
|