Home
last modified time | relevance | path

Searched refs:pasid_table (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/iommu/intel/
Dpasid.c41 struct pasid_table *pasid_table; in intel_pasid_alloc_table() local
50 if (WARN_ON(info->pasid_table)) in intel_pasid_alloc_table()
53 pasid_table = kzalloc(sizeof(*pasid_table), GFP_KERNEL); in intel_pasid_alloc_table()
54 if (!pasid_table) in intel_pasid_alloc_table()
65 kfree(pasid_table); in intel_pasid_alloc_table()
69 pasid_table->table = dir; in intel_pasid_alloc_table()
70 pasid_table->order = order; in intel_pasid_alloc_table()
71 pasid_table->max_pasid = 1 << (order + PAGE_SHIFT + 3); in intel_pasid_alloc_table()
72 info->pasid_table = pasid_table; in intel_pasid_alloc_table()
75 clflush_cache_range(pasid_table->table, (1 << order) * PAGE_SIZE); in intel_pasid_alloc_table()
[all …]
Dpasid.h55 struct pasid_table { struct
292 struct pasid_table *intel_pasid_get_table(struct device *dev);
Diommu.h783 struct pasid_table *pasid_table; /* pasid table */ member