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.h381 struct pt_table_p *table_mem; in _table_alloc() local
383 table_mem = iommu_alloc_pages_node_sz(iommu_table->nid, gfp, in _table_alloc()
385 if (!table_mem) in _table_alloc()
391 table_mem, iommu_table->iommu_device); in _table_alloc()
393 iommu_free_pages(table_mem); in _table_alloc()
397 return table_mem; in _table_alloc()
430 struct pt_table_p *table_mem; in pt_iommu_new_table() local
437 table_mem = table_alloc(pts, attrs->gfp, ALLOC_NORMAL); in pt_iommu_new_table()
438 if (IS_ERR(table_mem)) in pt_iommu_new_table()
439 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()