/illumos-gate/usr/src/uts/common/sys/ |
H A D | exacct_impl.h | 35 #include <sys/zone.h>
|
H A D | prsystm.h | 38 #include <sys/zone.h>
|
H A D | vfs.h | 38 #include <sys/zone.h> 179 * Each zone also has its own list of mounts, containing filesystems mounted 180 * somewhere within the filesystem tree rooted at the zone's rootpath. The 193 struct zone; /* from zone.h */ 221 * Zones support. Note that the zone that "owns" the mount isn't 222 * necessarily the same as the zone in which the zone is visible. 226 struct zone *vfs_zone; /* zone tha [all...] |
/illumos-gate/usr/src/lib/libast/common/tm/ |
H A D | tmxdate.c | 175 int zone; local 216 zone = TM_LOCALZONE; 238 zone = i; 272 now = tmxtime(tm, zone); 637 fix = tmxtime(tm, zone); 653 tt = tmxtime(tm, zone); 677 tm = tmxtm(tm, tmxtime(tm, zone), tm->tm_zone); 1370 now = tmxtime(tm, zone) + tmxsns(m, 0); 1395 tm = tmxtm(tm, tmxtime(tm, zone), tm->tm_zone); 1428 tm = tmxtm(tm, tmxtime(tm, zone), t [all...] |
H A D | tmxfmt.c | 377 case 'q': /* time zone type (nation code) */ 381 for (; zp >= tm_data.zone; zp--) 500 case 'z': /* time zone west offset */ 510 case 'Z': /* time zone */ 590 tm = tmxtm(tm, t, (flags & TM_UTC) ? &tm_data.zone[2] : tm->tm_zone); 599 tm = tmxtm(tm, t, (flags & TM_UTC) ? &tm_data.zone[2] : tm->tm_zone);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ipc.c | 71 * Each object also has a creator project and zone, which are used to 418 #include <sys/zone.h> 457 * process. The zone ids are compared, and the appropriate bits are 465 * global zone and have the appropriate IPC_DAC_* privilege, regardless 467 * cross-zone accesses will normally never get here since they'll 518 zone_t *zone; local 530 zone = crgetzone(cr); 531 if (!VALID_UID(uid, zone) || !VALID_GID(gid, zone)) 563 zone_t *zone; local [all...] |
H A D | pid.c | 48 #include <sys/zone.h> 273 zone_t *zone = prp->p_zone; local 312 * Decrement the process counts of the original task, project and zone. 314 mutex_enter(&zone->zone_nlwps_lock); 317 zone->zone_nprocs--; 318 mutex_exit(&zone->zone_nlwps_lock); 322 * Find a process visible from the specified zone given its process ID. 344 * Find a process given its process ID. This obeys zone restrictions, 345 * so if the caller is in a non-global zone it won't find processes
|
/illumos-gate/usr/src/lib/libtsol/common/ |
H A D | setflabel.c | 46 #include <zone.h> 47 #include <sys/zone.h> 166 * Exit status = result of zone copy request
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | localtime.c | 273 zone_rules_t zonerules; /* Type of zone */ 281 int typecnt; /* # zone types */ 282 int charcnt; /* # zone abbv. chars */ 599 * that the external zone state doesn't need to be asserted 604 * local zone state would still need to be aquired for the 678 * extern global zone state variables. (See mktime(3C)). 847 * Sets extern global zone state variables based on the current 876 * Loads local zone information if TZ changed since last time zone 914 * check it again, since zone ma 1965 ttinfo_t *zone; local 1986 ttinfo_t *zone; local [all...] |
/illumos-gate/usr/src/uts/common/disp/ |
H A D | fss.c | 49 #include <sys/zone.h> 62 * The FSS cpu-share is set on zones using the zone.cpu-shares rctl and on 76 * Projects in a zone compete with each other for CPU time, receiving CPU 77 * allocation within a zone proportional to the project's share; at a higher 79 * proportional to the zone's share. 136 * - pset_shares is the total of all *active* zone shares in the pset (by 140 * zone (the zone-internal total) 141 * - zone_ext_shares is the share value for the zone (zone 588 fss_find_fsszone(fsspset_t *fsspset, zone_t *zone) argument 615 fss_insert_fsszone(fsspset_t *fsspset, zone_t *zone, fsszone_t *fsszone) argument 1633 zone_t *zone; local 2806 zone_t *zone = zp; local 2913 zone_t *zone; local [all...] |
/illumos-gate/usr/src/lib/libcommputil/common/ |
H A D | sdp_parse.c | 674 * zone-adjustments (z=) 678 sdp_parse_zone(sdp_zone_t **zone, const char *begin, const char *end, argument 689 /* There can be atmost one zone field. */ 690 if (*zone != NULL) 700 if (*zone == NULL) { 701 *zone = new_zone; 702 tmp = *zone; 734 sdp_free_zone(*zone); 735 *zone = NULL;
|
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/ |
H A D | Objective.java | 1124 int zone = sl.getZone(kve, val); 1135 if ((zone & StatisticOperations.ZONEZ) == 1143 (zone & StatisticOperations.ZONET) == 1148 (zone & StatisticOperations.ZONET) == 1155 " (control zone bounds exceeded)"); 1169 * Every set must be classified with a control zone when this 1171 * the control violation type. zone violations which are minor 1307 int zone = ((Integer) itZones.next()).intValue(); 1310 if ((zone & StatisticOperations.ZONET) 1317 checkOnePos = zone [all...] |
/illumos-gate/usr/src/uts/common/fs/autofs/ |
H A D | auto_vfsops.c | 52 #include <sys/zone.h> 209 * persistent and will not be deallocated until the zone is destroyed. 211 * The current zone is implied as the zone of interest, since we will be 212 * calling zthread_create() which must be called from the correct zone. 240 * Start the unmounter thread for this zone. 361 zone_t *zone = curproc->p_zone; local 369 if (zone == global_zone) { 375 if (mntzone != zone) { 381 * Stop the mount from going any further if the zone i [all...] |
/illumos-gate/usr/src/uts/common/contract/ |
H A D | process.c | 664 contract_process_status(contract_t *ct, zone_t *zone, int detail, nvlist_t *nvl, argument 675 contract_status_common(ct, zone, status, model); 703 contract_status_common(ct, zone, status, model); 736 * if we are in a local zone and svc_fmri was inherited from 737 * the global zone, we provide fake svc_fmri and svc_ctid 740 zone->zone_uniqid == GLOBAL_ZONEUNIQID) { 1068 * system-global ("zone") core files. If dumping core is in the fatal 1073 const char *process, const char *global, const char *zone) 1091 if (zone) { 1093 * Only the global zone i 1072 contract_process_core(cont_process_t *ctp, proc_t *p, int sig, const char *process, const char *global, const char *zone) argument [all...] |
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | corectl.c | 34 #include <sys/zone.h> 51 * At system and zone boot, init_core() sets init(1M)'s core file path and 53 * core_default_content respectively (for the global zone). All subsequent 58 * settings for all processes in the zone. Each zone has different default 59 * settings; when processes enter a non-global zone, their core file path and 60 * content are set to the zone's default path and content. 168 * Constructor routine to be called when a zone is created. 189 * Destructor routine to be called when a zone is destroyed. 215 * The first time we hit this, in the global zone, w 247 zone_t *zone = curproc->p_zone; local [all...] |
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | getaddrinfo.c | 87 const char *zone, uint32_t *sin6_scope_id); 590 ++zonestr; /* make zonestr point at start of <zone-id> */ 591 /* ensure zone is valid */ 745 * getscopeidfromzone(sa, zone, sin6_scope_id) 747 * Converts the string pointed to by 'zone' into a sin6_scope_id. 748 * 'zone' will either be a pointer to an interface name or will 757 * 2. The string pointed to by 'zone' can not be translate to a valid 761 getscopeidfromzone(const struct sockaddr_in6 *sa, const char *zone, argument 770 * pointed to by 'zone'. Since the address is part of the link 773 * If an interface index can not be found for 'zone', the [all...] |
/illumos-gate/usr/src/lib/libzonestat/common/ |
H A D | zonestat.h | 36 #include <sys/zone.h> 181 * The following structures desribe each zone, pset, and each zone's usage 225 /* functions for individual zone usage: zs_zone */ 248 /* functions for a pset's per-zone usage: zs_pset_zone */
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | pr_tasksys.c | 34 #include <zone.h> 55 adp->arg_value = 6; /* switch for zone_lookup in zone */ 62 adp->arg_value = 0; /* arguement for zone_lookup in zone */
|
/illumos-gate/usr/src/lib/libc/amd64/sys/ |
H A D | uadmin.c | 47 #include <zone.h>
|
/illumos-gate/usr/src/lib/libc/i386/sys/ |
H A D | uadmin.c | 46 #include <zone.h>
|
/illumos-gate/usr/src/lib/libinstzones/common/ |
H A D | instzones_lib.h | 45 #include <zone.h> 88 * rootpath.%s/zone.%s/... 92 /* this locks a single zone (zone.name) */ 93 #define LOBJ_ONE_ZONE "zone.%s" 96 #define LOBJ_ZONEADMIN "zone.*" 99 #define LOBJ_PKGADMIN "zone.*/package.*" 133 * the program is running in the global zone with no non-global zones. 148 * Environment values used when running commands within a non-global zone 163 * zone bran [all...] |
/illumos-gate/usr/src/cmd/virtinfo/ |
H A D | virtinfo.c | 36 #include <zone.h> 130 "%s can only be run from the global zone\n"), cmdname);
|
/illumos-gate/usr/src/cmd/zonestat/zonestat/ |
H A D | zonestat.c | 292 " Name of a zone using dedicated-cpu\n"), 302 " \"%s\"\tUsage of each zone\n" 303 " \"%s\"\tUsage of each zone while running\n" 304 " \"%s\"\tMaximum usage of each zone\n" 317 " \"%s\"\tPer-zone usage of each resource\n" 549 * Returns 1 if the name matches one of the specified zone names. 0 550 * otherwise. Always matches if no zone names were specified. 1363 /* Find the longest zone name to set output width. */ 1443 zs_zone_t *zone; local 1483 zone 1710 zs_zone_t *zone; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/ksslcfg/ |
H A D | ksslcfg.c | 37 #include <zone.h> 242 /* Running from within a non-global zone is not supported yet. */ 246 "zone is not supported.\nPlease run the command from " 247 "the global zone.\n"));
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | rctl.c | 34 #include <sys/zone.h> 160 type = "zone"; 203 zone_t zone; local 243 if (mdb_vread(&zone, sizeof (zone_t), (uintptr_t)proc.p_zone) == -1) { 244 mdb_warn("failed to read zone at %p", proc.p_zone); 277 set = (uintptr_t)zone.zone_rctls;
|