Searched refs:trunc_len (Results 1 – 2 of 2) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/truncate/ |
D | truncate02.c | 35 off_t trunc_len; member 53 TEST(truncate(TESTFILE, tc->trunc_len)); in verify_truncate() 56 TESTFILE, tc->trunc_len); in verify_truncate() 63 TESTFILE, tc->trunc_len, TST_RET); in verify_truncate() 68 if (stat_buf.st_size != tc->trunc_len) { in verify_truncate() 70 TESTFILE, stat_buf.st_size, tc->trunc_len); in verify_truncate() 76 TESTFILE, tc->trunc_len); in verify_truncate() 90 TESTFILE, tc->trunc_len); in verify_truncate()
|
/third_party/ltp/testcases/kernel/syscalls/ftruncate/ |
D | ftruncate01.c | 31 static void check_and_report(off_t offset, char data, off_t trunc_len) in check_and_report() argument 42 if (file_length != trunc_len) { in check_and_report()
|