/illumos-gate/usr/src/lib/libtsol/common/ |
H A D | getplabel.c | 42 zoneid_t zoneid; local 44 zoneid = (int)getzoneid(); 45 if (zoneid == GLOBAL_ZONEID) { 50 sl = getzonelabelbyid(zoneid);
|
H A D | zone.c | 41 zoneid_t zoneid; local 43 if ((zoneid = getzoneidbyname(zone)) == -1) { 47 return (getzonelabelbyid(zoneid)); 54 getzonelabelbyid(zoneid_t zoneid) argument 61 if (zone_getattr(zoneid, ZONE_ATTR_SLBL, slabel, 80 zoneid_t zoneid; local 134 zoneid = zids[i]; 136 return (zoneid); 145 * Get zoneroot for a zoneid 149 getzonerootbyid(zoneid_t zoneid) argument 168 zoneid_t zoneid; local 182 zoneid_t zoneid; local [all...] |
/illumos-gate/usr/src/cmd/zonename/ |
H A D | zonename.c | 47 zoneid_t zoneid; local 65 zoneid = getzoneid(); 70 if (zone_getattr(zoneid, ZONE_ATTR_FLAGS, &flags, 82 if (getzonenamebyid(zoneid, zonename, sizeof (zonename)) < 0) {
|
/illumos-gate/usr/src/uts/common/fs/autofs/ |
H A D | auto_sys.c | 44 zoneid_t zoneid; local 47 zoneid = (zoneid_t)arg; 51 if ((zone = zone_find_by_id(zoneid)) == NULL)
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_pass.h | 44 zoneid_t zoneid; /* Future Use */ member in struct:smb_passid
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | proc_set.c | 65 * Convenience wrapper to set the zoneid attribute of a victim process to a new 67 * prochandle and a valid zoneid. 70 Psetzoneid(struct ps_prochandle *Pr, zoneid_t zoneid) argument 74 long zoneid; member in struct:__anon3804 80 ctl.zoneid = zoneid;
|
/illumos-gate/usr/src/uts/common/io/dls/ |
H A D | dls_stat.c | 106 zoneid_t zoneid, int (*update)(struct kstat *, int), void *private, 114 KSTAT_TYPE_NAMED, STAT_INFO_COUNT + 2, 0, zoneid)) == NULL) { 105 dls_stat_create(const char *module, int instance, const char *name, zoneid_t zoneid, int (*update)(struct kstat *, int), void *private, kstat_t **kspp) argument
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_srcid.c | 110 zoneid_t zoneid, ip_stack_t *); 119 ip_srcid_insert(const in6_addr_t *addr, zoneid_t zoneid, ip_stack_t *ipst) argument 126 inet_ntop(AF_INET6, addr, abuf, sizeof (abuf)), zoneid)); 130 smpp = srcid_lookup_addr(addr, zoneid, ipst); 148 (*smpp)->sm_zoneid = zoneid; 159 ip_srcid_remove(const in6_addr_t *addr, zoneid_t zoneid, ip_stack_t *ipst) argument 167 inet_ntop(AF_INET6, addr, abuf, sizeof (abuf)), zoneid)); 171 smpp = srcid_lookup_addr(addr, zoneid, ipst); 199 ip_srcid_find_addr(const in6_addr_t *addr, zoneid_t zoneid, argument 208 smpp = srcid_lookup_addr(addr, zoneid, ips 237 ip_srcid_find_id(uint_t id, in6_addr_t *addr, zoneid_t zoneid, boolean_t v4mapped, netstack_t *ns) argument 304 srcid_lookup_addr(const in6_addr_t *addr, zoneid_t zoneid, ip_stack_t *ipst) argument [all...] |
H A D | ip2mac.c | 178 zoneid_t zoneid) 195 ns = netstack_find_by_zoneid(zoneid); 201 * For exclusive stacks we reset the zoneid to zero 202 * since IP uses the global zoneid in the exclusive stacks. 205 zoneid = GLOBAL_ZONEID; 385 ip2mac_cancel(ip2mac_id_t ip2mid, zoneid_t zoneid) argument 391 ns = netstack_find_by_zoneid(zoneid); 397 * For exclusive stacks we reset the zoneid to zero 398 * since IP uses the global zoneid in the exclusive stacks. 401 zoneid 177 ip2mac(uint_t op, ip2mac_t *ip2m, ip2mac_callback_t *cb, void *cbarg, zoneid_t zoneid) argument [all...] |
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | uid.c | 52 zoneid_t zoneid = getzoneid(); local 113 upcount_inc(uid, zoneid); 160 upcount_dec(oldruid, zoneid); 272 zoneid_t zoneid = getzoneid(); local 335 upcount_inc(ruid, zoneid); 390 upcount_dec(oldruid, zoneid);
|
H A D | sigtimedwait.c | 51 zoneid_t zoneid = getzoneid(); local 54 if (SI_FROMUSER(ksip) && zoneid != GLOBAL_ZONEID && 55 zoneid != ksip->si_zoneid) { 60 sani_sip.si_zoneid = zoneid; 73 if (SI_FROMUSER(ksip) && zoneid != GLOBAL_ZONEID && 74 zoneid != ksip->si_zoneid) { 78 si32.si_zoneid = zoneid;
|
H A D | uadmin.c | 81 killall(zoneid_t zoneid) argument 85 ASSERT(zoneid != GLOBAL_ZONEID); 93 if ((zoneid == ALL_ZONES || p->p_zone->zone_id == zoneid) && 105 if ((zoneid == ALL_ZONES || p->p_zone->zone_id == zoneid) &&
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_strerror.c | 112 zoneid_t zoneid = getzoneid(); local 123 zprintf(zoneid, trunc_msg); 149 zprintf(zoneid, trunc_msg);
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | pt.c | 173 zonept(int fd, zoneid_t zoneid) argument 178 istr.ic_len = sizeof (zoneid); 180 istr.ic_dp = (char *)&zoneid;
|
/illumos-gate/usr/src/cmd/tsol/updatehome/ |
H A D | setupfiles.c | 98 zoneid_t zoneid; local 101 zoneid = getzoneid(); 102 if ((plabel = getzonelabelbyid(zoneid)) == NULL) { 122 dperror("setupfiles can't get zoneid for min sl");
|
/illumos-gate/usr/src/uts/common/gssapi/ |
H A D | gssd_handle.c | 59 gss_zone_init(zoneid_t zoneid) argument 69 gss_zone_fini(zoneid_t zoneid, void *data) argument
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | mt_rpcinit.c | 58 rpcstat_zone_init_common(zoneid_t zoneid, const char *module, const char *name, argument 77 KSTAT_FLAG_VIRTUAL | KSTAT_FLAG_WRITABLE, zoneid)) != NULL) { 85 rpcstat_zone_fini_common(zoneid_t zoneid, const char *module, const char *name) argument 87 kstat_delete_byname_zone(module, 0, name, zoneid); 91 mt_kstat_zone_init(zoneid_t zoneid) argument 97 clnt_clts_stats_init(zoneid, &rpcstat->rpc_clts_client); 98 svc_clts_stats_init(zoneid, &rpcstat->rpc_clts_server); 100 clnt_cots_stats_init(zoneid, &rpcstat->rpc_cots_client); 101 svc_cots_stats_init(zoneid, &rpcstat->rpc_cots_server); 110 mt_kstat_zone_fini(zoneid_t zoneid, voi argument [all...] |
/illumos-gate/usr/src/lib/libinstzones/common/ |
H A D | zones_utils.c | 394 zoneid_t zoneid = (zoneid_t)-1; local 408 zoneid = getzoneid(); 412 if (zoneid == GLOBAL_ZONEID) {
|
/illumos-gate/usr/src/cmd/allocate/ |
H A D | allocate.c | 258 zoneid_t zoneid; local 330 zoneid = getzoneid(); 331 if (zoneid != GLOBAL_ZONEID) 601 if (zone_get_id(zonename, &zoneid) != 0) {
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_netops.c | 59 zoneid_t zoneid; local 67 zoneid = getzoneid(); 68 return (zone_check_datalink(&zoneid, linkid) == 0 ?
|
/illumos-gate/usr/src/uts/common/inet/ipnet/ |
H A D | ipnet_bpf.c | 74 ipnet_bpf_open(const char *name, uintptr_t *mhandlep, zoneid_t zoneid) argument 76 if (zoneid == ALL_ZONES) 77 zoneid = GLOBAL_ZONEID; 78 return (ipnet_open_byname(name, (ipnetif_t **)mhandlep, zoneid)); 189 ipnet_bpf_getlinkid(const char *name, datalink_id_t *idp, zoneid_t zoneid) argument 195 VERIFY((ips = ipnet_find_by_zoneid(zoneid)) != NULL); 199 error = ipnet_get_linkid_byname(name, &index, zoneid);
|
/illumos-gate/usr/src/uts/common/io/bpf/ |
H A D | bpf_mac.c | 77 mac_bpf_open(const char *name, uintptr_t *mhandlep, zoneid_t zoneid) argument 154 mac_bpf_getlinkid(const char *name, datalink_id_t *idp, zoneid_t zoneid) argument
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rdssubr.c | 274 in_port_t local_port, in_port_t rem_port, zoneid_t zoneid) 286 (rds->rds_zoneid == zoneid))) { 273 rds_fanout(ipaddr_t local_addr, ipaddr_t rem_addr, in_port_t local_port, in_port_t rem_port, zoneid_t zoneid) argument
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | bind.c | 115 rdsv3_find_ip_bucket(ipaddr_t ipaddr, zoneid_t zoneid) argument 119 uint64_t needle = ((uint64_t)ipaddr << 32) | zoneid; 129 bucketp->zone = zoneid;
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_arp_link.c | 291 ibcm_nce_lookup(ibcm_arp_prwqn_t *wqnp, ill_t *ill, zoneid_t zoneid) argument 329 zoneid);
|