Searched refs:BLOCKS_WRITTEN (Results 1 – 3 of 3) sorted by relevance
/external/ltp/testcases/kernel/syscalls/fallocate/ |
D | fallocate03.c | 102 #define BLOCKS_WRITTEN 12 macro 122 DEFAULT_MODE, BLOCKS_WRITTEN, 1, TRUE}, { 123 DEFAULT_MODE, BLOCKS_WRITTEN + HOLE_SIZE_IN_BLOCKS / 2 - 1, 1, TRUE}, 125 DEFAULT_MODE, BLOCKS_WRITTEN + HOLE_SIZE_IN_BLOCKS + 1, 1, TRUE}, { 127 FALLOC_FL_KEEP_SIZE, BLOCKS_WRITTEN, 1, TRUE}, { 129 BLOCKS_WRITTEN + HOLE_SIZE_IN_BLOCKS / 2 + 1, 1, TRUE}, { 130 FALLOC_FL_KEEP_SIZE, BLOCKS_WRITTEN + HOLE_SIZE_IN_BLOCKS + 2, 171 file_seek(BLOCKS_WRITTEN + HOLE_SIZE_IN_BLOCKS); /* create holes */ in setup() 209 for (blocks = 0; blocks < BLOCKS_WRITTEN; blocks++) { in populate_file()
|
D | fallocate02.c | 45 #define BLOCKS_WRITTEN 12 macro 75 {&fdw, FNAMEW, DEFAULT_TEST_MODE, BLOCKS_WRITTEN, 0, EINVAL}, 76 {&fdw, FNAMEW, DEFAULT_TEST_MODE, BLOCKS_WRITTEN, -1, EINVAL}, 77 {&fdw, FNAMEW, DEFAULT_TEST_MODE, -(BLOCKS_WRITTEN+OFFSET), 1, EINVAL}, 125 for (i = 0; i < BLOCKS_WRITTEN; i++) in setup()
|
D | fallocate01.c | 107 #define BLOCKS_WRITTEN 12 macro 184 for (blocks = 0; blocks < BLOCKS_WRITTEN; blocks++) { in populate_files() 205 expected_size = BLOCKS_WRITTEN * block_size + block_size; in main() 208 expected_size = BLOCKS_WRITTEN * block_size; in main()
|