Searched refs:TRUNC_LEN1 (Results 1 – 2 of 2) sorted by relevance
/external/ltp/testcases/kernel/syscalls/ftruncate/ |
D | ftruncate01.c | 25 #define TRUNC_LEN1 256 macro 51 for (i = 0; i < TRUNC_LEN1; i++) { in check_and_report() 66 TEST(ftruncate(fd, TRUNC_LEN1)); in verify_ftruncate() 72 check_and_report(0, 'a', TRUNC_LEN1); in verify_ftruncate() 81 check_and_report(TRUNC_LEN1, 0, TRUNC_LEN2); in verify_ftruncate()
|
/external/ltp/testcases/kernel/syscalls/truncate/ |
D | truncate02.c | 85 #define TRUNC_LEN1 256 /* truncation length */ macro 119 TEST(truncate(TESTFILE, TRUNC_LEN1)); in main() 124 TESTFILE, TRUNC_LEN1, TEST_ERRNO, in main() 183 if (lseek(fd, TRUNC_LEN1, SEEK_SET) < 0) { in main() 203 if ((file_length1 != TRUNC_LEN1) || in main() 205 (read_len != TRUNC_LEN1) || in main()
|