Lines Matching defs:i_size
90 /* Pretend that each entry is of this size in directory's i_size */
509 * only allocate huge pages if the page will be fully within i_size,
541 loff_t i_size;
557 i_size = round_up(i_size_read(inode), PAGE_SIZE);
558 if (i_size >> PAGE_SHIFT >= index)
640 if (round_up(inode->i_size, PAGE_SIZE) ==
641 round_up(inode->i_size, HPAGE_PMD_SIZE)) {
671 index = (inode->i_size & HPAGE_PMD_MASK) >> PAGE_SHIFT;
921 if (!vma->vm_pgoff && vma->vm_end - vma->vm_start >= inode->i_size)
955 * beyond i_size, and reports fallocated folios as holes.
969 * But read a folio back from swap if any of it is within i_size
1190 loff_t oldsize = inode->i_size;
1257 shmem_unacct_size(info->flags, inode->i_size);
1258 inode->i_size = 0;
2048 * beyond i_size on the filesystem.
2081 * Part of the large folio is beyond i_size: subject
2372 if (!user_shm_lock(inode->i_size, ucounts))
2378 user_shm_unlock(inode->i_size, ucounts);
2512 inode->i_size = 2 * BOGO_DIRENT_SIZE;
2701 if ((info->seals & F_SEAL_GROW) && pos + len > inode->i_size)
2729 if (pos + copied > inode->i_size)
2766 loff_t i_size = i_size_read(inode);
2768 end_index = i_size >> PAGE_SHIFT;
2772 nr = i_size & ~PAGE_MASK;
2799 i_size = i_size_read(inode);
2800 end_index = i_size >> PAGE_SHIFT;
2802 nr = i_size & ~PAGE_MASK;
2972 * i_size must be checked after we know the pages are Uptodate.
2974 * Checking i_size after the check allows us to calculate
3035 /* We're holding i_rwsem so we can access i_size directly */
3036 offset = mapping_seek_hole_data(mapping, offset, inode->i_size, whence);
3097 if ((info->seals & F_SEAL_GROW) && offset + len > inode->i_size) {
3122 * pages when FALLOC_FL_KEEP_SIZE committed beyond i_size.
3184 if (!(mode & FALLOC_FL_KEEP_SIZE) && offset + len > inode->i_size)
3248 dir->i_size += BOGO_DIRENT_SIZE;
3337 dir->i_size += BOGO_DIRENT_SIZE;
3358 dir->i_size -= BOGO_DIRENT_SIZE;
3451 old_dir->i_size -= BOGO_DIRENT_SIZE;
3452 new_dir->i_size += BOGO_DIRENT_SIZE;
3486 inode->i_size = len-1;
3507 dir->i_size += BOGO_DIRENT_SIZE;
4813 inode->i_size = size;