Home
last modified time | relevance | path

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

/linux/drivers/iommu/generic_pt/
H A Dpt_iter.h211 uintptr_t top_of_table) in _pt_top_range() argument
216 (struct pt_table_p *)(top_of_table & in _pt_top_range()
218 .top_level = top_of_table % (1 << PT_TOP_LEVEL_BITS), in _pt_top_range()
257 return _pt_top_range(common, READ_ONCE(common->top_of_table)); in pt_top_range()
314 _pt_top_range(common, READ_ONCE(common->top_of_table)); in pt_make_range()
493 uintptr_t top_of_table) in pt_top_memsize_lg2() argument
495 struct pt_range range = _pt_top_range(common, top_of_table); in pt_top_memsize_lg2()
H A Diommu_pt.h391 uintptr_t top_of_table, in table_alloc_top() argument
400 return _table_alloc(common, pt_top_memsize_lg2(common, top_of_table), in table_alloc_top()
673 uintptr_t top_of_table = READ_ONCE(common->top_of_table); in increase_top() local
674 uintptr_t new_top_of_table = top_of_table; in increase_top()
745 if (common->top_of_table != top_of_table || in increase_top()
746 top_of_table == new_top_of_table) { in increase_top()
761 WRITE_ONCE(common->top_of_table, new_top_of_table); in increase_top()
1259 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()
/linux/include/linux/generic_pt/
H A Dcommon.h57 uintptr_t top_of_table; member