Home
last modified time | relevance | path

Searched refs:zone (Results 1 – 25 of 441) sorted by relevance

12345678910>>...18

/illumos-gate/usr/src/uts/common/os/
H A Dzone.c615 struct zone *zone; in zone_key_create() local
639 for (zone = list_head(&zone_active); zone != NULL; in zone_key_create()
640 zone = list_next(&zone_active, zone)) { in zone_key_create()
643 mutex_enter(&zone->zone_lock); in zone_key_create()
646 status = zone_status_get(zone); in zone_key_create()
649 mutex_exit(&zone->zone_lock); in zone_key_create()
653 t = zsd_find_mru(&zone->zone_zsd, key); in zone_key_create()
659 mutex_exit(&zone->zone_lock); in zone_key_create()
670 zone_t *, zone, zone_key_t, key); in zone_key_create()
672 list_insert_tail(&zone->zone_zsd, t); in zone_key_create()
[all …]
H A Dpool_pset.c115 pool_pset_setup_cb(zone_t *zone, void *arg) in pool_pset_setup_cb() argument
121 ASSERT(zone != NULL); in pool_pset_setup_cb()
123 if (zone == global_zone) in pool_pset_setup_cb()
125 if (zone_pset_get(zone) != sa->psetid) in pool_pset_setup_cb()
129 cpu_visibility_configure(sa->cpu, zone); in pool_pset_setup_cb()
132 cpu_visibility_unconfigure(sa->cpu, zone); in pool_pset_setup_cb()
135 cpu_visibility_online(sa->cpu, zone); in pool_pset_setup_cb()
138 cpu_visibility_offline(sa->cpu, zone); in pool_pset_setup_cb()
141 cpu_visibility_add(sa->cpu, zone); in pool_pset_setup_cb()
144 cpu_visibility_remove(sa->cpu, zone); in pool_pset_setup_cb()
[all …]
H A Dtlabel.c320 zone_t *zone; in getflabel() local
354 zone = rvfsp->vfs_zone; in getflabel()
355 zone_hold(zone); in getflabel()
367 zone = curproc->p_zone; in getflabel()
368 zone_hold(zone); in getflabel()
397 zone = zone_find_by_any_path(vpath, B_FALSE); 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()
411 zone_hold(zone); in getflabel()
422 zone_rele(zone); in getflabel()
[all …]
H A Dcred.c110 get_ephemeral_zsd(zone_t *zone) in get_ephemeral_zsd() argument
114 eph_zsd = zone_getspecific(ephemeral_zone_key, zone); in get_ephemeral_zsd()
120 eph_zsd = zone_getspecific(ephemeral_zone_key, zone); in get_ephemeral_zsd()
132 eph_zsd->eph_nobody = crdup(zone->zone_kcred); in get_ephemeral_zsd()
135 eph_zsd->eph_nobody->cr_zone = zone; in get_ephemeral_zsd()
137 (void) zone_setspecific(ephemeral_zone_key, zone, eph_zsd); in get_ephemeral_zsd()
765 zone_t *zone = crgetzone(cr); in crsetresuid() local
769 if (BADUID(r, zone) || BADUID(e, zone) || BADUID(s, zone)) in crsetresuid()
785 zone_t *zone = crgetzone(cr); in crsetresgid() local
789 if (BADGID(r, zone) || BADGID(e, zone) || BADGID(s, zone)) in crsetresgid()
[all …]
/illumos-gate/usr/src/test/net-tests/tests/
H A Dnet_common.ksh176 typeset zone=$4
185 typeset azone=$(dladm show-linkprop -cp zone -o value $name)
187 [ $azone == $zone ]
203 typeset zone=$4
206 typeset vnic_info="$name, vid: $vid, over: $over, zone: $zone"
219 dladm set-linkprop -t -p zone=$zone $name > /dev/null 2>&1
232 typeset zone=$3
233 typeset vnic_info="$name, vid: $vid, zone: $zone"
234 typeset err1="failed to assign VNIC $name from $zone to GZ"
241 dbg "assigning VNIC $name from $zone to GZ"
[all …]
/illumos-gate/usr/src/cmd/zoneadm/
H A Dsvc-zones61 for zone in `zoneadm list -pi | nawk -F: '{
66 zonecfg -z $zone info autoboot | grep "true" >/dev/null 2>&1
70 echo " $zone\c"
77 zoneadm -z $zone boot &
79 zoneadm -z $zone sysboot &
111 for zone in $zonelist; do
112 echo " $zone\c"
113 zoneadm -z $zone shutdown &
131 for zone in `zoneadm list`; do
132 if [ "$zone" != "global" ]; then
[all …]
/illumos-gate/usr/src/pkg/manifests/
H A Dservice-fault-management.p5m31 # global zone only. See the include file for greater detail, as well as
46 dir path=etc group=sys variant.opensolaris.zone=__NODEFAULT
47 dir path=etc/fm group=sys variant.opensolaris.zone=__NODEFAULT
48 dir path=etc/fm/fmd group=sys variant.opensolaris.zone=__NODEFAULT
52 dir path=etc/logadm.d group=sys variant.opensolaris.zone=__NODEFAULT
58 variant.opensolaris.zone=__NODEFAULT
59 dir path=etc/net-snmp variant.opensolaris.zone=__NODEFAULT
60 dir path=etc/net-snmp/snmp variant.opensolaris.zone=__NODEFAULT
61 dir path=etc/net-snmp/snmp/mibs variant.opensolaris.zone=__NODEFAULT
68 variant.opensolaris.zone=__NODEFAULT
[all …]
H A Dservice-hal.p5m34 dir path=etc group=sys variant.opensolaris.zone=global
35 dir path=etc/dbus-1 variant.opensolaris.zone=global
36 dir path=etc/dbus-1/system.d variant.opensolaris.zone=global
37 file path=etc/dbus-1/system.d/hal.conf variant.opensolaris.zone=global
38 dir path=etc/hal variant.opensolaris.zone=global
39 dir path=etc/hal/fdi variant.opensolaris.zone=global
40 dir path=etc/hal/fdi/information variant.opensolaris.zone=global
41 dir path=etc/hal/fdi/information/10freedesktop variant.opensolaris.zone=global
43 variant.opensolaris.zone=global
45 variant.opensolaris.zone=global
[all …]
H A Ddriver-misc-ccid.p5m18 # global zone only. See the include file for greater detail, as well as
27 dir path=kernel group=sys variant.opensolaris.zone=global
28 dir path=kernel/drv group=sys variant.opensolaris.zone=global
29 dir path=kernel/drv/$(ARCH64) group=sys variant.opensolaris.zone=global
30 file path=kernel/drv/$(ARCH64)/ccid group=sys variant.opensolaris.zone=global
39 dir path=usr/lib/cfgadm variant.opensolaris.zone=global
40 dir path=usr/lib/cfgadm/$(ARCH64) variant.opensolaris.zone=global
42 variant.opensolaris.zone=global
43 file path=usr/lib/cfgadm/$(ARCH64)/ccid.so.1 variant.opensolaris.zone=global
45 variant.opensolaris.zone=global
[all …]
H A Dnetwork-iscsi-initiator.p5m31 dir path=etc group=sys variant.opensolaris.zone=global
32 dir path=etc/iscsi group=sys variant.opensolaris.zone=global
33 dir path=etc/security group=sys variant.opensolaris.zone=global
40 dir path=lib variant.opensolaris.zone=global
41 dir path=lib/svc variant.opensolaris.zone=global
42 dir path=lib/svc/manifest group=sys variant.opensolaris.zone=global
43 dir path=lib/svc/manifest/network group=sys variant.opensolaris.zone=global
45 variant.opensolaris.zone=global
47 mode=0444 variant.opensolaris.zone=global
48 dir path=lib/svc/method variant.opensolaris.zone=global
[all …]
H A Dsystem-storage-fibre-channel-port-utility.p5m33 dir path=lib variant.opensolaris.zone=global
34 dir path=lib/svc variant.opensolaris.zone=global
35 dir path=lib/svc/manifest group=sys variant.opensolaris.zone=global
36 dir path=lib/svc/manifest/network group=sys variant.opensolaris.zone=global
38 variant.opensolaris.zone=global
39 dir path=lib/svc/manifest/system group=sys variant.opensolaris.zone=global
41 variant.opensolaris.zone=global
43 variant.opensolaris.zone=global
44 dir path=lib/svc/method variant.opensolaris.zone=global
45 file path=lib/svc/method/npivconfig mode=0555 variant.opensolaris.zone=global
[all …]
H A Dsystem-zones.p5m32 dir path=etc group=sys variant.opensolaris.zone=global
33 dir path=etc/brand group=sys variant.opensolaris.zone=global
34 dir path=etc/zones group=sys variant.opensolaris.zone=global
35 file path=etc/zones/SUNWblank.xml mode=0444 variant.opensolaris.zone=global
43 variant.opensolaris.zone=global
45 preserve=true variant.opensolaris.zone=global
46 dir path=lib variant.opensolaris.zone=global
47 dir path=lib/svc variant.opensolaris.zone=global
48 dir path=lib/svc/manifest group=sys variant.opensolaris.zone=global
49 dir path=lib/svc/manifest/system group=sys variant.opensolaris.zone=global
[all …]
/illumos-gate/usr/src/lib/libzonestat/common/
H A Dlibzonestat.c98 zs_zone_t *zone; in zs_lookup_zone_byid() local
100 for (zone = list_head(&u->zsu_zone_list); zone != NULL; in zs_lookup_zone_byid()
101 zone = list_next(&u->zsu_zone_list, zone)) { in zs_lookup_zone_byid()
102 if (zone->zsz_id == zid) in zs_lookup_zone_byid()
103 return (zone); in zs_lookup_zone_byid()
111 zs_zone_t *zone; in zs_lookup_zone_byname() local
113 for (zone = list_head(&u->zsu_zone_list); zone != NULL; in zs_lookup_zone_byname()
114 zone = list_next(&u->zsu_zone_list, zone)) { in zs_lookup_zone_byname()
115 if (strcmp(zone->zsz_name, name) == 0) in zs_lookup_zone_byname()
116 return (zone); in zs_lookup_zone_byname()
[all …]
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c811 zsd_zone_t *zone; in zsd_lookup_zone() local
813 for (zone = list_head(&ctl->zsctl_zones); zone != NULL; in zsd_lookup_zone()
814 zone = list_next(&ctl->zsctl_zones, zone)) { in zsd_lookup_zone()
815 if (strcmp(zone->zsz_name, zonename) == 0) { in zsd_lookup_zone()
817 zone->zsz_id = zoneid; in zsd_lookup_zone()
818 return (zone); in zsd_lookup_zone()
827 zsd_zone_t *zone; in zsd_lookup_zone_byid() local
829 for (zone = list_head(&ctl->zsctl_zones); zone != NULL; in zsd_lookup_zone_byid()
830 zone = list_next(&ctl->zsctl_zones, zone)) { in zsd_lookup_zone_byid()
831 if (zone->zsz_id == zoneid) in zsd_lookup_zone_byid()
[all …]
/illumos-gate/usr/src/uts/common/disp/
H A Dcpucaps.c419 cap_zone_enable(zone_t *zone, hrtime_t value) in cap_zone_enable() argument
421 cpucap_t *cap = zone->zone_cpucap; in cap_zone_enable()
429 cap->cap_zone = zone; in cap_zone_enable()
434 if ((cap->cap_kstat = rctl_kstat_create_zone(zone, "cpucaps", in cap_zone_enable()
455 cap_zone_disable(zone_t *zone) in cap_zone_disable() argument
457 cpucap_t *cap = zone->zone_cpucap; in cap_zone_disable()
461 ASSERT(cap->cap_zone == zone); in cap_zone_disable()
518 zone_t *zone = cap->cap_zone; in cap_project_usage_walker() local
523 ASSERT(zone == cap->cap_project->kpj_zone); in cap_project_usage_walker()
535 if (ZONE_IS_CAPPED(zone)) { in cap_project_usage_walker()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dkidmap.h69 kidmap_getuidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid,
73 kidmap_getgidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid,
77 kidmap_getpidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid,
81 kidmap_getsidbyuid(zone_t *zone, uid_t uid, const char **sid_prefix,
85 kidmap_getsidbygid(zone_t *zone, gid_t gid, const char **sid_prefix,
98 kidmap_get_create(zone_t *zone);
145 int idmap_reg_dh(zone_t *zone, door_handle_t dh);
146 int idmap_unreg_dh(zone_t *zone, door_handle_t dh);
152 door_handle_t idmap_get_door(zone_t *zone);
158 void idmap_purge_cache(zone_t *zone);
H A Dcred.h135 struct zone;
136 extern void crsetzone(cred_t *, struct zone *);
137 extern struct zone *crgetzone(const cred_t *);
170 extern boolean_t valid_ephemeral_uid(struct zone *, uid_t);
171 extern boolean_t valid_ephemeral_gid(struct zone *, gid_t);
173 extern int eph_uid_alloc(struct zone *, int, uid_t *, int);
174 extern int eph_gid_alloc(struct zone *, int, gid_t *, int);
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/sys/
H A Dkidmap.h84 kidmap_getuidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid,
88 kidmap_getgidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid,
92 kidmap_getpidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid,
96 kidmap_getsidbyuid(zone_t *zone, uid_t uid, const char **sid_prefix,
100 kidmap_getsidbygid(zone_t *zone, gid_t gid, const char **sid_prefix,
113 kidmap_get_create(zone_t *zone);
161 int idmap_reg_dh(zone_t *zone, door_handle_t dh);
162 int idmap_unreg_dh(zone_t *zone, door_handle_t dh);
168 door_handle_t idmap_get_door(zone_t *zone);
174 void idmap_purge_cache(zone_t *zone);
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/sys/
H A Dkidmap.h84 kidmap_getuidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid,
88 kidmap_getgidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid,
92 kidmap_getpidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid,
96 kidmap_getsidbyuid(zone_t *zone, uid_t uid, const char **sid_prefix,
100 kidmap_getsidbygid(zone_t *zone, gid_t gid, const char **sid_prefix,
113 kidmap_get_create(zone_t *zone);
161 int idmap_reg_dh(zone_t *zone, door_handle_t dh);
162 int idmap_unreg_dh(zone_t *zone, door_handle_t dh);
168 door_handle_t idmap_get_door(zone_t *zone);
174 void idmap_purge_cache(zone_t *zone);
/illumos-gate/usr/src/uts/common/syscall/
H A Dsidsys.c49 zone_t *zone = crgetzone(CRED()); in allocids() local
51 dh = idmap_get_door(zone); in allocids()
67 idmap_purge_cache(zone); in allocids()
73 err = eph_uid_alloc(zone, flag, &su, nuids); in allocids()
75 err = eph_gid_alloc(zone, flag, &sg, ngids); in allocids()
111 zone_t *zone; in idmap_unreg() local
116 zone = crgetzone(CRED()); in idmap_unreg()
117 res = idmap_unreg_dh(zone, dh); in idmap_unreg()
131 zone_t *zone = crgetzone(CRED()); in idmap_flush_kcache() local
133 dh = idmap_get_door(zone); in idmap_flush_kcache()
[all …]
/illumos-gate/usr/src/pkg/transforms/
H A Dglobal_zone_only_component30 # to appear primarily in the global zone, but which may have some small
34 # dir, hardlink, link) should appear *only* in the global zone, with
46 # variant.opensolaris.zone=__NODEFAULT
51 # Note: When you specify variant.opensolaris.zone=__NODEFAULT, the
52 # net effect is that *no* variant.opensolaris.zone attribute will
60 # it should have *no* variant.opensolaris.zone attribute. So it's a bit
64 # which have no variant.opensolaris.zone attribute to be
65 # variant.opensolaris.zone=global. For those actions which need to appear
67 # variant.opensolaris.zone=__NODEFAULT. Additionally we have some rules
76 <transform dir file link hardlink path=.*/man/.* -> default variant.opensolaris.zone __NODEFAULT>
[all …]
/illumos-gate/usr/src/data/zoneinfo/
H A Dzonelint37 ' $f | while read zone; do
38 if [ ! -f $proto/$zone ]; then
39 echo "Missing: $zone"
58 ' $f | while read zone; do
59 if [ -f "$proto/$zone" ]; then
60 echo "Check: $zone"
/illumos-gate/usr/src/cmd/syseventd/
H A Dsvc-syseventd45 zone=`smf_zonename`
46 /usr/bin/pkill -x -u 0 -P 1 -z $zone rcm_daemon
47 /usr/bin/pkill -x -u 0 -P 1 -z $zone syseventd
48 /usr/bin/pkill -x -u 0 -P 1 -z $zone devfsadm
49 /usr/bin/pkill -x -u 0 -P 1 -z $zone syseventconfd
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/
H A Dtmxtime.c61 tmset(tm_info.zone); in tmxtime()
88 t += tm_info.zone->west * 60; in tmxtime()
89 if (!tm_info.zone->daylight) in tmxtime()
95 now = tmxsec(tmxtime(tm, tm_info.zone->west)); in tmxtime()
100 t += tm_info.zone->dst * 60; in tmxtime()
106 if (!tm_info.zone->daylight) in tmxtime()
113 now = tmxsec(tmxtime(tm, tm_info.zone->west)); in tmxtime()
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_usage.c385 vmu_zone_t *zone = (vmu_zone_t *)val; in vmu_free_zone() local
387 if (zone->vmz_zone != NULL) { in vmu_free_zone()
388 vmu_free_entity((mod_hash_val_t)zone->vmz_zone); in vmu_free_zone()
389 zone->vmz_zone = NULL; in vmu_free_zone()
391 if (zone->vmz_projects_hash != NULL) in vmu_free_zone()
392 i_mod_hash_clear_nosync(zone->vmz_projects_hash); in vmu_free_zone()
393 if (zone->vmz_tasks_hash != NULL) in vmu_free_zone()
394 i_mod_hash_clear_nosync(zone->vmz_tasks_hash); in vmu_free_zone()
395 if (zone->vmz_rusers_hash != NULL) in vmu_free_zone()
396 i_mod_hash_clear_nosync(zone->vmz_rusers_hash); in vmu_free_zone()
[all …]

12345678910>>...18