Searched refs:i_size (Results 1 – 4 of 4) sorted by relevance
480 loff_t i_size; in shmem_is_huge() local495 i_size = round_up(i_size_read(inode), PAGE_SIZE); in shmem_is_huge()496 if (i_size >> PAGE_SHIFT >= index) in shmem_is_huge()578 if (round_up(inode->i_size, PAGE_SIZE) == in shmem_unused_huge_shrink()579 round_up(inode->i_size, HPAGE_PMD_SIZE)) { in shmem_unused_huge_shrink()609 (inode->i_size & HPAGE_PMD_MASK) >> PAGE_SHIFT); in shmem_unused_huge_shrink()861 if (!vma->vm_pgoff && vma->vm_end - vma->vm_start >= inode->i_size) in shmem_swap_usage()1101 loff_t oldsize = inode->i_size; in shmem_setattr()1144 shmem_unacct_size(info->flags, inode->i_size); in shmem_evict_inode()1145 inode->i_size = 0; in shmem_evict_inode()[all …]
182 if ((ia_valid & ATTR_SIZE) && inode->i_size) in secretmem_setattr()220 inode->i_size = 0; in secretmem_file_create()
755 loff_t oldsize = inode->i_size; in truncate_setsize()790 WARN_ON(to > inode->i_size); in pagecache_isize_extended()
134 endbyte != inode->i_size - 1) { in generic_fadvise()