Searched refs:orig_pos (Results 1 – 3 of 3) sorted by relevance
134 off_t orig_pos; in test_file_truncate() local167 orig_pos = fs_tell(&filep); in test_file_truncate()168 TC_PRINT("Original size of file = %ld\n", (long) orig_pos); in test_file_truncate()172 res = fs_truncate(&filep, orig_pos - 5); in test_file_truncate()182 if (fs_tell(&filep) != (orig_pos - 5)) { in test_file_truncate()191 orig_pos = fs_tell(&filep); in test_file_truncate()192 res = fs_truncate(&filep, orig_pos + 10); in test_file_truncate()202 if (fs_tell(&filep) != (orig_pos + 10)) { in test_file_truncate()
135 off_t orig_pos; in test_file_truncate() local179 orig_pos = fs_tell(&filep); in test_file_truncate()180 TC_PRINT("Original size of file = %ld\n", (long) orig_pos); in test_file_truncate()184 res = fs_truncate(&filep, orig_pos - 5); in test_file_truncate()200 if (fs_tell(&filep) != (orig_pos - 5)) { in test_file_truncate()215 orig_pos = fs_tell(&filep); in test_file_truncate()216 res = fs_truncate(&filep, orig_pos + 10); in test_file_truncate()232 if (fs_tell(&filep) != (orig_pos + 10)) { in test_file_truncate()
736 off_t orig_pos; in _test_file_truncate() local813 orig_pos = fs_tell(&filep); in _test_file_truncate()814 TC_PRINT("Original size of file = %d\n", (int)orig_pos); in _test_file_truncate()818 ret = fs_truncate(&filep, orig_pos - 5); in _test_file_truncate()828 if (fs_tell(&filep) != (orig_pos - 5)) { in _test_file_truncate()837 orig_pos = fs_tell(&filep); in _test_file_truncate()838 ret = fs_truncate(&filep, orig_pos + 10); in _test_file_truncate()848 if (fs_tell(&filep) != (orig_pos + 10)) { in _test_file_truncate()