Home
last modified time | relevance | path

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

/linux/drivers/iommu/generic_pt/
H A Diommu_pt.h401 uintptr_t top_of_table, in table_alloc_top() argument
410 return _table_alloc(common, pt_top_memsize_lg2(common, top_of_table), in table_alloc_top()
741 uintptr_t top_of_table = READ_ONCE(common->top_of_table); in increase_top() local
742 uintptr_t new_top_of_table = top_of_table; in increase_top()
813 if (common->top_of_table != top_of_table || in increase_top()
814 top_of_table == new_top_of_table) { in increase_top()
829 WRITE_ONCE(common->top_of_table, new_top_of_table); in increase_top()
1294 table_mem = table_alloc_top(common, common->top_of_table, gfp, in pt_iommu_init()
H A Dpt_defs.h314 WRITE_ONCE(common->top_of_table, _pt_top_set(table_mem, top_level)); in pt_top_set()
325 return READ_ONCE(common->top_of_table) % (1 << PT_TOP_LEVEL_BITS); in pt_top_get_level()