/linux-4.4.14/fs/minix/ |
H A D | file.c | 35 error = inode_newsize_ok(inode, attr->ia_size); minix_setattr()
|
/linux-4.4.14/fs/ |
H A D | attr.c | 40 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 D | buffer.c | 2279 err = inode_newsize_ok(inode, size); generic_cont_expand_simple()
|
/linux-4.4.14/fs/sysv/ |
H A D | file.c | 42 error = inode_newsize_ok(inode, attr->ia_size); sysv_setattr()
|
/linux-4.4.14/fs/jfs/ |
H A D | file.c | 126 rc = inode_newsize_ok(inode, iattr->ia_size); jfs_setattr()
|
/linux-4.4.14/fs/hpfs/ |
H A D | inode.c | 281 error = inode_newsize_ok(inode, attr->ia_size); hpfs_setattr()
|
/linux-4.4.14/fs/nfs/ |
H A D | nfs4file.c | 189 ret = inode_newsize_ok(inode, offset + len); nfs42_fallocate()
|
H A D | inode.c | 518 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 D | file.c | 358 error = inode_newsize_ok(inode, attr->ia_size); omfs_setattr()
|
/linux-4.4.14/fs/ramfs/ |
H A D | file-nommu.c | 80 ret = inode_newsize_ok(inode, newsize); ramfs_nommu_expand_for_mapping()
|
/linux-4.4.14/fs/affs/ |
H A D | inode.c | 239 error = inode_newsize_ok(inode, attr->ia_size); affs_notify_change()
|
/linux-4.4.14/fs/overlayfs/ |
H A D | inode.c | 51 * inode_newsize_ok() will always check against MAX_LFS_FILESIZE and not ovl_setattr()
|
/linux-4.4.14/fs/ecryptfs/ |
H A D | inode.c | 833 * 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 D | inode.c | 636 error = inode_newsize_ok(inode, attr->ia_size); hfs_inode_setattr()
|
/linux-4.4.14/fs/f2fs/ |
H A D | file.c | 990 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 D | vvp_io.c | 392 result = inode_newsize_ok(inode, size); vvp_do_vmtruncate()
|
H A D | llite_lib.c | 1219 rc = inode_newsize_ok(inode, attr->ia_size); ll_setattr_raw()
|
/linux-4.4.14/fs/gfs2/ |
H A D | file.c | 932 ret = inode_newsize_ok(inode, offset + len); gfs2_fallocate()
|
H A D | bmap.c | 1290 ret = inode_newsize_ok(inode, newsize); gfs2_setattr_size()
|
/linux-4.4.14/fs/hugetlbfs/ |
H A D | inode.c | 572 error = inode_newsize_ok(inode, offset + len); hugetlbfs_fallocate()
|
/linux-4.4.14/fs/logfs/ |
H A D | readwrite.c | 1891 err = inode_newsize_ok(inode, target); logfs_truncate()
|
/linux-4.4.14/fs/ocfs2/ |
H A D | file.c | 1185 status = inode_newsize_ok(inode, attr->ia_size); ocfs2_setattr()
|
/linux-4.4.14/fs/xfs/ |
H A D | xfs_file.c | 998 error = inode_newsize_ok(inode, new_size); xfs_file_fallocate()
|
/linux-4.4.14/fs/reiserfs/ |
H A D | inode.c | 3300 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 D | shmem.c | 2114 error = inode_newsize_ok(inode, offset + len); shmem_fallocate()
|
/linux-4.4.14/fs/btrfs/ |
H A D | file.c | 2664 ret = inode_newsize_ok(inode, alloc_end); btrfs_fallocate()
|
/linux-4.4.14/fs/ext4/ |
H A D | extents.c | 4815 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 D | fs.h | 2855 extern int inode_newsize_ok(const struct inode *, loff_t offset);
|