Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/fallocate/
Dfallocate03.c101 #define BLOCKS_WRITTEN 12 macro
121 DEFAULT_MODE, BLOCKS_WRITTEN, 1, TRUE}, {
122 DEFAULT_MODE, BLOCKS_WRITTEN + HOLE_SIZE_IN_BLOCKS / 2 - 1, 1, TRUE},
124 DEFAULT_MODE, BLOCKS_WRITTEN + HOLE_SIZE_IN_BLOCKS + 1, 1, TRUE}, {
126 FALLOC_FL_KEEP_SIZE, BLOCKS_WRITTEN, 1, TRUE}, {
128 BLOCKS_WRITTEN + HOLE_SIZE_IN_BLOCKS / 2 + 1, 1, TRUE}, {
129 FALLOC_FL_KEEP_SIZE, BLOCKS_WRITTEN + HOLE_SIZE_IN_BLOCKS + 2,
172 file_seek(BLOCKS_WRITTEN + HOLE_SIZE_IN_BLOCKS); /* create holes */ in setup()
210 for (blocks = 0; blocks < BLOCKS_WRITTEN; blocks++) { in populate_file()
Dfallocate02.c44 #define BLOCKS_WRITTEN 12 macro
74 {&fdw, FNAMEW, DEFAULT_TEST_MODE, BLOCKS_WRITTEN, 0, EINVAL},
75 {&fdw, FNAMEW, DEFAULT_TEST_MODE, BLOCKS_WRITTEN, -1, EINVAL},
76 {&fdw, FNAMEW, DEFAULT_TEST_MODE, -(BLOCKS_WRITTEN+OFFSET), 1, EINVAL},
124 for (i = 0; i < BLOCKS_WRITTEN; i++) in setup()
Dfallocate01.c106 #define BLOCKS_WRITTEN 12 macro
189 for (blocks = 0; blocks < BLOCKS_WRITTEN; blocks++) { in populate_files()
210 expected_size = BLOCKS_WRITTEN * block_size + block_size; in main()
213 expected_size = BLOCKS_WRITTEN * block_size; in main()