Home
last modified time | relevance | path

Searched refs:is_valid_block (Results 1 – 1 of 1) sorted by relevance

/lk-master/lib/bio/
A Ddebug.c275 static bool is_valid_block(bdev_t *device, bnum_t block_num, uint8_t *pattern, in is_valid_block() function
312 if (!is_valid_block(device, bnum, &device->erase_byte, sizeof(device->erase_byte))) { in erase_test()
332 if (!is_valid_block(device, block_addr, valid_byte, 1)) { in test_erase_block()
342 if (is_valid_block(device, block_addr, valid_byte, 1)) { in test_erase_block()
385 if (!is_valid_block(device, bnum, expected_pattern, sizeof(expected_pattern))) { in write_test()

Completed in 4 milliseconds