Lines Matching full:status
18 int status; in ZTEST() local
25 status = k_mem_slab_runtime_stats_get(NULL, &stats); in ZTEST()
26 zassert_equal(status, -EINVAL, "Routine returned %d instead of %d", in ZTEST()
27 status, -EINVAL); in ZTEST()
29 status = k_mem_slab_runtime_stats_get(&kmslab, NULL); in ZTEST()
30 zassert_equal(status, -EINVAL, "Routine returned %d instead of %d", in ZTEST()
31 status, -EINVAL); in ZTEST()
38 status = k_mem_slab_runtime_stats_reset_max(NULL); in ZTEST()
39 zassert_equal(status, -EINVAL, "Routine returned %d instead of %d", in ZTEST()
40 status, -EINVAL); in ZTEST()
46 int status; in ZTEST() local
51 status = k_mem_slab_runtime_stats_get(&kmslab, &stats); in ZTEST()
52 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST()
66 status = k_mem_slab_alloc(&kmslab, &memory[0], K_NO_WAIT); in ZTEST()
67 zassert_equal(status, 0, "Routine failed to allocate 1st block (%d)\n", in ZTEST()
68 status); in ZTEST()
69 status = k_mem_slab_alloc(&kmslab, &memory[1], K_NO_WAIT); in ZTEST()
70 zassert_equal(status, 0, "Routine failed to allocate 2nd block (%d)\n", in ZTEST()
71 status); in ZTEST()
72 status = k_mem_slab_alloc(&kmslab, &memory[2], K_NO_WAIT); in ZTEST()
73 zassert_equal(status, 0, "Routine failed to allocate 3rd block (%d)\n", in ZTEST()
74 status); in ZTEST()
75 status = k_mem_slab_runtime_stats_get(&kmslab, &stats); in ZTEST()
76 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST()
93 status = k_mem_slab_runtime_stats_get(&kmslab, &stats); in ZTEST()
94 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST()
108 status = k_mem_slab_alloc(&kmslab, &memory[1], K_NO_WAIT); in ZTEST()
109 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST()
111 status = k_mem_slab_runtime_stats_get(&kmslab, &stats); in ZTEST()
112 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST()
127 status = k_mem_slab_runtime_stats_reset_max(&kmslab); in ZTEST()
128 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST()
130 status = k_mem_slab_runtime_stats_get(&kmslab, &stats); in ZTEST()
131 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST()
148 status = k_mem_slab_runtime_stats_get(&kmslab, &stats); in ZTEST()
149 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST()