/illumos-gate/usr/src/cmd/zonename/ |
H A D | zonename.c | 32 #include <zone.h> 35 #include <sys/zone.h> 72 perror("could not determine zone IP type"); 83 (void) fputs(gettext("could not determine zone name\n"),
|
/illumos-gate/usr/src/lib/libast/common/tm/ |
H A D | tmzone.c | 36 * if type==0 then all time zone types match 37 * otherwise type must be one of tm_info.zone[].type 58 tmset(tm_info.zone); 90 zp = tm_data.zone;
|
H A D | tmdata.c | 231 static Tm_zone_t zone[] = variable 282 Tm_data_t _tm_data_ = { format, lex, digit, days, sum, leap, zone };
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | zone.c | 30 #include "zone.h" 33 #include <sys/zone.h> 43 * Names corresponding to zone_status_t values in sys/zone.h 59 zid_lookup_cb(uintptr_t addr, const zone_t *zone, void *arg) argument 62 if (zone->zone_id == zid) 75 if (mdb_walk("zone", (mdb_walk_cb_t)zid_lookup_cb, &addr) == -1) { 76 mdb_warn("failed to walk zone"); 97 if (mdb_walk_dcmd("zone", "zone", argc, argv) == -1) { 152 * Fetch the zone' 353 zone_t zone; local [all...] |
/illumos-gate/usr/src/lib/libfakekernel/common/sys/ |
H A D | proc.h | 48 struct zone; 67 struct zone *p_zone; /* zone in which process lives */
|
H A D | thread.h | 90 struct zone; 91 extern struct zone *_curzone(void); 92 #define curzone (_curzone()) /* current zone pointer */
|
/illumos-gate/usr/src/lib/libtsol/common/ |
H A D | zone.c | 30 #include <zone.h> 36 * Get label from zone name 39 getzonelabelbyname(const char *zone) argument 43 if ((zoneid = getzoneidbyname(zone)) == -1) { 51 * Get label from zone id 72 * Get zone id from label 89 /* Check for admin_low or admin_high; both are global zone */ 131 continue; /* Badly configured zone info */ 166 getzonerootbyname(const char *zone) argument 170 if ((zoneid = getzoneidbyname(zone)) [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | cred.c | 61 #include <sys/zone.h> 109 get_ephemeral_zsd(zone_t *zone) argument 113 eph_zsd = zone_getspecific(ephemeral_zone_key, zone); 119 eph_zsd = zone_getspecific(ephemeral_zone_key, zone); 131 eph_zsd->eph_nobody = crdup(zone->zone_kcred); 134 eph_zsd->eph_nobody->cr_zone = zone; 136 (void) zone_setspecific(ephemeral_zone_key, zone, eph_zsd); 146 * This function is called when a zone is destroyed 354 * If cred uses label different from zone label, free it. 586 * (2) if the zone id 764 zone_t *zone = crgetzone(cr); local 784 zone_t *zone = crgetzone(cr); local 804 zone_t *zone = crgetzone(cr); local 1166 zone_t *zone; local 1175 valid_ephemeral_uid(zone_t *zone, uid_t id) argument 1188 valid_ephemeral_gid(zone_t *zone, gid_t id) argument 1201 eph_uid_alloc(zone_t *zone, int flags, uid_t *start, int count) argument 1227 eph_gid_alloc(zone_t *zone, int flags, gid_t *start, int count) argument 1259 get_ephemeral_data(zone_t *zone, uid_t *min_uid, uid_t *last_uid, gid_t *min_gid, gid_t *last_gid) argument 1278 set_ephemeral_data(zone_t *zone, uid_t min_uid, uid_t last_uid, gid_t min_gid, gid_t last_gid) argument 1406 zone_t *zone = crgetzone(cr); local [all...] |
H A D | pool_pset.c | 45 #include <sys/zone.h> 64 * the pset the zone is currently bound to, and can read this value 70 * the number of configured and online cpus in the zone, we also cache 110 * Callback function used to apply a cpu configuration event to a zone. 113 pool_pset_setup_cb(zone_t *zone, void *arg) argument 119 ASSERT(zone != NULL); 121 if (zone == global_zone) 123 if (zone_pset_get(zone) != sa->psetid) 127 cpu_visibility_configure(sa->cpu, zone); 130 cpu_visibility_unconfigure(sa->cpu, zone); 207 pool_pset_zone_pset_set(zone_t *zone, void *arg) argument 392 pool_pset_visibility_change(psetid_t psetid, zone_t *zone, boolean_t add) argument 428 pool_pset_visibility_add(psetid_t psetid, zone_t *zone) argument 439 pool_pset_visibility_remove(psetid_t psetid, zone_t *zone) argument 466 pool_pset_assoc_zone_cb(zone_t *zone, void *arg) argument [all...] |
/illumos-gate/usr/src/uts/common/vm/ |
H A D | anon.h | 43 #include <sys/zone.h> 454 * Macros are provided as anon reservation is usually charged to the zone of 456 * zone pointer is needed to charge the appropriate zone. 459 #define anon_unresv_zone(size, zone) anon_unresvmem(size, zone) 462 #define anon_resv_zone(size, zone) anon_resvmem((size), 1, zone, 1) 463 #define anon_checkspace(size, zone) anon_resvmem((size), 0, zone, [all...] |
H A D | vm_usage.c | 33 * the set of processes owned by a particular, zone, project, task, or user. 57 * - Figure out proc's collectives (zone, project, task, and/or user). 87 * - Figure out proc's collectives (zone, project, task, and/or user). 123 * - A zone. 124 * - A project, task, or user within a zone. 127 * uid, regardless of which zone the process is in. For instance, 128 * project 0 in the global zone and project 0 in a non global zone are 138 #include <sys/zone.h> 153 #include <sys/zone 385 vmu_zone_t *zone = (vmu_zone_t *)val; local 507 vmu_zone_t *zone; local 1451 vmu_zone_t *zone; local [all...] |
/illumos-gate/usr/src/uts/common/brand/solaris10/ |
H A D | s10_brand.c | 144 s10_getattr(zone_t *zone, int attr, void *buf, size_t *bufsize) argument 146 ASSERT(zone->zone_brand == &s10_brand); 150 if (copyout(((s10_zone_data_t *)zone->zone_brand_data)-> 160 s10_setattr(zone_t *zone, int attr, void *buf, size_t bufsize) argument 162 ASSERT(zone->zone_brand == &s10_brand); 166 if (copyin(buf, ((s10_zone_data_t *)zone->zone_brand_data)-> 273 * current process and the pid of the zone's init, and it 377 s10_free_brand_data(zone_t *zone) argument 379 kmem_free(zone->zone_brand_data, sizeof (s10_zone_data_t)); 383 s10_init_brand_data(zone_t *zone) argument [all...] |
/illumos-gate/usr/src/head/ |
H A D | zone.h | 30 #include <sys/zone.h>
|
/illumos-gate/usr/src/cmd/prtdiag/ |
H A D | main.c | 37 #include <zone.h> 66 gettext("%s can only be run in the global zone\n"),
|
/illumos-gate/usr/src/uts/common/brand/sn1/ |
H A D | sn1_brand.c | 139 sn1_getattr(zone_t *zone, int attr, void *buf, size_t *bufsize) argument 146 sn1_setattr(zone_t *zone, int attr, void *buf, size_t bufsize) argument 211 sn1_free_brand_data(zone_t *zone) argument 217 sn1_init_brand_data(zone_t *zone) argument
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | brandsys.c | 31 #include <sys/zone.h> 46 * branded zone.
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | cpucaps.h | 37 #include <sys/zone.h> 44 * some CPUs are idle. It can be enforced at project or zone level. 78 * Notify caps framework when a zone is going away. 83 * Set project/zone cap to specified value. Value of MAXCAP should disable caps. 89 * Get current CPU usage for a project/zone.
|
H A D | rctl.h | 168 struct zone; 177 struct zone *zone; member in union:rctl_entity_p_struct::__anon8851 336 int rctl_incr_swap(struct proc *, struct zone *, size_t); 337 void rctl_decr_swap(struct zone *, size_t); 339 int rctl_incr_lofi(struct proc *, struct zone *, size_t); 340 void rctl_decr_lofi(struct zone *, size_t); 342 struct kstat *rctl_kstat_create_zone(struct zone *, char *, uchar_t, uint_t,
|
H A D | zone.h | 61 /* zone id restrictions and special ids */ 63 #define MIN_USERZONEID 1 /* lowest user-creatable zone ID */ 64 #define MIN_ZONEID 0 /* minimum zone ID on system */ 89 /* zone attributes */ 133 * zone commands. 152 * installation of the zone did not succeed but the user need not perform 161 * installation of the zone did not succeed and the user will need to 187 caddr32_t label; /* label associated with zone */ 203 const bslabel_t *label; /* label associated with zone */ 210 #define ZE_AREMOUNTS 2 /* there are mounts within the zone */ 413 typedef struct zone { struct [all...] |
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | kmisc.c | 20 #include <sys/zone.h>
|
/illumos-gate/usr/src/uts/common/idmap/ |
H A D | idmap_kapi.c | 51 #include <sys/zone.h> 121 idmap_get_zone_specific(zone_t *zone); 126 idmap_reg_dh(zone_t *zone, door_handle_t dh) argument 130 zs = idmap_get_zone_specific(zone); 154 idmap_unreg_dh(zone_t *zone, door_handle_t dh) argument 158 zs = idmap_get_zone_specific(zone); 185 idmap_get_cache_data(zone_t *zone, size_t *uidbysid, size_t *gidbysid, argument 190 zs = idmap_get_zone_specific(zone); 307 idmap_get_zone_specific(zone_t *zone) argument 311 ASSERT(zone ! 375 idmap_get_door(zone_t *zone) argument 399 idmap_purge_cache(zone_t *zone) argument 425 kidmap_getuidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid, uid_t *uid) argument 502 kidmap_getgidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid, gid_t *gid) argument 579 kidmap_getpidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid, uid_t *pid, int *is_user) argument 667 kidmap_getsidbyuid(zone_t *zone, uid_t uid, const char **sid_prefix, uint32_t *rid) argument 751 kidmap_getsidbygid(zone_t *zone, gid_t gid, const char **sid_prefix, uint32_t *rid) argument 829 kidmap_get_create(zone_t *zone) argument [all...] |
/illumos-gate/usr/src/lib/libcommputil/common/ |
H A D | sdp_parse_helper.c | 74 sdp_free_zone(sdp_zone_t *zone) argument 78 while (zone != NULL) { 79 next_zone = zone->z_next; 80 if (zone->z_offset != NULL) 81 free(zone->z_offset); 82 free(zone); 83 zone = next_zone;
|
H A D | sdp.c | 557 * Adds time zone field to the session 728 sdp_zone_t *zone; local 788 zone = session->s_zone; 789 while (zone != NULL) { 790 len += snprintf(buf, 1, "%llu", zone->z_time) + 1; 791 len += strlen(zone->z_offset) + 1; 792 zone = zone->z_next; 840 sdp_zone_t *zone; local 907 zone 972 sdp_zone_t *zone; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_zip.c | 47 char zone[33]; local 156 (void) snprintf(zone, sizeof (zone), 184 "Zone = \"%s\"", zone); 208 (void) snprintf(zone, sizeof (zone), 237 "Old Zone = \"%s\"", zone);
|
/illumos-gate/usr/src/uts/common/fs/mntfs/ |
H A D | mntvfsops.c | 50 #include <sys/zone.h> 183 zone_t *zone = curproc->p_zone; local 189 * You can only mount mnttab in your current zone. 191 if (zone == global_zone) { 197 if (mntzone != zone) 217 zone_hold_ref(zone, &mnt->mnt_zone_ref, ZONE_REF_MNTFS);
|