/illumos-gate/usr/src/uts/common/inet/ipd/ |
H A D | ipd.c | 657 zoneid_t zid; in ipd_ioctl_perturb() local 667 zid = crgetzoneid(cr); in ipd_ioctl_perturb() 668 if (zid != GLOBAL_ZONEID) in ipd_ioctl_perturb() 669 ipi->ipip_zoneid = zid; in ipd_ioctl_perturb() 672 zid != GLOBAL_ZONEID) in ipd_ioctl_perturb() 721 zoneid_t zid; in ipd_ioctl_remove() local 728 zid = crgetzoneid(cr); in ipd_ioctl_remove() 729 if (zid != GLOBAL_ZONEID) in ipd_ioctl_remove() 730 ipi->ipip_zoneid = zid; in ipd_ioctl_remove() 733 zid != GLOBAL_ZONEID) in ipd_ioctl_remove() [all …]
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_zsd.c | 108 vmm_zsd_create(zoneid_t zid) in vmm_zsd_create() argument 118 zsd->vz_zoneid = zid; in vmm_zsd_create() 132 zone = zone_find_by_id_nolock(zid); in vmm_zsd_create() 148 vmm_zsd_shutdown(zoneid_t zid, void *data) in vmm_zsd_shutdown() argument 173 vmm_zsd_destroy(zoneid_t zid, void *data) in vmm_zsd_destroy() argument
|
/illumos-gate/usr/src/test/net-tests/tests/ipv6/ |
H A D | link-local.ksh | 27 typeset -i zid=0 44 zid=$(zoneadm list -p | awk -F: -vz=`zonename` '$2 == z { print $1 }') 45 [[ -n "$zid" ]] || fatal "Cannot determine zone ID" 46 print "+ zone ID $zid" 56 pgrep -x -z$zid in.ndpd || fatal "Could not find in.ndpd process"
|
/illumos-gate/usr/src/cmd/wall/ |
H A D | wall.c | 293 sendmes_tozone(zoneid_t zid, int aflag) { in sendmes_tozone() argument 298 if (zid != getzoneid()) { in sendmes_tozone() 300 (void) getzonenamebyid(zid, zonename, ZONENAME_MAX); in sendmes_tozone() 318 sendmes(p, zid); in sendmes_tozone() 337 sendmes(struct utmpx *p, zoneid_t zid) in sendmes() argument 348 if (zid != getzoneid()) { in sendmes() 367 if (zoneenter && zone_enter(zid) == -1) { in sendmes() 369 (void) getzonenamebyid(zid, zonename, ZONENAME_MAX); in sendmes()
|
/illumos-gate/usr/src/cmd/rcap/rcapd/ |
H A D | rcapd_collection_zone.c | 51 if (zone_getattr(zent->zid, ZONE_ATTR_PHYS_MCAP, &mcap, in update_zone() 57 if (zent->zid == GLOBAL_ZONEID) { in update_zone() 66 colid.rcid_val = zent->zid; in update_zone()
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | tx.c | 61 zoneid_t zid = -1; in get_labeled_zonename() local 76 if ((zid = getzoneidbylabel(bsl)) < 0) { in get_labeled_zonename() 85 if ((zonename_size = getzonenamebyid(zid, zname, ZONENAME_MAX + 1)) in get_labeled_zonename()
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | solaris.c | 419 ipf_stack_create_one(const netid_t id, const zoneid_t zid, boolean_t from_gz, in ipf_stack_create_one() argument 450 ifs->ifs_zone = zid; in ipf_stack_create_one() 486 zoneid_t zid = net_getzoneidbynetid(id); in ipf_stack_create() local 496 if (zid != GLOBAL_ZONEID) in ipf_stack_create() 497 ifs = ipf_stack_create_one(id, zid, B_TRUE, NULL); in ipf_stack_create() 499 return (ipf_stack_create_one(id, zid, B_FALSE, ifs)); in ipf_stack_create()
|
H A D | ip_fil_solaris.c | 810 zoneid_t zid; local 824 zid = crgetzoneid(cp); 826 if (zid == GLOBAL_ZONEID) 834 ifs = ipf_find_stack(zid, isp);
|
/illumos-gate/usr/src/uts/intel/io/viona/ |
H A D | viona_hook.c | 117 lif_if_t ifdata __unused, zoneid_t *zid __unused) in viona_neti_getlifzone() 380 viona_neti_lookup_by_zid(zoneid_t zid) in viona_neti_lookup_by_zid() argument 387 if (nip->vni_zid == zid) { in viona_neti_lookup_by_zid()
|
H A D | viona_main.c | 786 zoneid_t zid = crgetzoneid(cr); in viona_kstat_init() local 794 sizeof (viona_kstats_t) / sizeof (kstat_named_t), 0, zid); in viona_kstat_init() 809 if (zid != GLOBAL_ZONEID) { in viona_kstat_init() 851 zoneid_t zid; in viona_ioc_create() local 861 zid = crgetzoneid(cr); in viona_ioc_create() 862 nip = viona_neti_lookup_by_zid(zid); in viona_ioc_create()
|
/illumos-gate/usr/src/uts/common/io/dls/ |
H A D | dls.c | 43 zoneid_t zid = getzoneid(); in dls_open() local 51 if (zid != GLOBAL_ZONEID && dlp->dl_zid != zid) in dls_open() 66 local = (zid == dlp->dl_zid); in dls_open()
|
H A D | dls_link.c | 935 dls_link_setzid(const char *name, zoneid_t zid) in dls_link_setzid() argument 946 if ((old_zid = dlp->dl_zid) == zid) in dls_link_setzid() 958 dlp->dl_zid = zid; in dls_link_setzid() 960 if (zid == GLOBAL_ZONEID) { in dls_link_setzid()
|
H A D | dls_mgmt.c | 1701 zoneid_t zid = getzoneid(); in dls_devnet_open() local 1714 if (zid != GLOBAL_ZONEID && ddp->dd_zid != zid) { in dls_devnet_open()
|
/illumos-gate/usr/src/cmd/rcap/common/ |
H A D | utils.h | 65 zoneid_t zid; member
|
H A D | utils.c | 321 zentp->zid = zids[i]; in get_running_zones()
|
/illumos-gate/usr/src/cmd/zoneadm/ |
H A D | zoneadm.c | 96 zoneid_t zid; member 451 if (zent->zid == ZONE_ID_UNDEFINED) in zone_print() 454 (void) printf("%lu", zent->zid); in zone_print() 466 if (zent->zid == ZONE_ID_UNDEFINED) in zone_print() 469 (void) printf("%*lu", ZONEID_WIDTH, zent->zid); in zone_print() 476 lookup_zone_info(const char *zone_name, zoneid_t zid, zone_entry_t *zent) in lookup_zone_info() argument 488 zent->zid = zid; in lookup_zone_info() 503 if (is_system_labeled() && zent->zid != ZONE_ID_UNDEFINED) { in lookup_zone_info() 504 if (zone_getattr(zent->zid, ZONE_ATTR_ROOT, zent->zroot, in lookup_zone_info() 552 if (zid == GLOBAL_ZONEID) { in lookup_zone_info() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | zone.c | 61 zoneid_t zid = *(uintptr_t *)arg; in zid_lookup_cb() local 62 if (zone->zone_id == zid) in zid_lookup_cb()
|
/illumos-gate/usr/src/cmd/psrset/ |
H A D | psrset.c | 647 zoneid_t zid; in main() local 894 zid = getzoneidbyname(zname); in main() 895 if (zid < 0) { in main() 899 } else if (pset_bind(pset, P_ZONEID, zid, in main()
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_server.c | 420 zoneid_t zid; in smb_server_create() local 423 zid = getzoneid(); in smb_server_create() 429 if (sv->sv_zid == zid) { in smb_server_create() 440 sv->sv_zid = zid; in smb_server_create() 1183 zoneid_t zid = getzoneid(); in smb_server_proc_main() local 1186 ASSERT(zid == sv->sv_zid); in smb_server_proc_main() 1190 "smbsrv %d", (int)zid); in smb_server_proc_main() 1948 zoneid_t zid; in smb_server_lookup() local 1951 zid = getzoneid(); in smb_server_lookup() 1957 if (sv->sv_zid == zid) { in smb_server_lookup()
|
/illumos-gate/usr/src/cmd/ps/ |
H A D | ucbps.c | 810 static zoneid_t zid = -1; in gettty() local 814 if (zid == -1) in gettty() 815 zid = getzoneid(); in gettty() 817 if (psinfo->pr_ttydev == PRNODEV || psinfo->pr_zoneid != zid) in gettty()
|
H A D | ps.c | 1272 static zoneid_t zid = -1; in gettty() local 1276 if (zid == -1) in gettty() 1277 zid = getzoneid(); in gettty() 1279 if (psinfo->pr_ttydev == PRNODEV || psinfo->pr_zoneid != zid) in gettty()
|
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/ |
H A D | s10_brand.c | 1782 zoneid_t zid; in s10_zone() local 1803 zid = (zoneid_t)(uintptr_t)arg1; in s10_zone() 1812 if (zid != GLOBAL_ZONEID) in s10_zone() 1832 (void) B_TRUSS_POINT_5(rval, SYS_zone, 0, cmd, zid, attr, in s10_zone()
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_arp_link.c | 40 static int ibcm_nce_lookup(ibcm_arp_prwqn_t *wqnp, ill_t *ill, zoneid_t zid);
|
/illumos-gate/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 743 zsd_fattach_zone(zoneid_t zid, int door, boolean_t detach_only) in zsd_fattach_zone() argument 758 "Unable to fork to add zonestat to zoneid %d\n"), zid); in zsd_fattach_zone() 765 if (zid != 0 && zone_enter(zid) != 0) { in zsd_fattach_zone() 792 zsd_warn(gettext("Unable to attach door to zoneid: %d"), zid); in zsd_fattach_zone() 801 zsd_warn(gettext("Internal error entering zone: %d"), zid); in zsd_fattach_zone() 4202 zsd_usage_filter(zoneid_t zid, zs_usage_cache_t *cache, zs_usage_t *usage, in zsd_usage_filter() argument 4256 if (czone->zsz_id == zid) { in zsd_usage_filter() 4288 if (cpz->zspz_zoneid == zid) in zsd_usage_filter()
|
/illumos-gate/usr/src/lib/libinstzones/common/ |
H A D | zones.c | 831 zoneid_t zid; in z_mount_in_lz() local 873 err = zone_get_id(a_zoneName, &zid); in z_mount_in_lz()
|