| /onnv/onnv-gate/usr/src/uts/common/fs/nfs/ |
| nfs_stats.c | 44 * Convenience routine to create a named kstat associated with zoneid, named 49 nfsstat_zone_init_common(zoneid_t zoneid, const char *module, int vers, 60 KSTAT_FLAG_VIRTUAL | KSTAT_FLAG_WRITABLE, zoneid)) != NULL) { 72 nfsstat_zone_fini_common(zoneid_t zoneid, const char *module, int vers, 75 kstat_delete_byname_zone(module, vers, name, zoneid); 96 nfsstat_zone_init_server(zoneid_t zoneid, kstat_named_t *svstatp[]) 110 svstatp[vers] = nfsstat_zone_init_common(zoneid, "nfs", vers, 112 if (zoneid == GLOBAL_ZONEID) 118 nfsstat_zone_fini_server(zoneid_t zoneid, kstat_named_t **svstatp) 122 if (zoneid == GLOBAL_ZONEID [all...] |
| nfs_strerror.c | 117 zoneid_t zoneid = getzoneid(); local 128 zprintf(zoneid, trunc_msg); 154 zprintf(zoneid, trunc_msg);
|
| nfs4_client_debug.c | 861 zoneid_t zoneid; local 864 zoneid = mi->mi_zone->zone_id; 868 zcmn_err(zoneid, CE_NOTE, "![NFS4][Server: %s][Mntpt: %s]" 881 zcmn_err(zoneid, CE_NOTE, 888 zcmn_err(zoneid, CE_NOTE, 898 zcmn_err(zoneid, CE_NOTE, "![NFS4][Server: %s][Mntpt: %s]" 908 zcmn_err(zoneid, CE_NOTE, "![NFS4][Server: %s][Mntpt: %s]" 916 zcmn_err(zoneid, CE_NOTE, "![NFS4][Server: %s][Mntpt: %s]" 925 zcmn_err(zoneid, CE_NOTE, "![NFS4][Server: %s][Mntpt: %s]" 933 zcmn_err(zoneid, CE_NOTE, "![NFS4][Server: %s][Mntpt: %s] 1065 zoneid_t zoneid; local 1469 zoneid_t zoneid = mi->mi_zone->zone_id; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libtsol/common/ |
| getplabel.c | 42 zoneid_t zoneid; local 44 zoneid = (int)getzoneid(); 45 if (zoneid == GLOBAL_ZONEID) { 50 sl = getzonelabelbyid(zoneid);
|
| zone.c | 41 zoneid_t zoneid; local 43 if ((zoneid = getzoneidbyname(zone)) == -1) { 47 return (getzonelabelbyid(zoneid)); 54 getzonelabelbyid(zoneid_t zoneid) 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) 168 zoneid_t zoneid; local 182 zoneid_t zoneid; local [all...] |
| getpathbylabel.c | 231 getnfspathbyautofs(struct mntlist *mlist, zoneid_t zoneid, 247 if (zone_getattr(zoneid, ZONE_ATTR_NAME, zonename, 353 getglobalpath(const char *path, zoneid_t zoneid, struct mntlist *mlist, 362 if (zoneid != GLOBAL_ZONEID) { 365 if ((prefix = getzonerootbyid(zoneid)) == NULL) { 395 if (zoneid > GLOBAL_ZONEID) { 401 if (getnfspathbyautofs(mlist, zoneid, m, 426 if ((zoneid > GLOBAL_ZONEID) && 445 if (zone_getattr(zoneid, ZONE_ATTR_NAME, 470 zoneid_t zoneid; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libc/port/sys/ |
| zone.c | 67 zone_boot(zoneid_t zoneid) 69 return (syscall(SYS_zone, ZONE_BOOT, zoneid)); 73 zone_shutdown(zoneid_t zoneid) 75 return (syscall(SYS_zone, ZONE_SHUTDOWN, zoneid)); 79 zone_destroy(zoneid_t zoneid) 81 return (syscall(SYS_zone, ZONE_DESTROY, zoneid)); 85 zone_getattr(zoneid_t zoneid, int attr, void *valp, size_t size) 90 error = __systemcall(&rval, SYS_zone, ZONE_GETATTR, zoneid, 98 zone_setattr(zoneid_t zoneid, int attr, void *valp, size_t size) 100 return (syscall(SYS_zone, ZONE_SETATTR, zoneid, attr, valp, size)) 126 zoneid_t zoneid; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/rpc/ |
| mt_rpcinit.c | 58 rpcstat_zone_init_common(zoneid_t zoneid, const char *module, const char *name, 77 KSTAT_FLAG_VIRTUAL | KSTAT_FLAG_WRITABLE, zoneid)) != NULL) { 85 rpcstat_zone_fini_common(zoneid_t zoneid, const char *module, const char *name) 87 kstat_delete_byname_zone(module, 0, name, zoneid); 91 mt_kstat_zone_init(zoneid_t zoneid) 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, void *data [all...] |
| /onnv/onnv-gate/usr/src/lib/libproc/common/ |
| 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) 74 long zoneid; member in struct:__anon3914 80 ctl.zoneid = zoneid;
|
| /onnv/onnv-gate/usr/src/uts/common/inet/ip/ |
| ip_srcid.c | 108 zoneid_t zoneid, ip_stack_t *); 117 ip_srcid_insert(const in6_addr_t *addr, zoneid_t zoneid, ip_stack_t *ipst) 124 inet_ntop(AF_INET6, addr, abuf, sizeof (abuf)), zoneid)); 128 smpp = srcid_lookup_addr(addr, zoneid, ipst); 146 (*smpp)->sm_zoneid = zoneid; 157 ip_srcid_remove(const in6_addr_t *addr, zoneid_t zoneid, ip_stack_t *ipst) 165 inet_ntop(AF_INET6, addr, abuf, sizeof (abuf)), zoneid)); 169 smpp = srcid_lookup_addr(addr, zoneid, ipst); 197 ip_srcid_find_addr(const in6_addr_t *addr, zoneid_t zoneid, 206 smpp = srcid_lookup_addr(addr, zoneid, ipst) [all...] |
| /onnv/onnv-gate/usr/src/cmd/zonename/ |
| 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) {
|
| /onnv/onnv-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
| smb_pass.h | 44 zoneid_t zoneid; /* Future Use */ member in struct:smb_passid
|
| /onnv/onnv-gate/usr/src/uts/common/inet/ipnet/ |
| ipnet_bpf.c | 74 ipnet_bpf_open(const char *name, uintptr_t *mhandlep, zoneid_t zoneid) 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) 195 VERIFY((ips = ipnet_find_by_zoneid(zoneid)) != NULL); 199 error = ipnet_get_linkid_byname(name, &index, zoneid);
|
| /onnv/onnv-gate/usr/src/cmd/ipcrm/ |
| ipcrm.c | 60 #define IPC_KEYMATCH(perm, zoneid, key) \ 61 ((perm).ipcx_key == (key) && (perm).ipcx_zoneid == (zoneid)) 67 static zoneid_t zoneid; variable 149 if (qds.msgx_perm.ipcx_zoneid != zoneid) { 188 if (IPC_KEYMATCH(qds.msgx_perm, zoneid, k)) 214 if (sds.semx_perm.ipcx_zoneid != zoneid) { 260 if (IPC_KEYMATCH(sds.semx_perm, zoneid, k)) 281 if (mds.shmx_perm.ipcx_zoneid != zoneid) { 321 if (IPC_KEYMATCH(mds.shmx_perm, zoneid, k)) 333 zoneid_t zoneid; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/sys/ib/clients/rds/ |
| rds_transport.h | 40 zoneid_t zoneid);
|
| /onnv/onnv-gate/usr/src/cmd/dlmgmtd/ |
| dlmgmt_door.c | 34 * There are two zoneid's associated with a link. One is the zoneid of the 36 * the other is the zoneid of the zone where the link is currently assigned 92 dlmgmt_getlink_by_dev(char *devname, zoneid_t zoneid) 97 if (link_is_visible(linkp, zoneid) && 140 dlmgmt_upcall_create(void *argp, void *retp, zoneid_t zoneid, ucred_t *cred) 175 dlmgmt_getlink_by_dev(create->ld_devname, zoneid)) != NULL) { 212 zoneid, flags, &linkp)) == EEXIST) { 225 err = dlmgmt_generate_name("net", link, MAXLINKNAMELEN, zoneid); 229 err = dlmgmt_create_common(link, class, media, zoneid, flags 1326 zoneid_t zoneid; local [all...] |
| dlmgmt_util.c | 48 * datalinks and is keyed by zoneid and link name. The dlmgmt_id_avl also 105 * Note that the zoneid associated with a link is effectively part of its 389 zoneid_t zoneid; local 391 if (zone_check_datalink(&zoneid, linkp->ll_linkid) == 0) { 396 if (zoneid != linkp->ll_zoneid) { 397 if (link_by_name(linkp->ll_link, zoneid) != NULL) { 402 linkp->ll_zoneid = zoneid; 417 * Is linkp visible from the caller's zoneid? It is if the link is in the 422 link_is_visible(dlmgmt_link_t *linkp, zoneid_t zoneid) 424 return (linkp->ll_zoneid == zoneid || [all...] |
| dlmgmt_main.c | 129 dlmgmt_door_attach(zoneid_t zoneid, char *rootdir) 160 } else if (zoneid == GLOBAL_ZONEID) { 176 dlmgmt_zone_init(zoneid_t zoneid) 182 if (zoneid == GLOBAL_ZONEID) { 184 } else if (zone_getattr(zoneid, ZONE_ATTR_ROOT, rootdir, 206 if ((err = dlmgmt_db_init(zoneid)) != 0) 208 return (dlmgmt_door_attach(zoneid, rootdir)); 370 zoneid_t zoneid = getzoneid(); local 387 if (zoneid == GLOBAL_ZONEID) {
|
| /onnv/onnv-gate/usr/src/uts/common/os/ |
| pid.c | 324 prfind_zone(pid_t pid, zoneid_t zoneid) 336 if (zoneid == ALL_ZONES || p->p_zone->zone_id == zoneid) 351 zoneid_t zoneid; local 354 zoneid = ALL_ZONES; 356 zoneid = getzoneid(); 357 return (prfind_zone(pid, zoneid)); 361 pgfind_zone(pid_t pgid, zoneid_t zoneid) 373 if (zoneid == ALL_ZONES || pgid == 0 || p == NULL || 374 p->p_zone->zone_id == zoneid) 387 zoneid_t zoneid; local 485 zoneid_t zoneid; local [all...] |
| printf.c | 71 zoneid_t zoneid) 87 ASSERT(zoneid == GLOBAL_ZONEID || !on_intr); 101 zoneid = getzoneid(); 117 (zoneid == GLOBAL_ZONEID && log_global.lz_active == 0)) { 157 log_sendmsg(mp, zoneid); 175 vzprintf(zoneid_t zoneid, const char *fmt, va_list adx) 178 zoneid); 201 zprintf(zoneid_t zoneid, const char *fmt, ...) 207 zoneid); 243 vzcmn_err(zoneid_t zoneid, int ce, const char *fmt, va_list adx [all...] |
| netstack.c | 77 * assumption that the zones framework picks a new zoneid each time a zone 103 static void *netstack_zone_create(zoneid_t zoneid); 104 static void netstack_zone_shutdown(zoneid_t zoneid, void *arg); 105 static void netstack_zone_destroy(zoneid_t zoneid, void *arg); 107 static void netstack_shared_zone_add(zoneid_t zoneid); 108 static void netstack_shared_zone_remove(zoneid_t zoneid); 285 netstack_zone_create(zoneid_t zoneid) 295 zone = zone_find_by_id_nolock(zoneid); 299 stackid = zoneid; 326 netstack_shared_zone_add(zoneid); 908 zoneid_t zoneid = crgetzoneid(cr); local 1112 zoneid_t zoneid = ks_netstackid; local [all...] |
| kstat_fr.c | 102 * to all zones, and does not have the caller's zoneid explicitly 110 zoneid_t zoneid; member in struct:kstat_zone 241 kstat_zone_find(kstat_t *k, zoneid_t zoneid) 248 if (zoneid == ALL_ZONES || kz->zoneid == ALL_ZONES) 250 if (zoneid == kz->zoneid) 257 kstat_zone_remove(kstat_t *k, zoneid_t zoneid) 263 if (zoneid == e->e_zone.zoneid) { 763 zoneid_t zoneid; local 791 zoneid_t zoneid; local 1144 zoneid_t zoneid = ((ekstat_t *)ksp)->e_zone.zoneid; local 1232 zoneid_t zoneid = e->e_zone.zoneid; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/ptools/ptree/ |
| ptree.c | 62 zoneid_t zoneid; member in struct:ps 85 static zoneid_t zoneid; variable 130 zoneid = getzone(optarg); 236 p->zoneid = info.pr_zoneid; 339 p->zoneid == zoneid)) 443 pp->zoneid = ct_status_get_zoneid(hdl); 448 * we need to adjust the zoneid in the contract's ps_t as 451 * ptree -c -z <zonename> --> zoneid == p->zoneid 561 zoneid_t zoneid; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/autofs/ |
| auto_sys.c | 47 zoneid_t zoneid; local 50 zoneid = (zoneid_t)arg; 54 if ((zone = zone_find_by_id(zoneid)) == NULL)
|
| /onnv/onnv-gate/usr/src/uts/common/syscall/ |
| 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;
|