Searched refs:size_by_seek (Results 1 – 2 of 2) sorted by relevance
/freebsd/tools/test/stress2/misc/ |
H A D | umountf2.sh | 390 off_t size_by_seek = lseek(fd, (off_t)0, SEEK_END); 391 if (size_by_seek == (off_t)-1) 393 else if (bufferlength > size_by_seek) { 394 …od file too short... will save 0x%llx bytes instead of 0x%llx\n", (unsigned long long)size_by_seek, 396 bufferlength = size_by_seek; 481 off_t size_by_seek; 487 size_by_seek = lseek(fd, (off_t)0, SEEK_END); 488 if (file_size != statbuf.st_size || file_size != size_by_seek) { 492 (unsigned long long)size_by_seek);
|
/freebsd/tools/regression/fsx/ |
H A D | fsx.c | 306 off_t size_by_seek = lseek(savefd, (off_t)0, SEEK_END); in save_buffer() local 307 if (size_by_seek == (off_t)-1) in save_buffer() 309 else if (bufferlength > size_by_seek) { in save_buffer() 310 …od file too short... will save 0x%llx bytes instead of 0x%llx\n", (unsigned long long)size_by_seek, in save_buffer() 312 bufferlength = size_by_seek; in save_buffer() 400 off_t size_by_seek; in check_size() local 406 size_by_seek = lseek(fd, (off_t)0, SEEK_END); in check_size() 407 if (file_size != statbuf.st_size || file_size != size_by_seek) { in check_size() 411 (unsigned long long)size_by_seek); in check_size()
|