Home
last modified time | relevance | path

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

12345678910>>...19

/illumos-gate/usr/src/uts/common/os/
H A Dzone.c615 struct zone *zone; in zone_key_create() local
959 zone = list_next(&zone_active, zone); in zsd_apply_all_zones()
1359 zone_t *zone = e->rcep_p.zone; in zone_cpu_cap_set() local
2534 ZBROP(zone)->b_init_brand_data(zone); in zone_set_brand()
3826 zone_t *zone = za->zone; in zsched() local
3973 e.rcep_p.zone = zone; in zsched()
4626 crsetzone(zone->zone_kcred, zone); in zone_create()
4707 zarg.zone = zone; in zone_create()
6163 e.rcep_p.zone = zone; in zone_enter()
6598 zone = zargp->zone; in zone_ki_call_zoneadmd()
[all …]
H A Dpool_pset.c121 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()
135 cpu_visibility_online(sa->cpu, zone); in pool_pset_setup_cb()
141 cpu_visibility_add(sa->cpu, zone); in pool_pset_setup_cb()
214 zone_pset_set(zone, psetid); in pool_pset_zone_pset_set()
396 zoneid_t zoneid = zone ? zone->zone_id : ALL_ZONES; in pool_pset_visibility_change()
417 cpu_visibility_add(c, zone); in pool_pset_visibility_change()
419 cpu_visibility_remove(c, zone); in pool_pset_visibility_change()
472 zoneid_t zoneid = zone->zone_id; in pool_pset_assoc_zone_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()
411 zone_hold(zone); in getflabel()
422 zone_rele(zone); in getflabel()
515 zl = zone->zone_slabel; in getflabel()
517 zone_rele(zone); in getflabel()
[all …]
H A Dcred.c110 get_ephemeral_zsd(zone_t *zone) in get_ephemeral_zsd() argument
135 eph_zsd->eph_nobody->cr_zone = zone; 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()
805 zone_t *zone = crgetzone(cr); in crsetugid() local
809 if (!VALID_UID(uid, zone) || !VALID_GID(gid, zone)) in crsetugid()
1167 zone_t *zone; in zone_kcred() local
1170 return (zone->zone_kcred); in zone_kcred()
[all …]
/illumos-gate/usr/src/test/net-tests/tests/
H A Dnet_common.ksh176 typeset zone=$4
203 typeset zone=$4
219 dladm set-linkprop -t -p zone=$zone $name > /dev/null 2>&1
232 typeset zone=$3
258 typeset zone=$1
279 typeset zone=$1
307 typeset zone=$1
346 typeset zone=$1
367 typeset zone=$1
401 typeset zone=$1
[all …]
/illumos-gate/usr/src/cmd/zoneadm/
H A Dsvc-zones70 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
136 echo " $zone\c"
137 zoneadm -z $zone halt &
[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()
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()
116 return (zone); in zs_lookup_zone_byname()
2477 zone = list_next(&usage->zsu_zone_list, zone); in zs_usage_free()
3447 zone = list_next(&usage->zsu_zone_list, zone)) { in zs_zone_list()
[all …]
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c815 for (zone = list_head(&ctl->zsctl_zones); zone != NULL; in zsd_lookup_zone()
816 zone = list_next(&ctl->zsctl_zones, zone)) { in zsd_lookup_zone()
831 for (zone = list_head(&ctl->zsctl_zones); zone != NULL; in zsd_lookup_zone_byid()
832 zone = list_next(&ctl->zsctl_zones, zone)) { in zsd_lookup_zone_byid()
910 for (zone = list_head(&ctl->zsctl_zones); zone != NULL; in zsd_mark_zones_start()
911 zone = list_next(&ctl->zsctl_zones, zone)) { in zsd_mark_zones_start()
1228 zone = list_next(&ctl->zsctl_zones, zone); in zsd_mark_zones_end()
1239 zone = list_next(&ctl->zsctl_zones, zone); in zsd_mark_zones_end()
3455 for (zone = list_head(&ctl->zsctl_zones); zone != NULL; in zsd_refresh_memory()
3456 zone = list_next(&ctl->zsctl_zones, zone)) { in zsd_refresh_memory()
[all …]
/illumos-gate/usr/src/pkg/manifests/
H A Dservice-hal.p5m43 variant.opensolaris.zone=global
45 variant.opensolaris.zone=global
51 variant.opensolaris.zone=global
55 variant.opensolaris.zone=global
61 variant.opensolaris.zone=global
65 variant.opensolaris.zone=global
67 variant.opensolaris.zone=global
69 variant.opensolaris.zone=global
71 variant.opensolaris.zone=global
73 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
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
45 variant.opensolaris.zone=global
46 file path=usr/lib/cfgadm/ccid.so.1 variant.opensolaris.zone=global
47 dir path=usr/sbin variant.opensolaris.zone=global
48 file path=usr/sbin/ccidadm mode=0555 variant.opensolaris.zone=global
[all …]
H A Dservice-fault-management.p5m58 variant.opensolaris.zone=__NODEFAULT
68 variant.opensolaris.zone=__NODEFAULT
70 variant.opensolaris.zone=__NODEFAULT
72 # Our kernel driver is global zone only
78 # driver is global-zone only
92 variant.opensolaris.zone=__NODEFAULT
99 variant.opensolaris.zone=__NODEFAULT
106 variant.opensolaris.zone=__NODEFAULT
126 # - usr/platform is global zone only
255 # Eversholt rules are global zone only
[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
46 file path=lib/svc/method/svc-fcoei mode=0555 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
45 variant.opensolaris.zone=global
47 mode=0444 variant.opensolaris.zone=global
48 dir path=lib/svc/method variant.opensolaris.zone=global
50 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
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
51 variant.opensolaris.zone=global
53 variant.opensolaris.zone=global
55 variant.opensolaris.zone=global
56 dir path=lib/svc/method variant.opensolaris.zone=global
[all …]
/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/sys/
H A Dkidmap.h71 kidmap_getuidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid,
75 kidmap_getgidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid,
79 kidmap_getpidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid,
83 kidmap_getsidbyuid(zone_t *zone, uid_t uid, const char **sid_prefix,
87 kidmap_getsidbygid(zone_t *zone, gid_t gid, const char **sid_prefix,
100 kidmap_get_create(zone_t *zone);
147 int idmap_reg_dh(zone_t *zone, door_handle_t dh);
148 int idmap_unreg_dh(zone_t *zone, door_handle_t dh);
154 door_handle_t idmap_get_door(zone_t *zone);
160 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/uts/common/disp/
H A Dcpucaps.c429 cap->cap_zone = zone; in cap_zone_enable()
455 cap_zone_disable(zone_t *zone) in cap_zone_disable() argument
535 if (ZONE_IS_CAPPED(zone)) { in cap_project_usage_walker()
689 zone->zone_cpucap = cap; in cpucaps_zone_set()
694 cap = zone->zone_cpucap; in cpucaps_zone_set()
716 cap_zone_disable(zone); in cpucaps_zone_set()
788 cap_free(zone->zone_cpucap); in cpucaps_zone_remove()
789 zone->zone_cpucap = NULL; in cpucaps_zone_remove()
1027 zone_t *zone; in cpucaps_charge() local
1055 zone = ttozone(t); in cpucaps_charge()
[all …]
/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
84 # in a zone.
[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.c387 if (zone->vmz_zone != NULL) { in vmu_free_zone()
389 zone->vmz_zone = NULL; in vmu_free_zone()
400 vmu_data.vmu_free_zones = zone; in vmu_free_zone()
507 vmu_zone_t *zone; in vmu_alloc_zone() local
513 zone->vmz_next = NULL; in vmu_alloc_zone()
514 zone->vmz_zone = NULL; in vmu_alloc_zone()
519 zone->vmz_id = id; in vmu_alloc_zone()
544 return (zone); in vmu_alloc_zone()
1453 vmu_zone_t *zone; in vmu_calculate_proc() local
1481 tmp = zone->vmz_zone; in vmu_calculate_proc()
[all …]

12345678910>>...19