Searched refs:irte_cnt (Results 1 - 5 of 5) sorted by relevance

/freebsd-13-stable/sys/x86/iommu/
H A Dintel_intrmap.c271 KASSERT(idx < unit->irte_cnt,
272 ("bad cookie %d %d", idx, unit->irte_cnt));
309 KASSERT(cookie < unit->irte_cnt,
310 ("bad cookie %u %u", cookie, unit->irte_cnt));
345 unit->irte_cnt = clp2(num_io_irqs);
347 unit->irte_cnt * sizeof(dmar_irte_t), M_ZERO | M_WAITOK, 0,
353 unit->irtids = vmem_create("dmarirt", 0, unit->irte_cnt, 1, 0,
382 kmem_free((vm_offset_t)unit->irt, unit->irte_cnt *
H A Dintel_qi.c293 KASSERT(start < unit->irte_cnt && start < start + cnt &&
294 start + cnt <= unit->irte_cnt,
295 ("inv iec overflow %d %d %d", unit->irte_cnt, start, cnt));
H A Dintel_utils.c529 s = fls(unit->irte_cnt) - 2;
530 KASSERT(unit->irte_cnt >= 2 && s <= DMAR_IRTA_S_MASK &&
531 powerof2(unit->irte_cnt),
532 ("IRTA_REG_S overflow %x", unit->irte_cnt));
H A Dintel_dmar.h178 u_int irte_cnt; member in struct:dmar_unit
H A Dintel_drv.c1252 unit->irt, (uintmax_t)unit->irt_phys, unit->irte_cnt);

Completed in 109 milliseconds