Home
last modified time | relevance | path

Searched refs:ivhd_count (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/intel/io/vmm/amd/
H A Divrs_drv.c51 int ivhd_count; /* Number of IVHD header. */ variable
387 for (j = 0; j < ivhd_count; j++) { in ivhd_identify()
392 if (j == ivhd_count) in ivhd_identify()
393 ivhd_count++; in ivhd_identify()
396 ivhd_devs = kmem_zalloc(sizeof(device_t) * ivhd_count, KM_SLEEP); in ivhd_identify()
397 for (i = 0, j = 0; i < ivhd_count; i++) { in ivhd_identify()
425 ivhd_count = j; in ivhd_identify()
438 KASSERT((unit < ivhd_count), in ivhd_probe()
439 ("ivhd unit %d > count %d", unit, ivhd_count)); in ivhd_probe()
638 KASSERT((unit < ivhd_count), in ivhd_attach()
[all …]
H A Damdvi_hw.c72 extern int ivhd_count;
73 SYSCTL_INT(_hw_vmm_amdvi, OID_AUTO, count, CTLFLAG_RDTUN, &ivhd_count,
946 if (!ivhd_count) { in amdvi_init()
949 if (!amdvi_enable_user && ivhd_count) { in amdvi_init()
952 ivhd_count); in amdvi_init()
985 for (i = 0; i < ivhd_count; i++) { in amdvi_do_inv_domain()
1200 for (i = 0; i < ivhd_count; i++) { in amdvi_find_iommu()
1313 for (i = 0; i < ivhd_count; i++) { in amdvi_enable()
1347 for (i = 0; i < ivhd_count; i++) { in amdvi_disable()