Searched refs:inode_newsize_ok (Results 1 - 28 of 28) sorted by relevance

/linux-4.4.14/fs/minix/
H A Dfile.c35 error = inode_newsize_ok(inode, attr->ia_size); minix_setattr()
/linux-4.4.14/fs/
H A Dattr.c40 int error = inode_newsize_ok(inode, attr->ia_size); inode_change_ok()
85 * inode_newsize_ok - may this inode be truncated to a given size
90 * inode_newsize_ok must be called with i_mutex held.
92 * inode_newsize_ok will check filesystem limits and ulimits to check that the
93 * new inode size is within limits. inode_newsize_ok will also send SIGXFSZ
96 * permissions to allow truncate (inode_newsize_ok does NOT check these
99 int inode_newsize_ok(const struct inode *inode, loff_t offset) inode_newsize_ok() function
125 EXPORT_SYMBOL(inode_newsize_ok); variable
H A Dbuffer.c2279 err = inode_newsize_ok(inode, size); generic_cont_expand_simple()
/linux-4.4.14/fs/sysv/
H A Dfile.c42 error = inode_newsize_ok(inode, attr->ia_size); sysv_setattr()
/linux-4.4.14/fs/jfs/
H A Dfile.c126 rc = inode_newsize_ok(inode, iattr->ia_size); jfs_setattr()
/linux-4.4.14/fs/hpfs/
H A Dinode.c281 error = inode_newsize_ok(inode, attr->ia_size); hpfs_setattr()
/linux-4.4.14/fs/nfs/
H A Dnfs4file.c189 ret = inode_newsize_ok(inode, offset + len); nfs42_fallocate()
H A Dinode.c518 error = inode_newsize_ok(inode, attr->ia_size); nfs_setattr()
572 err = inode_newsize_ok(inode, offset); nfs_vmtruncate()
/linux-4.4.14/fs/omfs/
H A Dfile.c358 error = inode_newsize_ok(inode, attr->ia_size); omfs_setattr()
/linux-4.4.14/fs/ramfs/
H A Dfile-nommu.c80 ret = inode_newsize_ok(inode, newsize); ramfs_nommu_expand_for_mapping()
/linux-4.4.14/fs/affs/
H A Dinode.c239 error = inode_newsize_ok(inode, attr->ia_size); affs_notify_change()
/linux-4.4.14/fs/overlayfs/
H A Dinode.c51 * inode_newsize_ok() will always check against MAX_LFS_FILESIZE and not ovl_setattr()
/linux-4.4.14/fs/ecryptfs/
H A Dinode.c833 * not be appropriate to call inode_newsize_ok() with inodes ecryptfs_inode_newsize_ok()
836 return inode_newsize_ok(inode, lower_newsize); ecryptfs_inode_newsize_ok()
/linux-4.4.14/fs/hfs/
H A Dinode.c636 error = inode_newsize_ok(inode, attr->ia_size); hfs_inode_setattr()
/linux-4.4.14/fs/f2fs/
H A Dfile.c990 ret = inode_newsize_ok(inode, (len + offset)); f2fs_zero_range()
1159 ret = inode_newsize_ok(inode, (len + offset)); expand_inode_data()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
H A Dvvp_io.c392 result = inode_newsize_ok(inode, size); vvp_do_vmtruncate()
H A Dllite_lib.c1219 rc = inode_newsize_ok(inode, attr->ia_size); ll_setattr_raw()
/linux-4.4.14/fs/gfs2/
H A Dfile.c932 ret = inode_newsize_ok(inode, offset + len); gfs2_fallocate()
H A Dbmap.c1290 ret = inode_newsize_ok(inode, newsize); gfs2_setattr_size()
/linux-4.4.14/fs/hugetlbfs/
H A Dinode.c572 error = inode_newsize_ok(inode, offset + len); hugetlbfs_fallocate()
/linux-4.4.14/fs/logfs/
H A Dreadwrite.c1891 err = inode_newsize_ok(inode, target); logfs_truncate()
/linux-4.4.14/fs/ocfs2/
H A Dfile.c1185 status = inode_newsize_ok(inode, attr->ia_size); ocfs2_setattr()
/linux-4.4.14/fs/xfs/
H A Dxfs_file.c998 error = inode_newsize_ok(inode, new_size); xfs_file_fallocate()
/linux-4.4.14/fs/reiserfs/
H A Dinode.c3300 if ((end > isize) && inode_newsize_ok(inode, isize) == 0) { reiserfs_direct_IO()
3426 error = inode_newsize_ok(inode, attr->ia_size); reiserfs_setattr()
/linux-4.4.14/mm/
H A Dshmem.c2114 error = inode_newsize_ok(inode, offset + len); shmem_fallocate()
/linux-4.4.14/fs/btrfs/
H A Dfile.c2664 ret = inode_newsize_ok(inode, alloc_end); btrfs_fallocate()
/linux-4.4.14/fs/ext4/
H A Dextents.c4815 ret = inode_newsize_ok(inode, new_size); ext4_zero_range()
4989 ret = inode_newsize_ok(inode, new_size); ext4_fallocate()
/linux-4.4.14/include/linux/
H A Dfs.h2855 extern int inode_newsize_ok(const struct inode *, loff_t offset);

Completed in 1096 milliseconds