Home
last modified time | relevance | path

Searched refs:trunc_len (Results 1 – 2 of 2) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/truncate/
Dtruncate02.c35 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/
Dftruncate01.c31 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()