Lines Matching refs:ret

16 	int ret;  in ZTEST()  local
28 ret = sys_cache_instr_flush_all(); in ZTEST()
29 zassert_true((ret == 0) || (ret == -ENOTSUP)); in ZTEST()
31 ret = sys_cache_instr_invd_all(); in ZTEST()
32 zassert_true((ret == 0) || (ret == -ENOTSUP)); in ZTEST()
34 ret = sys_cache_instr_flush_and_invd_all(); in ZTEST()
35 zassert_true((ret == 0) || (ret == -ENOTSUP)); in ZTEST()
37 ret = sys_cache_instr_flush_range(user_buffer, SIZE); in ZTEST()
38 zassert_true((ret == 0) || (ret == -ENOTSUP)); in ZTEST()
40 ret = sys_cache_instr_invd_range(user_buffer, SIZE); in ZTEST()
41 zassert_true((ret == 0) || (ret == -ENOTSUP)); in ZTEST()
43 ret = sys_cache_instr_flush_and_invd_range(user_buffer, SIZE); in ZTEST()
44 zassert_true((ret == 0) || (ret == -ENOTSUP)); in ZTEST()
49 int ret; in ZTEST() local
51 ret = sys_cache_data_flush_all(); in ZTEST()
52 zassert_true((ret == 0) || (ret == -ENOTSUP)); in ZTEST()
54 ret = sys_cache_data_flush_and_invd_all(); in ZTEST()
55 zassert_true((ret == 0) || (ret == -ENOTSUP)); in ZTEST()
57 ret = sys_cache_data_flush_range(user_buffer, SIZE); in ZTEST()
58 zassert_true((ret == 0) || (ret == -ENOTSUP)); in ZTEST()
60 ret = sys_cache_data_invd_range(user_buffer, SIZE); in ZTEST()
61 zassert_true((ret == 0) || (ret == -ENOTSUP)); in ZTEST()
63 ret = sys_cache_data_flush_and_invd_range(user_buffer, SIZE); in ZTEST()
64 zassert_true((ret == 0) || (ret == -ENOTSUP)); in ZTEST()
70 int ret; in ZTEST_USER() local
72 ret = sys_cache_data_flush_range(user_buffer, SIZE); in ZTEST_USER()
73 zassert_true((ret == 0) || (ret == -ENOTSUP)); in ZTEST_USER()
75 ret = sys_cache_data_invd_range(user_buffer, SIZE); in ZTEST_USER()
76 zassert_true((ret == 0) || (ret == -ENOTSUP)); in ZTEST_USER()
78 ret = sys_cache_data_flush_and_invd_range(user_buffer, SIZE); in ZTEST_USER()
79 zassert_true((ret == 0) || (ret == -ENOTSUP)); in ZTEST_USER()