Home
last modified time | relevance | path

Searched refs:table_mem (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/iommu/generic_pt/
H A Diommu_pt.h370 struct pt_table_p *table_mem; in _table_alloc() local
372 table_mem = iommu_alloc_pages_node_sz(iommu_table->nid, gfp, in _table_alloc()
374 if (!table_mem) in _table_alloc()
380 table_mem, iommu_table->iommu_device); in _table_alloc()
382 iommu_free_pages(table_mem); in _table_alloc()
386 return table_mem; in _table_alloc()
419 struct pt_table_p *table_mem; in pt_iommu_new_table() local
426 table_mem = table_alloc(pts, attrs->gfp, ALLOC_NORMAL); in pt_iommu_new_table()
427 if (IS_ERR(table_mem)) in pt_iommu_new_table()
428 return PTR_ERR(table_mem); in pt_iommu_new_table()
[all …]
H A Dpt_defs.h304 static inline uintptr_t _pt_top_set(struct pt_table_p *table_mem, in _pt_top_set() argument
307 return top_level | (uintptr_t)table_mem; in _pt_top_set()
311 struct pt_table_p *table_mem, in pt_top_set() argument
314 WRITE_ONCE(common->top_of_table, _pt_top_set(table_mem, top_level)); in pt_top_set()