Lines Matching refs:bytes

170     ssize_t bytes;  in test_write_read_normal()  local
173 bytes = fs_read_file(handle, test_buf, 0, sizeof(test_buf)); in test_write_read_normal()
174 if (bytes != sizeof(test_buf)) { in test_write_read_normal()
184 bytes = fs_write_file(handle, test_message, 0, sizeof(test_message)); in test_write_read_normal()
185 if (bytes != sizeof(test_message)) { in test_write_read_normal()
189 bytes = fs_read_file(handle, test_buf, 0, sizeof(test_buf)); in test_write_read_normal()
190 if (bytes != sizeof(test_buf)) { in test_write_read_normal()
213 ssize_t bytes = fs_write_file(handle, test_message, 0, sizeof(test_message)); in test_write_past_eof() local
214 if (bytes != sizeof(test_message)) { in test_write_past_eof()
438 ssize_t bytes = bio_write_block(dev, block_buf, 0, 1); in test_corrupt_toc() local
444 if (bytes != (ssize_t)block_size) { in test_corrupt_toc()
485 ssize_t bytes; in test_write_with_offset() local
487 bytes = fs_write_file(handle, test_message, pos * msg_len, msg_len); in test_write_with_offset()
488 if ((size_t)bytes != msg_len) { in test_write_with_offset()
493 bytes = fs_read_file(handle, test_buf, 0, msg_len * repeats); in test_write_with_offset()
494 if ((size_t)bytes != msg_len * repeats) { in test_write_with_offset()
539 ssize_t bytes = fs_write_file(handle, wbuf, 0, buflen); in test_read_write_big() local
540 if ((size_t)bytes != buflen) { in test_read_write_big()
545 bytes = fs_read_file(handle, rbuf, 0, buflen); in test_read_write_big()
546 if ((size_t)bytes != buflen) { in test_read_write_big()