Lines Matching full:blocks
15 uint32_t blocks = 0; in calculate_blocks() local
21 blocks += 12; in calculate_blocks()
22 freeb -= 12 + 1; /* direct blocks + top block of first level table */ in calculate_blocks()
25 return blocks + freeb; in calculate_blocks()
28 blocks += B; in calculate_blocks()
29 freeb -= B + 1; /* 1st level blocks + top block of second level table */ in calculate_blocks()
36 return blocks + n * B + r - partial; in calculate_blocks()
38 return blocks; in calculate_blocks()
39 /* TODO: revisit this and extend when 3rd level blocks will be possible */ in calculate_blocks()
120 zassert_equal(ret, 0, "Failed to mkfs with 2K blocks"); in writing_test()
136 TC_PRINT("Available blocks: %d\nBlock size: %d\nBytes_to_write: %d\n", in writing_test()
160 zassert_equal(ret, 0, "Failed to mkfs with 2K blocks"); in ZTEST()
177 /* First truncate will remove all blocks under first indirect block. in ZTEST()
178 * Second truncate will remove rest of blocks; in ZTEST()