Home
last modified time | relevance | path

Searched refs:MT_CLEAR_TAG (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/tools/testing/selftests/arm64/mte/
Dmte_common_util.c50 addr >= MT_CLEAR_TAG(cur_mte_cxt.trig_addr) && in mte_default_handler()
51 addr <= (MT_CLEAR_TAG(cur_mte_cxt.trig_addr) + cur_mte_cxt.trig_range)) || in mte_default_handler()
53 addr <= MT_CLEAR_TAG(cur_mte_cxt.trig_addr) && in mte_default_handler()
54 addr >= (MT_CLEAR_TAG(cur_mte_cxt.trig_addr) + cur_mte_cxt.trig_range)))) { in mte_default_handler()
70 addr >= MT_CLEAR_TAG(cur_mte_cxt.trig_addr) && in mte_default_handler()
71 addr <= (MT_CLEAR_TAG(cur_mte_cxt.trig_addr) + cur_mte_cxt.trig_range)) || in mte_default_handler()
73 addr <= MT_CLEAR_TAG(cur_mte_cxt.trig_addr) && in mte_default_handler()
74 addr >= (MT_CLEAR_TAG(cur_mte_cxt.trig_addr) + cur_mte_cxt.trig_range))) { in mte_default_handler()
119 ptr = (void *)MT_CLEAR_TAG((unsigned long)ptr); in mte_clear_tags()
Dcheck_buffer_fill.c109 und_ptr = (char *) MT_CLEAR_TAG((size_t) ptr - underflow_range); in check_buffer_underflow_by_byte()
127 und_ptr = (char *) MT_CLEAR_TAG((size_t) ptr); in check_buffer_underflow_by_byte()
142 und_ptr = (char *) MT_CLEAR_TAG((size_t) ptr); in check_buffer_underflow_by_byte()
210 over_ptr = (char *) MT_CLEAR_TAG((size_t) ptr + tagged_size); in check_buffer_overflow_by_byte()
228 over_ptr = (char *) MT_CLEAR_TAG((size_t) ptr); in check_buffer_overflow_by_byte()
243 over_ptr = (char *) MT_CLEAR_TAG((size_t) ptr + tagged_size); in check_buffer_overflow_by_byte()
Dmte_def.h47 #define MT_CLEAR_TAG(x) ((x) & ~(MT_TAG_MASK << MT_TAG_SHIFT)) macro