Home
last modified time | relevance | path

Searched refs:domid (Results 1 – 25 of 27) sorted by relevance

12

/titanic_50/usr/src/uts/sun4u/starfire/io/
H A Didn_proto.c70 static int idn_connect(int domid);
71 static int idn_disconnect(int domid, idn_fin_t fintype,
73 static void idn_deconfig(int domid);
84 static int idn_mark_awol(int domid, clock_t *atime);
87 static void idn_send_config(int domid, int phase);
88 static void idn_recv_config(int domid, idn_msgtype_t *mtp,
90 static int idn_send_master_config(int domid, int phase);
91 static int idn_send_slave_config(int domid, int phase);
92 static uint_t idn_check_master_config(int domid, uint_t *exp, uint_t *act);
93 static uint_t idn_check_slave_config(int domid, uint_t *exp, uint_t *act);
[all …]
H A Didn_smr.c52 #define DIOCHECK(domid) \ argument
55 if ((_dio = idn_domain[domid].dio) < 0) { \
58 __FILE__, __LINE__, (domid), _dio); \
62 #define DIOCHECK(domid) argument
65 static int smr_slab_alloc_local(int domid, smr_slab_t **spp);
66 static int smr_slab_alloc_remote(int domid, smr_slab_t **spp);
67 static void smr_slab_free_local(int domid, smr_slab_t *sp);
68 static void smr_slab_free_remote(int domid, smr_slab_t *sp);
69 static int smr_slabwaiter_register(int domid);
70 static int smr_slabwaiter_unregister(int domid, smr_slab_t **spp);
[all …]
H A Didn.c316 static void idn_mainmbox_domain_report(queue_t *wq, mblk_t *mp, int domid,
2037 proc, slp.cpuid, slp.domid, pri, in idn_sigbhandler_thread()
2040 rv = idn_link(slp.domid, slp.cpuid, pri, in idn_sigbhandler_thread()
2057 proc, sup.cpuid, sup.domid, sup.boardset, in idn_sigbhandler_thread()
2066 if (VALID_DOMAINID(sup.domid)) { in idn_sigbhandler_thread()
2067 dp = &idn_domain[sup.domid]; in idn_sigbhandler_thread()
2099 SET_IDNKERR_PARAM0(sep, sup.domid); in idn_sigbhandler_thread()
2104 sup.domid = dp->domid; in idn_sigbhandler_thread()
2127 rv = idn_unlink(sup.domid, sup.idnset, fintype, in idn_sigbhandler_thread()
2703 proc, idnop->link.domid, idnop->link.cpuid, pri); in idnioc_link()
[all …]
H A Didn_dlpi.c353 idndl_domain_etheraddr(int domid, int channel, struct ether_addr *eap) in idndl_domain_etheraddr() argument
358 if (idn_domain[domid].dcpu == IDN_NIL_DCPU) in idndl_domain_etheraddr()
361 netid = (uchar_t)idn_domain[domid].dnetid; in idndl_domain_etheraddr()
383 proc, domid, in idndl_domain_etheraddr()
1642 int domid; local
1668 domid = IDNDL_ETHER2DOMAIN(&ehp->ether_dhost);
1682 domid);
1702 } else if (domid != IDN_NIL_DOMID) {
1703 domset = DOMAINSET(domid);
1704 netaddr.net.netid = idn_domain[domid].dnetid;
[all …]
/titanic_50/usr/src/uts/sun4u/starfire/sys/
H A Didn_smr.h199 extern void smr_slab_reap(int domid, int *nslabs);
200 extern int smr_slab_alloc(int domid, smr_slab_t **spp);
201 extern void smr_slab_free(int domid, smr_slab_t *sp);
204 extern int smr_buf_alloc(int domid, uint_t len, caddr_t *bufpp);
205 extern int smr_buf_free(int domid, caddr_t bufp, uint_t len);
206 extern int smr_buf_free_locked(int domid, caddr_t bufp, uint_t len);
207 extern int smr_buf_free_all(int domid);
208 extern int smr_buf_reclaim(int domid, int nbufs);
209 extern int smr_slaballoc_put(int domid, smr_slab_t *sp, int forceflag,
215 extern int smr_slabwaiter_abort(int domid, int serrno);
[all …]
H A Didn.h548 int domid = (dp)->domid; \
550 idn.idnsb->id_status[domid].d_board = \
553 idn.idnsb->id_status[domid].d_board = \
556 idn.idnsb->id_status[domid].d_board = \
558 idn.idnsb->id_status[domid].d_state = \
777 int (*t_check)(int domid, struct idn_msgtype *mtp,
779 void (*t_action)(int domid, struct idn_msgtype *mtp,
781 void (*t_error)(int domid, struct idn_msgtype *mtp,
793 void (*xt_final)(int domid);
794 void (*xt_exit)(int domid, uint_t msgtype);
[all …]
H A Didn_sigb.h79 int32_t domid; member
104 int32_t domid; member
/titanic_50/usr/src/uts/common/xen/public/hvm/
H A Dhvm_op.h28 domid_t domid; /* IN */ member
39 domid_t domid; member
52 domid_t domid; member
64 domid_t domid; member
83 domid_t domid; member
99 domid_t domid; member
117 domid_t domid; member
/titanic_50/usr/src/uts/i86xpv/vm/
H A Dseg_mf.c98 domid_t domid; member
164 ndata->domid = data->domid; in segmf_dup()
248 (void *)addr, data->domid, mfn, prot); in segmf_faultpage()
265 UVMF_INVLPG | UVMF_ALL, data->domid) != 0) { in segmf_faultpage()
525 pgcnt_t pgcnt, domid_t domid) in segmf_add_mfns() argument
544 if (domid == 0 || domid == DOMID_SELF) in segmf_add_mfns()
549 if (data->domid == 0) in segmf_add_mfns()
550 data->domid = domid; in segmf_add_mfns()
552 if (data->domid != domid) { in segmf_add_mfns()
581 grant_ref_t *grefs, uint_t cnt, domid_t domid) in segmf_add_grefs() argument
[all …]
/titanic_50/usr/src/uts/common/xen/os/
H A Dgnttab.c255 gnttab_grant_foreign_access(domid_t domid, gnttab_frame_t frame, int readonly) in gnttab_grant_foreign_access() argument
265 shared[ref].domid = domid; in gnttab_grant_foreign_access()
273 gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid, in gnttab_grant_foreign_access_ref() argument
279 shared[ref].domid = domid; in gnttab_grant_foreign_access_ref()
341 gnttab_grant_foreign_transfer(domid_t domid, pfn_t pfn) in gnttab_grant_foreign_transfer() argument
350 gnttab_grant_foreign_transfer_ref(ref, domid, pfn); in gnttab_grant_foreign_transfer()
356 gnttab_grant_foreign_transfer_ref(grant_ref_t ref, domid_t domid, pfn_t pfn) in gnttab_grant_foreign_transfer_ref() argument
361 shared[ref].domid = domid; in gnttab_grant_foreign_transfer_ref()
549 xatp.domid = DOMID_SELF; in gnttab_map()
H A Dxvdi.c239 domid_t domid; in xvdi_init_dev() local
253 domid = (domid_t)ddi_prop_get_int(DDI_DEV_T_ANY, dip, in xvdi_init_dev()
256 backend = (domid != DOMID_SELF); in xvdi_init_dev()
263 pdp->xd_domain = domid; in xvdi_init_dev()
298 "%s/%d/%d", xdcp->xs_path_be, domid, vdevnum); in xvdi_init_dev()
312 pdp->xd_xsdev.otherend_id = (backend ? domid : -1); in xvdi_init_dev()
968 domid_t domid; in xvdi_find_dev() local
977 domid = (domid_t)*domidp; in xvdi_find_dev()
996 domid = pdp->xd_domain; in xvdi_find_dev()
1001 if ((domid == dom) && (vdevnum == vdev) && (devcls == devclass)) in xvdi_find_dev()
/titanic_50/usr/src/uts/common/xen/public/
H A Dmemory.h84 domid_t domid; member
204 domid_t domid; member
261 domid_t domid; member
277 domid_t domid; member
H A Dgrant_table.h96 domid_t domid; member
269 domid_t domid; member
309 domid_t domid; member
H A Dphysdev.h146 domid_t domid; member
167 domid_t domid; member
/titanic_50/usr/src/uts/common/xen/sys/
H A Dgnttab.h107 int gnttab_grant_foreign_transfer(domid_t domid, pfn_t pfn);
135 void gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid,
138 void gnttab_grant_foreign_transfer_ref(grant_ref_t, domid_t domid,
/titanic_50/usr/src/uts/i86pc/i86hvm/io/xpv/
H A Devtchn.c183 xen_alloc_unbound_evtchn(int domid, int *evtchnp) in xen_alloc_unbound_evtchn() argument
189 alloc.remote_dom = (domid_t)domid; in xen_alloc_unbound_evtchn()
204 xen_bind_interdomain(int domid, int remote_port, int *port) in xen_bind_interdomain() argument
209 bind.remote_dom = (domid_t)domid; in xen_bind_interdomain()
299 xhp.domid = DOMID_SELF; in set_hvm_callback()
H A Dxpv_support.c500 xatp.domid = DOMID_SELF; in xen_suspend_domain()
/titanic_50/usr/src/uts/i86xpv/io/
H A Dprivcmd_hcall.c165 domid_t domid) in privcmd_HYPERVISOR_mmu_update() argument
181 DTRACE_XPV3(mmu__update__start, int, domid, int, count, mmu_update_t *, in privcmd_HYPERVISOR_mmu_update()
185 error = HYPERVISOR_mmu_update(kreq, count, &kscount, domid); in privcmd_HYPERVISOR_mmu_update()
712 domid_t domid; in privcmd_HYPERVISOR_memory_op() member
745 domid_t, op_arg.resv.domid, in privcmd_HYPERVISOR_memory_op()
752 domid_t, op_arg.resv.domid, in privcmd_HYPERVISOR_memory_op()
759 domid_t, op_arg.resv.domid, in privcmd_HYPERVISOR_memory_op()
774 if (import_buffer(&op_ie, arg, &op_arg, sizeof (op_arg.domid), in privcmd_HYPERVISOR_memory_op()
794 op_arg.xatp.domid, uint_t, op_arg.xatp.space, ulong_t, in privcmd_HYPERVISOR_memory_op()
832 op_arg.fmm.domid, int, op_arg.fmm.map.nr_entries, in privcmd_HYPERVISOR_memory_op()
[all …]
/titanic_50/usr/src/uts/i86xpv/os/
H A Dballoon.c746 domid_t domid = DOMID_SELF; in balloon_init() local
754 XENMEM_maximum_reservation, &domid); in balloon_init()
792 memres.domid = DOMID_SELF; in balloon_alloc_pages()
890 memdec.domid = DOMID_SELF; in balloon_free_pages()
911 memdec.domid = DOMID_SELF; in balloon_free_pages()
972 memres.domid = DOMID_SELF; in balloon_replace_pages()
1004 memres.domid = DOMID_SELF; in balloon_replace_pages()
H A Devtchn.c224 xen_bind_interdomain(int domid, int remote_port, int *port) in xen_bind_interdomain() argument
229 bind.remote_dom = domid; in xen_bind_interdomain()
240 xen_alloc_unbound_evtchn(int domid, int *evtchnp) in xen_alloc_unbound_evtchn() argument
246 alloc.remote_dom = domid; in xen_alloc_unbound_evtchn()
/titanic_50/usr/src/uts/i86pc/os/
H A Dxpv_platform.c84 xhp.domid = DOMID_SELF; in hvm_get_param()
206 xatp.domid = DOMID_SELF; in xen_hvm_init()
/titanic_50/usr/src/cmd/dtrace/test/tst/i86xpv/xdt/
H A Dtst.schedargs.ksh56 /* print domid vcpu pcpu probename */
/titanic_50/usr/src/uts/common/xen/io/
H A Dxnb.c738 gop->domid = xnbp->xnb_peer; in xnb_to_peer()
946 gp->source.domid = DOMID_SELF; in setup_gop()
954 gp->dest.domid = xnbp->xnb_peer; in setup_gop()
1481 cop->source.domid = xnbp->xnb_peer; in xnb_from_peer()
1485 cop->dest.domid = DOMID_SELF; in xnb_from_peer()
H A Dxpvtap.c1192 domid_t domid; in xpvtap_user_request_map() local
1199 domid = xvdi_get_oeid(state->bt_dip); in xpvtap_user_request_map()
1250 domid); in xpvtap_user_request_map()
/titanic_50/usr/src/uts/i86xpv/io/psm/
H A Dxpv_psm.c1225 map_irq.domid = DOMID_SELF; in apic_alloc_msi_vectors()
1352 map_irq.domid = DOMID_SELF; in apic_alloc_msix_vectors()
1459 unmap_pirq.domid = DOMID_SELF; in apic_free_vectors()

12