Lines Matching refs:i_size
192 ((loff_t) index << PAGE_CACHE_SHIFT) >= inode->i_size) in shmem_swp_alloc()
221 ((loff_t) index << PAGE_CACHE_SHIFT) >= inode->i_size) { in shmem_swp_alloc()
363 index = (inode->i_size + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT; in shmem_truncate()
382 truncate_inode_pages(inode->i_mapping, inode->i_size); in shmem_truncate()
401 if (attr->ia_size < inode->i_size) { in shmem_notify_change()
447 inode->i_size = 0; in shmem_delete_inode()
896 inode->i_size = 2 * BOGO_DIRENT_SIZE; in shmem_get_inode()
964 if (pos > inode->i_size) in shmem_commit_write()
965 inode->i_size = pos; in shmem_commit_write()
1025 if (pos > inode->i_size) in shmem_file_write()
1026 inode->i_size = pos; in shmem_file_write()
1066 end_index = inode->i_size >> PAGE_CACHE_SHIFT; in do_shmem_file_read()
1070 nr = inode->i_size & ~PAGE_CACHE_MASK; in do_shmem_file_read()
1087 end_index = inode->i_size >> PAGE_CACHE_SHIFT; in do_shmem_file_read()
1089 nr = inode->i_size & ~PAGE_CACHE_MASK; in do_shmem_file_read()
1216 dir->i_size += BOGO_DIRENT_SIZE; in shmem_mknod()
1250 dir->i_size += BOGO_DIRENT_SIZE; in shmem_link()
1296 dir->i_size -= BOGO_DIRENT_SIZE; in shmem_unlink()
1335 old_dir->i_size -= BOGO_DIRENT_SIZE; in shmem_rename()
1336 new_dir->i_size += BOGO_DIRENT_SIZE; in shmem_rename()
1361 inode->i_size = len-1; in shmem_symlink()
1384 dir->i_size += BOGO_DIRENT_SIZE; in shmem_symlink()
1717 inode->i_size = size; in module_init()