Searched refs:ivhd_count (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/amd64/vmm/amd/ |
H A D | ivrs_drv.c | 53 int ivhd_count; /* Number of IVHD header. */ variable 390 for (j = 0; j < ivhd_count; j++) { in ivhd_identify() 395 if (j == ivhd_count) in ivhd_identify() 396 ivhd_count++; in ivhd_identify() 399 ivhd_devs = malloc(sizeof(device_t) * ivhd_count, M_DEVBUF, in ivhd_identify() 401 for (i = 0, j = 0; i < ivhd_count; i++) { in ivhd_identify() 429 ivhd_count = j; in ivhd_identify() 442 KASSERT((unit < ivhd_count), in ivhd_probe() 443 ("ivhd unit %d > count %d", unit, ivhd_count)); in ivhd_probe() 642 KASSERT((unit < ivhd_count), in ivhd_attach() [all …]
|
H A D | amdvi_hw.c | 75 extern int ivhd_count; 76 SYSCTL_INT(_hw_vmm_amdvi, OID_AUTO, count, CTLFLAG_RDTUN, &ivhd_count, 949 if (!ivhd_count) { in amdvi_init() 952 if (!amdvi_enable_user && ivhd_count) { in amdvi_init() 955 ivhd_count); in amdvi_init() 988 for (i = 0; i < ivhd_count; i++) { in amdvi_do_inv_domain() 1203 for (i = 0; i < ivhd_count; i++) { in amdvi_find_iommu() 1316 for (i = 0; i < ivhd_count; i++) { in amdvi_enable() 1350 for (i = 0; i < ivhd_count; i++) { in amdvi_disable()
|