Searched refs:inv_queue_size (Results 1 – 6 of 6) sorted by relevance
116 unit->x86c.inv_queue_avail += unit->x86c.inv_queue_size; in dmar_qi_ensure()150 KASSERT(unit->x86c.inv_queue_tail <= unit->x86c.inv_queue_size, in dmar_qi_emit()152 (uintmax_t)unit->x86c.inv_queue_size)); in dmar_qi_emit()153 unit->x86c.inv_queue_tail &= unit->x86c.inv_queue_size - 1; in dmar_qi_emit()162 KASSERT(unit->x86c.inv_queue_tail <= unit->x86c.inv_queue_size, in dmar_qi_emit()164 (uintmax_t)unit->x86c.inv_queue_size)); in dmar_qi_emit()165 unit->x86c.inv_queue_tail &= unit->x86c.inv_queue_size - 1; in dmar_qi_emit()363 qi_sz = ilog2(unit->x86c.inv_queue_size / PAGE_SIZE); in dmar_init_qi()
133 unit->x86c.inv_queue_avail += unit->x86c.inv_queue_size; in amdiommu_cmd_ensure()163 KASSERT(unit->x86c.inv_queue_tail <= unit->x86c.inv_queue_size, in amdiommu_cmd_emit()165 (uintmax_t)unit->x86c.inv_queue_size)); in amdiommu_cmd_emit()166 unit->x86c.inv_queue_tail &= unit->x86c.inv_queue_size - 1; in amdiommu_cmd_emit()337 qi_sz = ilog2(unit->x86c.inv_queue_size / PAGE_SIZE) + 8; in amdiommu_init_cmd()
516 x86c->inv_queue_size = (1ULL << qi_sz) * PAGE_SIZE; in iommu_qi_common_init()518 x86c->inv_queue_avail = x86c->inv_queue_size - in iommu_qi_common_init()525 x86c->inv_queue = kmem_alloc_contig(x86c->inv_queue_size, in iommu_qi_common_init()559 kmem_free(x86c->inv_queue, x86c->inv_queue_size); in iommu_qi_common_fini()561 x86c->inv_queue_size = 0; in iommu_qi_common_fini()
120 vm_size_t inv_queue_size; member
1162 if (ci == unit->x86c.inv_queue_size) in amdiommu_print_one()
1234 (uintmax_t)unit->x86c.inv_queue_size, in dmar_print_one()