Home
last modified time | relevance | path

Searched refs:MT_FETCH_TAG (Results 1 – 7 of 7) sorted by relevance

/linux/tools/testing/selftests/arm64/mte/
H A Dcheck_tags_inclusion.c34 if (!MT_FETCH_TAG((uintptr_t)ptr)) in verify_mte_pointer_validity()
67 if (MT_FETCH_TAG((uintptr_t)ptr) == tag) { in check_single_included_tags()
69 MT_FETCH_TAG((uintptr_t)ptr), in check_single_included_tags()
99 if (MT_FETCH_TAG((uintptr_t)ptr) < tag) { in check_multiple_included_tags()
101 MT_FETCH_TAG((uintptr_t)ptr), in check_multiple_included_tags()
155 if (MT_FETCH_TAG((uintptr_t)ptr)) { in check_none_included_tags()
H A Dmte_common_util.h108 if (tags && !MT_FETCH_TAG((uintptr_t)ptr)) { in check_allocated_memory()
125 if (!MT_FETCH_TAG((uintptr_t)ptr)) { in check_allocated_memory_range()
H A Dcheck_child_memory.c34 parent_tag = MT_FETCH_TAG((uintptr_t)ptr); in check_child_tag_inheritance()
51 child_tag = MT_FETCH_TAG((uintptr_t)(mte_get_tag_address(ptr + i))); in check_child_tag_inheritance()
H A Dmte_def.h51 #define MT_FETCH_TAG(x) ((x >> MT_TAG_SHIFT) & (MT_TAG_MASK)) macro
H A Dcheck_hugetlb_options.c99 parent_tag = MT_FETCH_TAG((uintptr_t)ptr); in check_child_tag_inheritance()
116 child_tag = MT_FETCH_TAG((uintptr_t)(mte_get_tag_address(ptr + i))); in check_child_tag_inheritance()
H A Dcheck_buffer_fill.c327 MT_FETCH_TAG((uintptr_t)src) ? true : false); in check_buffer_by_block_iterate()
329 MT_FETCH_TAG((uintptr_t)dst) ? true : false); in check_buffer_by_block_iterate()
356 new_tag = MT_FETCH_TAG((uintptr_t)(mte_get_tag_address(ptr + i))); in compare_memory_tags()
H A Dmte_common_util.c45 si_tag = MT_FETCH_TAG(addr); in mte_default_handler()