Lines Matching refs:new_file_size
181 __s64 new_file_size;
420 new_file_size = ((__u64) new_size) * fs->blocksize;
421 if ((__u64) new_file_size >
424 if ((new_file_size > st_buf.st_size) &&
426 if ((ext2fs_llseek(fd, new_file_size-1, SEEK_SET) >= 0) &&
476 if ((st_buf.st_size > new_file_size) &&
479 retval = ftruncate64(fd, new_file_size);
482 /* Only truncate if new_file_size doesn't overflow off_t */
483 if (((off_t) new_file_size) == new_file_size)
484 retval = ftruncate(fd, (off_t) new_file_size);