Lines Matching +full:3 +full:d
30 zassert_equal(status, -EINVAL, "Routine returned %d instead of %d", in ZTEST()
34 zassert_equal(status, -EINVAL, "Routine returned %d instead of %d", in ZTEST()
43 zassert_equal(status, -EINVAL, "Routine returned %d instead of %d", in ZTEST()
51 void *blocks[3]; 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()
74 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST()
76 zassert_equal(stats.free_bytes, BLK_SZ * (NUM_BLOCKS - 3), in ZTEST()
78 BLK_SZ * (NUM_BLOCKS - 3), stats.free_bytes); in ZTEST()
79 zassert_equal(stats.allocated_bytes, 3 * BLK_SZ, in ZTEST()
81 3 * BLK_SZ, stats.allocated_bytes); in ZTEST()
82 zassert_equal(stats.max_allocated_bytes, 3 * BLK_SZ, in ZTEST()
84 3 * BLK_SZ, stats.max_allocated_bytes); in ZTEST()
89 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST()
92 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST()
100 zassert_equal(stats.max_allocated_bytes, 3 * BLK_SZ, in ZTEST()
102 3 * BLK_SZ, stats.max_allocated_bytes); in ZTEST()
104 /* Allocate 1 block and verify the max is still at 3 */ in ZTEST()
107 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST()
110 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST()
118 zassert_equal(stats.max_allocated_bytes, 3 * BLK_SZ, in ZTEST()
120 3 * BLK_SZ, stats.max_allocated_bytes); in ZTEST()
126 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST()
129 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST()
144 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST()
147 zassert_equal(status, 0, "Routine failed with status %d\n", status); in ZTEST()