Searched refs:BLK_SIZE (Results 1 – 1 of 1) sorted by relevance
54 #define BLK_SIZE 1024 in do_test_with_offset() macro55 char bwrite[BLK_SIZE] = { 0xf0 }; in do_test_with_offset()56 char bread[BLK_SIZE]; in do_test_with_offset()61 ret = fallocate (temp_fd, 0, offset, BLK_SIZE); in do_test_with_offset()75 if (finfo.st_size < (offset + BLK_SIZE)) in do_test_with_offset()77 (long long unsigned int)offset + BLK_SIZE); in do_test_with_offset()82 if (write (temp_fd, bwrite, BLK_SIZE) != BLK_SIZE) in do_test_with_offset()83 FAIL_EXIT1 ("fail trying to write " XSTR (BLK_SIZE) " bytes"); in do_test_with_offset()88 if (read (temp_fd, bread, BLK_SIZE) != BLK_SIZE) in do_test_with_offset()89 FAIL_EXIT1 ("fail trying to read " XSTR (BLK_SIZE) " bytes"); in do_test_with_offset()[all …]
Completed in 3 milliseconds