Lines Matching refs:tag
52 int tag, run, ret, result = KSFT_PASS;
59 for (tag = 0; (tag < MT_TAG_COUNT) && (result == KSFT_PASS); tag++) {
60 ret = mte_switch_mode(mode, MT_INCLUDE_VALID_TAG(tag));
63 /* Try to catch a excluded tag by a number of tries. */
66 /* Check tag value */
67 if (MT_FETCH_TAG((uintptr_t)ptr) == tag) {
68 ksft_print_msg("FAIL: wrong tag = 0x%x with include mask=0x%x\n",
70 MT_INCLUDE_VALID_TAG(tag));
84 int tag, run, result = KSFT_PASS;
92 for (tag = 0; (tag < MT_TAG_COUNT - 1) && (result == KSFT_PASS); tag++) {
93 excl_mask |= 1 << tag;
95 /* Try to catch a excluded tag by a number of tries. */
98 /* Check tag value */
99 if (MT_FETCH_TAG((uintptr_t)ptr) < tag) {
100 ksft_print_msg("FAIL: wrong tag = 0x%x with include mask=0x%x\n",
126 /* Try to catch a excluded tag by a number of tries. */
130 * Here tag byte can be between 0x0 to 0xF (full allowed range)
151 /* Try to catch a excluded tag by a number of tries. */
154 /* Here all tags exluded so tag value generated should be 0 */
156 ksft_print_msg("FAIL: included tag value found\n");
189 "Check an included tag value with sync mode\n");