Searched refs:zone (Results 1 - 25 of 511) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libbc/libc/gen/4.2/
H A Dtimezone.c39 static struct zone { struct
63 char *timezone(zone, dst)
65 register struct zone *zp;
86 if (zp->offset==zone) {
92 if (zone<0) {
93 zone = -zone;
97 sprintf(czone, "GMT%s%d:%02d", sign, zone/60, zone%60);
/illumos-gate/usr/src/cmd/zoneadm/
H A Dsvc-zones57 # Boot the installed zones for which the "autoboot" zone property is
61 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 &
101 MAXSHUT=`expr 3 \* $SVC_TIMEOUT \/ 4` # 3/4 of time to zone shutdown
111 for zone in $zonelist; do
112 echo " $zone\c"
113 zoneadm -z $zone shutdow
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dzone.c30 * A zone is a named collection of processes, namespace constraints,
36 * (zoneid_t) are used to track zone association. Zone IDs are
37 * dynamically generated when the zone is created; if a persistent
39 * etc.), the zone name should be used.
44 * The global zone (zoneid 0) is automatically associated with all
45 * system resources that have not been bound to a user-created zone.
47 * have a global zone, and all processes, mounts, etc. are
48 * associated with that zone. The global zone is generally
55 * The states in which a zone ma
613 struct zone *zone; local
702 zone_t *zone; local
780 zone_setspecific(zone_key_t key, zone_t *zone, const void *data) argument
802 zone_getspecific(zone_key_t key, zone_t *zone) argument
821 zone_zsd_configure(zone_t *zone) argument
860 zone_zsd_callbacks(zone_t *zone, enum zsd_callback_type ct) argument
910 zone_free_zsd(zone_t *zone) argument
948 zone_t *zone; local
980 zsd_apply_all_keys(zsd_applyfn_t *applyfn, zone_t *zone) argument
1011 zsd_apply_create(kmutex_t *lockp, boolean_t zone_lock_held, zone_t *zone, zone_key_t key) argument
1090 zsd_apply_shutdown(kmutex_t *lockp, boolean_t zone_lock_held, zone_t *zone, zone_key_t key) argument
1171 zsd_apply_destroy(kmutex_t *lockp, boolean_t zone_lock_held, zone_t *zone, zone_key_t key) argument
1243 zsd_wait_for_creator(zone_t *zone, struct zsd_entry *t, kmutex_t *lockp) argument
1270 zsd_wait_for_inprogress(zone_t *zone, struct zsd_entry *t, kmutex_t *lockp) argument
1296 zone_free_datasets(zone_t *zone) argument
1357 zone_t *zone = e->rcep_p.zone; local
1383 zone_t *zone = p->p_zone; local
1438 zone_t *zone = p->p_zone; local
1759 zone_uniqid(zone_t *zone) argument
1773 zone_t *zone; local
1787 zone_t *zone = ksp->ks_private; local
1801 zone_t *zone = ksp->ks_private; local
1815 zone_t *zone = ksp->ks_private; local
1827 zone_kstat_create_common(zone_t *zone, char *name, int (*updatefunc) (kstat_t *, int)) argument
1856 zone_t *zone = ksp->ks_private; local
1872 zone_mcap_kstat_create(zone_t *zone) argument
1911 zone_t *zone = ksp->ks_private; local
1946 zone_misc_kstat_create(zone_t *zone) argument
1993 zone_kstat_create(zone_t *zone) argument
2027 zone_kstat_delete(zone_t *zone) argument
2357 zone_free(zone_t *zone) argument
2429 zone_status_set(zone_t *zone, zone_status_t status) argument
2464 zone_status_get(zone_t *zone) argument
2470 zone_set_bootargs(zone_t *zone, const char *zone_bootargs) argument
2490 zone_set_brand(zone_t *zone, const char *brand) argument
2531 zone_set_secflags(zone_t *zone, const psecflags_t *zone_secflags) argument
2557 zone_set_fs_allowed(zone_t *zone, const char *zone_fs_allowed) argument
2578 zone_set_initname(zone_t *zone, const char *zone_initname) argument
2597 zone_set_phys_mcap(zone_t *zone, const uint64_t *zone_mcap) argument
2609 zone_set_sched_class(zone_t *zone, const char *new_class) argument
2632 zone_status_wait(zone_t *zone, zone_status_t status) argument
2647 zone_status_wait_cpr(zone_t *zone, zone_status_t status, char *str) argument
2672 zone_status_wait_sig(zone_t *zone, zone_status_t status) argument
2693 zone_status_timedwait(zone_t *zone, clock_t tim, zone_status_t status) argument
2713 zone_status_timedwait_sig(zone_t *zone, clock_t tim, zone_status_t status) argument
2957 zone_task_rele(zone_t *zone) argument
3023 zone_t *zone = NULL; local
3037 zone_t *zone = NULL; local
3055 zone_t *zone = NULL; local
3075 zone_t *zone; local
3102 zone_t *zone; local
3130 zone_t *zone; local
3166 zone_t *zone; local
3289 zone_ncpus_get(zone_t *zone) argument
3302 zone_ncpus_online_get(zone_t *zone) argument
3313 zone_pool_get(zone_t *zone) argument
3325 zone_pool_set(zone_t *zone, pool_t *pool) argument
3340 zone_pset_get(zone_t *zone) argument
3353 zone_pset_set(zone_t *zone, psetid_t newpsetid) argument
3393 zone_t *zone; local
3419 zone_set_root(zone_t *zone, const char *upath) argument
3488 zone_set_name(zone_t *zone, const char *uname) argument
3561 zone_t *zone = curproc->p_zone; local
3620 zone_t *zone = pp->p_zone; local
3795 zone_t *zone; member in struct:zsched_arg
3813 zone_t *zone = za->zone; local
4178 zone_t *zone; local
4204 zone_set_privset(zone_t *zone, const priv_set_t *zone_privs, size_t zone_privssz) argument
4313 zone_set_label(zone_t *zone, const bslabel_t *lab, uint32_t doi) argument
4333 parse_zfs(zone_t *zone, caddr_t ubuf, size_t buflen) argument
4398 zone_t *zone, *ztmp; local
4786 zone_t *zone; local
4835 zone_empty(zone_t *zone) argument
4869 zone_list_access(zone_t *zone) argument
4906 zone_t *zone; local
5070 zone_log_refcounts(zone_t *zone) argument
5172 zone_t *zone; local
5386 zone_t *zone; local
5689 zone_t *zone; local
5865 zone_t *zone; local
6296 zone_t *zone, *myzone; local
6394 zone_t *zone; local
6440 zone(int cmd, void *arg1, void *arg2, void *arg3, void *arg4) function
6537 zone_t *zone; member in struct:zarg
6571 zone_t *zone; local
6699 zone_t *zone; local
6836 zone_t *zone = curproc->p_zone; local
6962 zone_t *zone; local
7008 zone_find_dl(zone_t *zone, datalink_id_t linkid) argument
7022 zone_dl_exists(zone_t *zone, datalink_id_t linkid) argument
7039 zone_t *zone; local
7071 zone_t *zone; local
7098 zone_t *zone; local
7136 zone_t *zone; local
7190 zone_t *zone; local
7208 zone_t *zone; local
7273 zone_t *zone; local
7329 zone_t *zone; local
[all...]
/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/cmd/tsol/demo/
H A Drunwlabel.ksh36 # Get the zone path associated with the "my-label" zone
41 # Find the zone name that is associated with this zone path
42 for zone in `zoneadm list -pi | nawk -F: -v zonepath=${zonepath} '{
47 # Run the specified command in the matching zone
48 zlogin ${zone} ${progname}
/illumos-gate/usr/src/boot/sys/boot/zfs/amd64/
H A DMakefile18 CFLAGS += -mno-red-zone -m64 -fPIC
/illumos-gate/usr/src/uts/common/sys/
H A Dkidmap.h40 #include <sys/zone.h>
71 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);
[all...]
H A Dcpucaps_impl.h59 * Most of the per-project or per-zone state related to CPU caps is kept in the
65 struct zone *cap_zone; /* zone for the cap */
68 int64_t cap_gen; /* zone cap specific */
90 #define ZONE_IS_CAPPED(zone) \
91 (((zone)->zone_cpucap != NULL) && \
92 CAP_ENABLED((zone)->zone_cpucap))
H A Dcred.h133 * Private interface for setting zone association of credential.
135 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/smbsrv/libfksmbsrv/common/sys/
H A Dkidmap.h40 #include <sys/zone.h>
84 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);
[all...]
/illumos-gate/usr/src/boot/sys/boot/ficl/amd64/
H A DMakefile24 CFLAGS += -fPIC -m64 -mno-red-zone
/illumos-gate/usr/src/uts/common/syscall/
H A Dsidsys.c49 zone_t *zone = crgetzone(CRED()); local
51 dh = idmap_get_door(zone);
67 idmap_purge_cache(zone);
73 err = eph_uid_alloc(zone, flag, &su, nuids);
75 err = eph_gid_alloc(zone, flag, &sg, ngids);
111 zone_t *zone; local
116 zone = crgetzone(CRED());
117 res = idmap_unreg_dh(zone, dh);
131 zone_t *zone = crgetzone(CRED()); local
133 dh = idmap_get_door(zone);
[all...]
/illumos-gate/usr/src/lib/libtsol/common/
H A Dgetplabel.c29 #include <zone.h>
33 #include <sys/zone.h>
/illumos-gate/usr/src/lib/brand/shared/
H A DMakefile30 SUBDIRS = brand zone
31 MSGSUBDIRS = zone
/illumos-gate/usr/src/lib/libast/common/tm/
H A Dtmtype.c34 * return the tm_data.zone[] time zone entry for type s
48 tmset(tm_info.zone);
53 if (zp == tm_info.local) zp = tm_data.zone;
H A Dtmxtime.c61 tmset(tm_info.zone);
83 * time zone adjustments
88 t += tm_info.zone->west * 60;
89 if (!tm_info.zone->daylight)
95 now = tmxsec(tmxtime(tm, tm_info.zone->west));
100 t += tm_info.zone->dst * 60;
106 if (!tm_info.zone->daylight)
113 now = tmxsec(tmxtime(tm, tm_info.zone->west));
/illumos-gate/usr/src/uts/common/fs/autofs/
H A Dauto_sys.c27 #include <sys/zone.h>
43 zone_t *zone; local
51 if ((zone = zone_find_by_id(zoneid)) == NULL)
54 fngp = zone_getspecific(autofs_key, zone);
57 zone_rele(zone);
65 zone_rele(zone);
68 case AUTOFS_SETDOOR: { /* set door handle for zone */
/illumos-gate/usr/src/lib/brand/sn1/
H A DMakefile33 SUBDIRS = librtld_db sn1_brand zone
34 MSGSUBDIRS = zone
/illumos-gate/usr/src/lib/brand/solaris10/
H A DMakefile33 zone cmd
34 MSGSUBDIRS = s10_support zone
/illumos-gate/usr/src/boot/lib/libz/test/
H A Dinfcover.c75 struct mem_zone *zone = mem; local
79 if (zone == NULL || (zone->limit && zone->total + len > zone->limit))
99 item->next = zone->first;
100 zone->first = item;
103 zone->total += item->size;
104 if (zone->total > zone
115 struct mem_zone *zone = mem; local
160 struct mem_zone *zone; local
178 struct mem_zone *zone = strm->opaque; local
186 struct mem_zone *zone = strm->opaque; local
194 struct mem_zone *zone = strm->opaque; local
204 struct mem_zone *zone = strm->opaque; local
[all...]
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c72 #include <sys/zone.h>
77 #include <zone.h>
95 * new zone is booted. This is used to fattach the zsd_server door
96 * into the new zone.
103 * If the client is in a non-global zone, the utilization data will
104 * be filtered to only show the given zone. The usage by all other zones
109 * current utilization data for each running zone. This includes
111 * of each zone, such as their configured limits, and which processor
156 /* Used to store a zone's usage of a pset */
164 boolean_t zsu_found; /* zone boun
813 zsd_zone_t *zone; local
829 zsd_zone_t *zone; local
842 zsd_zone_t *zone; local
882 zsd_zone_t *zone, *tmp; local
908 zsd_zone_t *zone; local
990 zsd_zone_t *zone = usage->zsu_zone; local
1040 zsd_zone_t *zone = usage->zsu_zone; local
1086 zsd_zone_t *zone; local
1134 zsd_mark_zone_found(zsd_ctl_t *ctl, zsd_zone_t *zone, uint64_t cpu_shares, uint64_t cpu_cap, uint64_t ram_cap, uint64_t locked_cap, uint64_t vm_cap, uint64_t processes_cap, uint64_t processes, uint64_t lwps_cap, uint64_t lwps, uint64_t shm_cap, uint64_t shm, uint64_t shmids_cap, uint64_t shmids, uint64_t semids_cap, uint64_t semids, uint64_t msgids_cap, uint64_t msgids, uint64_t lofi_cap, uint64_t lofi, char *poolname, char *psetname, uint_t sched, uint_t cputype, uint_t iptype) argument
1212 zsd_zone_t *zone, *tmp; local
1453 zsd_lookup_usage(zsd_pset_t *pset, zsd_zone_t *zone) argument
1466 zsd_allocate_pset_usage(zsd_ctl_t *ctl, zsd_pset_t *pset, zsd_zone_t *zone) argument
1500 zsd_lookup_insert_usage(zsd_ctl_t *ctl, zsd_pset_t *pset, zsd_zone_t *zone) argument
2040 zsd_get_zone_pool_pset(zsd_ctl_t *ctl, zsd_zone_t *zone, char *pool, int poollen, char *pset, int psetlen, uint_t *cputype) argument
2201 zsd_get_zone_caps(zsd_ctl_t *ctl, zsd_zone_t *zone, uint64_t *cpu_shares, uint64_t *cpu_cap, uint64_t *ram_cap, uint64_t *locked_cap, uint64_t *vm_cap, uint64_t *processes_cap, uint64_t *processes, uint64_t *lwps_cap, uint64_t *lwps, uint64_t *shm_cap, uint64_t *shm, uint64_t *shmids_cap, uint64_t *shmids, uint64_t *semids_cap, uint64_t *semids, uint64_t *msgids_cap, uint64_t *msgids, uint64_t *lofi_cap, uint64_t *lofi, uint_t *sched) argument
2378 zsd_zone_t *zone; local
2626 zsd_zone_t *zone, *prev_zone; local
3244 zsd_zone_t *zone; local
3564 zsd_zone_t *zone; local
3703 zs_zone_t *zone = NULL; local
3921 zsd_zone_t *zone; local
4231 zs_zone_t *zone, *czone; local
[all...]
/illumos-gate/usr/src/lib/brand/ipkg/
H A DMakefile31 SUBDIRS = zone
/illumos-gate/usr/src/lib/brand/labeled/
H A DMakefile31 SUBDIRS = zone
/illumos-gate/usr/src/boot/sys/boot/libstand/amd64/
H A DMakefile20 CFLAGS += -m64 -fPIC -mno-red-zone
/illumos-gate/usr/src/lib/libzonestat/common/
H A Dlibzonestat.c98 zs_zone_t *zone; local
100 for (zone = list_head(&u->zsu_zone_list); zone != NULL;
101 zone = list_next(&u->zsu_zone_list, zone)) {
102 if (zone->zsz_id == zid)
103 return (zone);
111 zs_zone_t *zone; local
113 for (zone = list_head(&u->zsu_zone_list); zone !
689 zs_zone_name(zs_zone_t *zone, char *name, size_t len) argument
695 zs_zone_id(zs_zone_t *zone) argument
701 zs_zone_iptype(zs_zone_t *zone) argument
707 zs_zone_cputype(zs_zone_t *zone) argument
713 zs_zone_poolname(zs_zone_t *zone, char *name, size_t len) argument
719 zs_zone_psetname(zs_zone_t *zone, char *name, size_t len) argument
725 zs_zone_schedulers(zs_zone_t *zone) argument
774 zs_zone_cpu_shares(zs_zone_t *zone) argument
784 zs_zone_cpu_cap(zs_zone_t *zone) argument
790 zs_zone_cpu_cap_used(zs_zone_t *zone) argument
800 zs_zone_cpu_shares_used(zs_zone_t *zone) argument
816 zs_zone_cpu_cap_time(zs_zone_t *zone, timestruc_t *ts) argument
822 zs_zone_cpu_share_time(zs_zone_t *zone, timestruc_t *ts) argument
828 zs_zone_cpu_cap_time_used(zs_zone_t *zone, timestruc_t *ts) argument
834 zs_zone_cpu_share_time_used(zs_zone_t *zone, timestruc_t *ts) argument
872 zs_zone_cpu_cap_pct(zs_zone_t *zone) argument
882 zs_zone_cpu_shares_pct(zs_zone_t *zone) argument
898 zs_zone_physical_memory_cap(zs_zone_t *zone) argument
904 zs_zone_virtual_memory_cap(zs_zone_t *zone) argument
910 zs_zone_locked_memory_cap(zs_zone_t *zone) argument
916 zs_zone_physical_memory_cap_used(zs_zone_t *zone) argument
925 zs_zone_virtual_memory_cap_used(zs_zone_t *zone) argument
934 zs_zone_locked_memory_cap_used(zs_zone_t *zone) argument
1152 zs_zone_t *zone = pz->zspz_zone; local
1318 zs_cpu_usage_zone(zs_zone_t *zone, timestruc_t *ts) argument
1371 zs_cpu_usage_zone_cpu(zs_zone_t *zone) argument
1378 zs_cpu_usage_zone_pct(zs_zone_t *zone) argument
1452 zs_physical_memory_usage_zone(zs_zone_t *zone) argument
1458 zs_physical_memory_usage_zone_pct(zs_zone_t *zone) argument
1467 zs_zone_physical_memory_cap_pct(zs_zone_t *zone) argument
1546 zs_virtual_memory_usage_zone(zs_zone_t *zone) argument
1552 zs_virtual_memory_usage_zone_pct(zs_zone_t *zone) argument
1562 zs_zone_virtual_memory_cap_pct(zs_zone_t *zone) argument
1641 zs_locked_memory_usage_zone(zs_zone_t *zone) argument
1647 zs_locked_memory_usage_zone_pct(zs_zone_t *zone) argument
1656 zs_zone_locked_memory_cap_pct(zs_zone_t *zone) argument
1847 zs_processes_usage_zone(zs_zone_t *zone) argument
1853 zs_lwps_usage_zone(zs_zone_t *zone) argument
1859 zs_shm_usage_zone(zs_zone_t *zone) argument
1865 zs_shmids_usage_zone(zs_zone_t *zone) argument
1871 zs_semids_usage_zone(zs_zone_t *zone) argument
1877 zs_msgids_usage_zone(zs_zone_t *zone) argument
1883 zs_lofi_usage_zone(zs_zone_t *zone) argument
1889 zs_processes_usage_zone_pct(zs_zone_t *zone) argument
1898 zs_lwps_usage_zone_pct(zs_zone_t *zone) argument
1907 zs_shm_usage_zone_pct(zs_zone_t *zone) argument
1916 zs_shmids_usage_zone_pct(zs_zone_t *zone) argument
1925 zs_semids_usage_zone_pct(zs_zone_t *zone) argument
1934 zs_msgids_usage_zone_pct(zs_zone_t *zone) argument
1943 zs_lofi_usage_zone_pct(zs_zone_t *zone) argument
1952 zs_processes_zone_cap_pct(zs_zone_t *zone) argument
1965 zs_lwps_zone_cap_pct(zs_zone_t *zone) argument
1977 zs_shm_zone_cap_pct(zs_zone_t *zone) argument
1989 zs_shmids_zone_cap_pct(zs_zone_t *zone) argument
2002 zs_semids_zone_cap_pct(zs_zone_t *zone) argument
2015 zs_msgids_zone_cap_pct(zs_zone_t *zone) argument
2028 zs_lofi_zone_cap_pct(zs_zone_t *zone) argument
2062 zs_zone_t *zone = NULL; local
2465 zs_zone_t *zone, *ztmp; local
3443 zs_zone_t *zone, *tmp; local
3471 zs_zone_next(zs_usage_t *usage, zs_zone_t *zone) argument
3481 zs_zone_property(zs_zone_t *zone, int prop, zs_property_t *p) argument
4002 zs_pset_zone_t *zone, *tmp; local
[all...]

Completed in 130 milliseconds

1234567891011>>