Lines Matching refs:dom
1007 struct amdvi_domain *dom;
1009 dom = malloc(sizeof(struct amdvi_domain), M_AMDVI, M_ZERO | M_WAITOK);
1010 dom->id = amdvi_domainId();
1011 //dom->maxaddr = maxaddr;
1013 printf("Created domain #%d\n", dom->id);
1018 if (dom->id || amdvi_host_ptp)
1019 dom->ptp = malloc(PAGE_SIZE, M_AMDVI, M_WAITOK | M_ZERO);
1021 dom->ptp_level = amdvi_ptp_level;
1023 amdvi_do_inv_domain(dom->id, true);
1024 SLIST_INSERT_HEAD(&dom_head, dom, next);
1026 return (dom);