Searched refs:zone (Results 1 - 25 of 512) 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.c32 * A zone is a named collection of processes, namespace constraints,
38 * (zoneid_t) are used to track zone association. Zone IDs are
39 * dynamically generated when the zone is created; if a persistent
41 * etc.), the zone name should be used.
46 * The global zone (zoneid 0) is automatically associated with all
47 * system resources that have not been bound to a user-created zone.
49 * have a global zone, and all processes, mounts, etc. are
50 * associated with that zone. The global zone is generally
57 * The states in which a zone ma
615 struct zone *zone; local
704 zone_t *zone; local
782 zone_setspecific(zone_key_t key, zone_t *zone, const void *data) argument
804 zone_getspecific(zone_key_t key, zone_t *zone) argument
823 zone_zsd_configure(zone_t *zone) argument
862 zone_zsd_callbacks(zone_t *zone, enum zsd_callback_type ct) argument
912 zone_free_zsd(zone_t *zone) argument
950 zone_t *zone; local
982 zsd_apply_all_keys(zsd_applyfn_t *applyfn, zone_t *zone) argument
1013 zsd_apply_create(kmutex_t *lockp, boolean_t zone_lock_held, zone_t *zone, zone_key_t key) argument
1092 zsd_apply_shutdown(kmutex_t *lockp, boolean_t zone_lock_held, zone_t *zone, zone_key_t key) argument
1173 zsd_apply_destroy(kmutex_t *lockp, boolean_t zone_lock_held, zone_t *zone, zone_key_t key) argument
1245 zsd_wait_for_creator(zone_t *zone, struct zsd_entry *t, kmutex_t *lockp) argument
1272 zsd_wait_for_inprogress(zone_t *zone, struct zsd_entry *t, kmutex_t *lockp) argument
1298 zone_free_datasets(zone_t *zone) argument
1359 zone_t *zone = e->rcep_p.zone; local
1385 zone_t *zone = p->p_zone; local
1440 zone_t *zone = p->p_zone; local
1761 zone_uniqid(zone_t *zone) argument
1775 zone_t *zone; local
1789 zone_t *zone = ksp->ks_private; local
1803 zone_t *zone = ksp->ks_private; local
1817 zone_t *zone = ksp->ks_private; local
1829 zone_kstat_create_common(zone_t *zone, char *name, int (*updatefunc) (kstat_t *, int)) argument
1858 zone_t *zone = ksp->ks_private; local
1874 zone_mcap_kstat_create(zone_t *zone) argument
1913 zone_t *zone = ksp->ks_private; local
1954 zone_misc_kstat_create(zone_t *zone) argument
2001 zone_kstat_create(zone_t *zone) argument
2035 zone_kstat_delete(zone_t *zone) argument
2363 zone_free(zone_t *zone) argument
2437 zone_status_set(zone_t *zone, zone_status_t status) argument
2472 zone_status_get(zone_t *zone) argument
2478 zone_set_bootargs(zone_t *zone, const char *zone_bootargs) argument
2498 zone_set_brand(zone_t *zone, const char *brand) argument
2539 zone_set_secflags(zone_t *zone, const psecflags_t *zone_secflags) argument
2565 zone_set_fs_allowed(zone_t *zone, const char *zone_fs_allowed) argument
2586 zone_set_initname(zone_t *zone, const char *zone_initname) argument
2605 zone_set_phys_mcap(zone_t *zone, const uint64_t *zone_mcap) argument
2617 zone_set_sched_class(zone_t *zone, const char *new_class) argument
2640 zone_status_wait(zone_t *zone, zone_status_t status) argument
2655 zone_status_wait_cpr(zone_t *zone, zone_status_t status, char *str) argument
2680 zone_status_wait_sig(zone_t *zone, zone_status_t status) argument
2701 zone_status_timedwait(zone_t *zone, clock_t tim, zone_status_t status) argument
2721 zone_status_timedwait_sig(zone_t *zone, clock_t tim, zone_status_t status) argument
2965 zone_task_rele(zone_t *zone) argument
3031 zone_t *zone = NULL; local
3045 zone_t *zone = NULL; local
3063 zone_t *zone = NULL; local
3083 zone_t *zone; local
3110 zone_t *zone; local
3138 zone_t *zone; local
3174 zone_t *zone; local
3300 zone_ncpus_get(zone_t *zone) argument
3313 zone_ncpus_online_get(zone_t *zone) argument
3324 zone_pool_get(zone_t *zone) argument
3336 zone_pool_set(zone_t *zone, pool_t *pool) argument
3351 zone_pset_get(zone_t *zone) argument
3364 zone_pset_set(zone_t *zone, psetid_t newpsetid) argument
3404 zone_t *zone; local
3430 zone_set_root(zone_t *zone, const char *upath) argument
3499 zone_set_name(zone_t *zone, const char *uname) argument
3572 zone_t *zone = curproc->p_zone; local
3631 zone_t *zone = pp->p_zone; local
3806 zone_t *zone; member in struct:zsched_arg
3824 zone_t *zone = za->zone; local
4190 zone_t *zone; local
4216 zone_set_privset(zone_t *zone, const priv_set_t *zone_privs, size_t zone_privssz) argument
4325 zone_set_label(zone_t *zone, const bslabel_t *lab, uint32_t doi) argument
4345 parse_zfs(zone_t *zone, caddr_t ubuf, size_t buflen) argument
4410 zone_t *zone, *ztmp; local
4797 zone_t *zone; local
4846 zone_empty(zone_t *zone) argument
4880 zone_list_access(zone_t *zone) argument
4917 zone_t *zone; local
5081 zone_log_refcounts(zone_t *zone) argument
5183 zone_t *zone; local
5397 zone_t *zone; local
5702 zone_t *zone; local
5878 zone_t *zone; local
6309 zone_t *zone, *myzone; local
6407 zone_t *zone; local
6453 zone(int cmd, void *arg1, void *arg2, void *arg3, void *arg4) function
6550 zone_t *zone; member in struct:zarg
6584 zone_t *zone; local
6712 zone_t *zone; local
6849 zone_t *zone = curproc->p_zone; local
6975 zone_t *zone; local
7021 zone_find_dl(zone_t *zone, datalink_id_t linkid) argument
7035 zone_dl_exists(zone_t *zone, datalink_id_t linkid) argument
7052 zone_t *zone; local
7084 zone_t *zone; local
7111 zone_t *zone; local
7149 zone_t *zone; local
7203 zone_t *zone; local
7221 zone_t *zone; local
7286 zone_t *zone; local
7342 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/lib/smbclnt/libfksmbfs/common/
H A Dfake_zone.c30 * Simulating just one zone here (the global zone)
34 #include <sys/zone.h>
63 zone_setspecific(zone_key_t key, zone_t *zone, const void *data) argument
70 zone_getspecific(zone_key_t key, zone_t *zone) argument
74 zone_specific_val = (*zkey_create)(zone->zone_id);
/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);
H A Dcred_impl.h64 struct zone; /* forward reference */
85 struct zone *cr_zone; /* pointer to per-zone structure */
/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/lib/smbclnt/libfknsmb/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/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/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/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...]
/illumos-gate/usr/src/uts/common/disp/
H A Dcpucaps.c43 * A CPU cap can be set on any project or any zone. Zone CPU cap limits the CPU
44 * usage for all projects running inside the zone. If the zone CPU cap is set
50 * below the cap level. Each zone and each project has its own wait queue.
57 * zone's CPU usage drops below the cap.
61 * CPU usage to its project. Usage from all projects belonging to a capped zone
62 * is aggregated to get the zone usage.
64 * When the current CPU usage is above the cap, a project or zone is considered
66 * zone is marked by setting TS_PROJWAITQ flag in thread's t_schedflag field and
87 * Zone CPU usage is the sum of usages for all projects within the zone
419 cap_zone_enable(zone_t *zone, hrtime_t value) argument
455 cap_zone_disable(zone_t *zone) argument
518 zone_t *zone = cap->cap_zone; local
655 cpucaps_zone_set(zone_t *zone, rctl_qty_t cap_val) argument
779 cpucaps_zone_remove(zone_t *zone) argument
945 cpucaps_zone_get(zone_t *zone) argument
1027 zone_t *zone; local
[all...]

Completed in 309 milliseconds

1234567891011>>