Lines Matching full:status
22 int status; in ZTEST() local
29 status = sys_mem_blocks_runtime_stats_get(NULL, &stats); in ZTEST()
30 zassert_equal(status, -EINVAL, "Routine returned %d instead of %d", in ZTEST()
31 status, -EINVAL); in ZTEST()
33 status = sys_mem_blocks_runtime_stats_get(&mem_block_01, NULL); in ZTEST()
34 zassert_equal(status, -EINVAL, "Routine returned %d instead of %d", in ZTEST()
35 status, -EINVAL); in ZTEST()
42 status = sys_mem_blocks_runtime_stats_reset_max(NULL); in ZTEST()
43 zassert_equal(status, -EINVAL, "Routine returned %d instead of %d", in ZTEST()
44 status, -EINVAL); in ZTEST()
50 int status; in ZTEST() local
55 status = sys_mem_blocks_runtime_stats_get(&mem_block_01, &stats); in ZTEST()
56 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST()
70 status = sys_mem_blocks_alloc(&mem_block_01, 3, blocks); in ZTEST()
71 zassert_equal(status, 0, "Routine failed to allocate 3 blocks (%d)\n", in ZTEST()
72 status); in ZTEST()
73 status = sys_mem_blocks_runtime_stats_get(&mem_block_01, &stats); in ZTEST()
74 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST()
88 status = sys_mem_blocks_free(&mem_block_01, 2, &blocks[1]); in ZTEST()
89 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST()
91 status = sys_mem_blocks_runtime_stats_get(&mem_block_01, &stats); in ZTEST()
92 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST()
106 status = sys_mem_blocks_alloc(&mem_block_01, 1, &blocks[1]); in ZTEST()
107 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST()
109 status = sys_mem_blocks_runtime_stats_get(&mem_block_01, &stats); in ZTEST()
110 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST()
125 status = sys_mem_blocks_runtime_stats_reset_max(&mem_block_01); in ZTEST()
126 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST()
128 status = sys_mem_blocks_runtime_stats_get(&mem_block_01, &stats); in ZTEST()
129 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST()
143 status = sys_mem_blocks_free(&mem_block_01, 2, &blocks[0]); in ZTEST()
144 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST()
146 status = sys_mem_blocks_runtime_stats_get(&mem_block_01, &stats); in ZTEST()
147 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST()