Home
last modified time | relevance | path

Searched refs:dmar_seq_ids (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/iommu/intel/
H A Ddmar.c62 static unsigned long dmar_seq_ids[BITS_TO_LONGS(DMAR_UNITS_SUPPORTED)]; variable
1027 iommu->seq_id = find_first_zero_bit(dmar_seq_ids, in dmar_alloc_seq_id()
1032 set_bit(iommu->seq_id, dmar_seq_ids); in dmar_alloc_seq_id()
1042 clear_bit(iommu->seq_id, dmar_seq_ids); in dmar_free_seq_id()
/kernel/linux/linux-6.6/drivers/iommu/intel/
H A Ddmar.c64 static DEFINE_IDA(dmar_seq_ids);
1055 iommu->seq_id = ida_alloc_range(&dmar_seq_ids, 0, in alloc_iommu()
1160 ida_free(&dmar_seq_ids, iommu->seq_id); in alloc_iommu()
1196 ida_free(&dmar_seq_ids, iommu->seq_id); in free_iommu()

Completed in 6 milliseconds