Lines Matching refs:buf_shadow
1115 #define run_helper(helper_nr, buf, buf_shadow, ptr) do { \ argument
1119 mpx_test_helper##helper_nr##_shadow(buf_shadow, ptr); \
1122 static void run_helpers(int nr, uint8_t *buf, uint8_t *buf_shadow, uint8_t *ptr) in run_helpers() argument
1129 run_helper(0, buf, buf_shadow, ptr); in run_helpers()
1132 run_helper(1, buf, buf_shadow, ptr); in run_helpers()
1135 run_helper(2, buf, buf_shadow, ptr); in run_helpers()
1138 run_helper(3, buf, buf_shadow, ptr); in run_helpers()
1141 run_helper(4, buf, buf_shadow, ptr); in run_helpers()
1144 run_helper(5, buf, buf_shadow, ptr); in run_helpers()
1153 unsigned long buf_shadow[1024]; /* used to check load / store descriptors */ variable
1419 void *buf_shadow, void *ptr) in insn_test_failed() argument
1455 memset(buf_shadow, 0, sizeof(buf_shadow)); in check_mpx_insns_and_tables()
1478 run_helpers(j, (void *)buf, (void *)buf_shadow, ptr); in check_mpx_insns_and_tables()
1481 insn_test_failed(j, i, buf, buf_shadow, ptr); in check_mpx_insns_and_tables()