/titanic_50/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 …]
|
/titanic_50/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()
|
/titanic_50/usr/src/cmd/rcap/rcapd/ |
H A D | rcapd_collection_zone.c | 53 if (zone_getattr(zent->zid, ZONE_ATTR_PHYS_MCAP, &mcap, in update_zone() 59 if (zent->zid == GLOBAL_ZONEID) { in update_zone() 68 colid.rcid_val = zent->zid; in update_zone()
|
/titanic_50/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()
|
/titanic_50/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_init.c | 222 zoneid_t zid; in smb_drv_open() local 235 zid = crgetzoneid(cr); in smb_drv_open() 236 if (zid < 0) in smb_drv_open() 238 *devp = makedevice(getmajor(*devp), zid); in smb_drv_open()
|
H A D | smb_server.c | 382 zoneid_t zid; in smb_server_create() local 385 zid = getzoneid(); in smb_server_create() 391 if (sv->sv_zid == zid) { in smb_server_create() 402 sv->sv_zid = zid; in smb_server_create() 1676 zoneid_t zid; in smb_server_lookup() local 1679 zid = getzoneid(); in smb_server_lookup() 1685 if (sv->sv_zid == zid) { in smb_server_lookup()
|
/titanic_50/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 | 596 zoneid_t zid; local 610 zid = crgetzoneid(cp); 612 if (zid == GLOBAL_ZONEID) 620 ifs = ipf_find_stack(zid, isp);
|
/titanic_50/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 | 849 dls_link_setzid(const char *name, zoneid_t zid) in dls_link_setzid() argument 860 if ((old_zid = dlp->dl_zid) == zid) in dls_link_setzid() 872 dlp->dl_zid = zid; in dls_link_setzid() 874 if (zid == GLOBAL_ZONEID) { in dls_link_setzid()
|
H A D | dls_mgmt.c | 1552 zoneid_t zid = getzoneid(); in dls_devnet_open() local 1565 if (zid != GLOBAL_ZONEID && ddp->dd_zid != zid) { in dls_devnet_open()
|
/titanic_50/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()
|
/titanic_50/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()
|
/titanic_50/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 …]
|
/titanic_50/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()
|
/titanic_50/usr/src/cmd/ps/ |
H A D | ucbps.c | 808 static zoneid_t zid = -1; in gettty() local 812 if (zid == -1) in gettty() 813 zid = getzoneid(); in gettty() 815 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()
|
/titanic_50/usr/src/lib/brand/solaris10/s10_brand/common/ |
H A D | s10_brand.c | 1740 zoneid_t zid; in s10_zone() local 1761 zid = (zoneid_t)(uintptr_t)arg1; in s10_zone() 1770 if (zid != GLOBAL_ZONEID) in s10_zone() 1790 (void) B_TRUSS_POINT_5(rval, SYS_zone, 0, cmd, zid, attr, in s10_zone()
|
/titanic_50/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);
|
/titanic_50/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 745 zsd_fattach_zone(zoneid_t zid, int door, boolean_t detach_only) in zsd_fattach_zone() argument 760 "Unable to fork to add zonestat to zoneid %d\n"), zid); in zsd_fattach_zone() 767 if (zid != 0 && zone_enter(zid) != 0) { in zsd_fattach_zone() 794 zsd_warn(gettext("Unable to attach door to zoneid: %d"), zid); in zsd_fattach_zone() 803 zsd_warn(gettext("Internal error entering zone: %d"), zid); in zsd_fattach_zone() 4226 zsd_usage_filter(zoneid_t zid, zs_usage_cache_t *cache, zs_usage_t *usage, in zsd_usage_filter() argument 4280 if (czone->zsz_id == zid) { in zsd_usage_filter() 4312 if (cpz->zspz_zoneid == zid) in zsd_usage_filter()
|
/titanic_50/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()
|
/titanic_50/usr/src/lib/libdladm/common/ |
H A D | linkprop.c | 1538 zoneid_t zid; in get_zone() local 1545 perm_flags, &zid, sizeof (zid)); in get_zone() 1550 if (zid != GLOBAL_ZONEID) { in get_zone() 1551 if (getzonenamebyid(zid, zone_name, sizeof (zone_name)) < 0) { in get_zone() 1591 i_dladm_update_deventry(dladm_handle_t handle, zoneid_t zid, in i_dladm_update_deventry() argument 1601 if (getzonenamebyid(zid, zone_name, sizeof (zone_name)) < 0) in i_dladm_update_deventry()
|
/titanic_50/usr/src/cmd/zoneadmd/ |
H A D | zoneadmd.c | 1830 zoneid_t zid; in main() local 1926 if (zone_get_id(zone_name, &zid) != 0) { in main()
|
/titanic_50/usr/src/cmd/init/ |
H A D | init.c | 4539 zoneid_t zid = getzoneid(); in audit_boot_msg() local 4547 if (zid != GLOBAL_ZONEID) { in audit_boot_msg() 4549 (void) getzonenamebyid(zid, p, MAXNAMELEN); in audit_boot_msg()
|