Searched defs:zone (Results 1 - 25 of 120) sorted by relevance

12345

/illumos-gate/usr/src/cmd/backup/lib/
H A Dgetdate.y130 | zone {
180 zone : tZONE { label
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/
H A Dgetdate.y88 current time zone checks various CPP symbols to see if special
271 | zone {
320 zone : tZONE { label
974 * yyTimeZone: time zone specified in minutes
980 * yyDSTmode: DSToff if a non-DST zone is specified, otherwise DSTon
981 * XXX don't understand interaction with yyHaveTime zone info
/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/libast/common/tm/
H A Dtmdata.c231 static Tm_zone_t zone[] = variable
282 Tm_data_t _tm_data_ = { format, lex, digit, days, sum, leap, zone };
H A Dtmxmake.c36 * time zone and leap seconds accounted for in return value
40 tmxtm(register Tm_t* tm, Time_t t, Tm_zone_t* zone) argument
55 tmset(tm_info.zone);
68 if (!(tm->tm_zone = zone))
71 tm->tm_zone = &tm_data.zone[2];
73 tm->tm_zone = tm_info.zone;
131 * time zone and leap seconds accounted for in return value
/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/uts/common/os/
H A Daudit_zone.c37 #include <sys/zone.h>
43 au_zone_init(zoneid_t zone) argument
50 * zone 0
53 if (zone == 0) {
61 kctx->auk_zid = zone;
74 /* statistics per zone */
98 au_zone_shutdown(zoneid_t zone, void *arg) argument
122 au_zone_destroy(zoneid_t zone, void *arg) argument
/illumos-gate/usr/src/uts/common/syscall/
H A Dchown.c62 struct zone *zone = crgetzone(CRED()); local
64 if (uid != (uid_t)-1 && !VALID_UID(uid, zone) ||
65 gid != (gid_t)-1 && !VALID_GID(gid, zone)) {
H A Dgid.c51 zone_t *zone = crgetzone(CRED()); local
54 if (!VALID_GID(gid, zone))
58 if (ksid_lookupbygid(zone, gid, &ksid) != 0)
151 zone_t *zone = crgetzone(CRED()); local
153 if (!VALID_GID(gid, zone))
157 if (ksid_lookupbygid(zone, gid, &ksid) != 0)
226 zone_t *zone = crgetzone(CRED()); local
228 if ((rgid != -1 && !VALID_GID(rgid, zone)) ||
229 (egid != -1 && !VALID_GID(egid, zone)))
233 if (ksid_lookupbygid(zone, egi
[all...]
H A Dgroups.c50 zone_t *zone; local
57 zone = crgetzone(CRED());
69 if (!VALID_GID(groups[i], zone)) {
77 ksl = kcrsid_gidstosids(zone, n, (gid_t *)groups);
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...]
H A Duid.c40 #include <sys/zone.h>
54 zone_t *zone = crgetzone(CRED()); local
56 if (!VALID_UID(uid, zone))
60 if (ksid_lookupbyuid(zone, uid, &ksid) != 0)
196 zone_t *zone = crgetzone(CRED()); local
198 if (!VALID_UID(uid, zone))
202 if (ksid_lookupbyuid(zone, uid, &ksid) != 0)
274 zone_t *zone = crgetzone(CRED()); local
276 if ((ruid != -1 && !VALID_UID(ruid, zone)) ||
277 (euid != -1 && !VALID_UID(euid, zone)))
[all...]
H A Dtasksys.c43 #include <sys/zone.h>
74 zone_t *zone; local
112 zone = p->p_zone;
114 mutex_enter(&zone->zone_nlwps_lock);
115 mutex_enter(&zone->zone_mem_lock);
147 mutex_exit(&zone->zone_mem_lock);
148 mutex_exit(&zone->zone_nlwps_lock);
169 mutex_exit(&zone->zone_mem_lock);
170 mutex_exit(&zone->zone_nlwps_lock);
251 * in the current zone
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_zip.c47 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/lib/libfakekernel/common/sys/
H A Dzone.h57 struct zone *zref_zone; /* the zone to which the reference refers */
61 typedef struct zone { struct
62 char *zone_name; /* zone's configuration name */
63 zoneid_t zone_id; /* ID of zone */
66 struct vnode *zone_rootvp; /* zone's root vnode */
67 char *zone_rootpath; /* Path to zone's root + '/' */
/illumos-gate/usr/src/lib/libtsol/common/
H A Dzone.c30 #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/fs/tmpfs/
H A Dtmp_tnode.c67 zone_t *zone; local
80 zone = tm->tm_vfsp->vfs_zone;
82 (!anon_checkspace(ptob(pages + tmpfs_minfree), zone)) ||
83 (anon_try_resv_zone(delta, zone) == 0))) {
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dscratchops.c30 * This module contains functions used for reading and writing the scratch zone
32 * mappings between actual kernel zone names and the zones in an alternate boot
46 * handle error; zone already mounted
48 * mount zone here
67 #define PATH_MAPFILE "tmp/.alt.lu-zone-map"
186 char zone[ZONENAME_MAX]; local
190 while (zonecfg_get_scratch(fp, zone, sizeof (zone), kernzone, kernlen,
192 if (strcmp(zone, zonename) == 0 && strcmp(altroot, aroot) == 0)
229 char zone[ZONENAME_MA local
[all...]
/illumos-gate/usr/src/uts/common/fs/mntfs/
H A Dmntvfsops.c50 #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);
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprvfsops.c41 #include <sys/zone.h>
195 zone_t *zone = curproc->p_zone; local
203 if (zone == global_zone) {
208 if (zone != mntzone)
/illumos-gate/usr/src/uts/common/io/bpf/
H A Dbpf_mod.c338 bpf_provider_tickle(char *name, zoneid_t zone) argument
346 if (bp->bpl_what->bpr_open(name, &handle, zone) == 0) {
360 zone) == 0) {
362 zone) == 0) {
387 * when a zone is being torn down, allowing BPF to drive IPNET to
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dbind.c60 zoneid_t zone; member in struct:rdsv3_ip_bucket
72 if (*(uint64_t *)a > (((uint64_t)bp->ip << 32) | bp->zone))
74 else if (*(uint64_t *)a < (((uint64_t)bp->ip << 32) | bp->zone))
124 /* allocate a new bucket for this IP & zone */
129 bucketp->zone = zoneid;
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dgetaddrinfo.c87 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/libcommputil/common/
H A Dsdp_parse_helper.c74 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;
/illumos-gate/usr/src/uts/common/fs/ctfs/
H A Dctfs_event.c106 zone_t *zone, int rprivchk)
110 zuniqid = zone->zone_uniqid;
105 ctfs_endpoint_ioctl(ctfs_endpoint_t *endpt, int cmd, intptr_t arg, cred_t *cr, zone_t *zone, int rprivchk) argument

Completed in 122 milliseconds

12345