Home | History | Annotate | Download | only in resize

Lines Matching full:new_file_size

172 	__s64		new_file_size;
430 new_file_size = ((__u64) new_size) * fs->blocksize;
431 if ((__u64) new_file_size >
434 if ((new_file_size > st_buf.st_size) &&
436 if ((ext2fs_llseek(fd, new_file_size-1, SEEK_SET) >= 0) &&
484 if ((st_buf.st_size > new_file_size) &&
487 retval = ftruncate64(fd, new_file_size);
490 /* Only truncate if new_file_size doesn't overflow off_t */
491 if (((off_t) new_file_size) == new_file_size)
492 retval = ftruncate(fd, (off_t) new_file_size);