Lines Matching refs:dom
1013 struct amdvi_domain *dom;
1015 dom = malloc(sizeof(struct amdvi_domain), M_AMDVI, M_ZERO | M_WAITOK);
1016 dom->id = amdvi_domainId();
1017 //dom->maxaddr = maxaddr;
1019 printf("Created domain #%d\n", dom->id);
1024 if (dom->id || amdvi_host_ptp)
1025 dom->ptp = malloc(PAGE_SIZE, M_AMDVI, M_WAITOK | M_ZERO);
1027 dom->ptp_level = amdvi_ptp_level;
1029 amdvi_do_inv_domain(dom->id, true);
1030 SLIST_INSERT_HEAD(&dom_head, dom, next);
1032 return (dom);