Searched refs:inode_newsize_ok (Results 1 – 24 of 24) sorted by relevance
/linux/fs/ |
H A D | attr.c | 172 int error = inode_newsize_ok(inode, attr->ia_size); in setattr_prepare() 229 * inode_newsize_ok - may this inode be truncated to a given size 233 * inode_newsize_ok must be called with i_rwsem held exclusively. 235 * inode_newsize_ok will check filesystem limits and ulimits to check that the 236 * new inode size is within limits. inode_newsize_ok will also send SIGXFSZ 239 * permissions to allow truncate (inode_newsize_ok does NOT check these 244 int inode_newsize_ok(const struct inode *inode, loff_t offset) in inode_newsize_ok() function 272 EXPORT_SYMBOL(inode_newsize_ok);
|
H A D | buffer.c | 2481 err = inode_newsize_ok(inode, size); in generic_cont_expand_simple()
|
/linux/fs/minix/ |
H A D | file.c | 37 error = inode_newsize_ok(inode, attr->ia_size); in minix_setattr()
|
/linux/fs/jfs/ |
H A D | file.c | 117 rc = inode_newsize_ok(inode, iattr->ia_size); in jfs_setattr()
|
/linux/fs/ramfs/ |
H A D | file-nommu.c | 76 ret = inode_newsize_ok(inode, newsize); in ramfs_nommu_expand_for_mapping()
|
/linux/fs/nfs/ |
H A D | nfs4file.c | 237 ret = inode_newsize_ok(inode, offset + len); in nfs42_fallocate()
|
H A D | inode.c | 730 error = inode_newsize_ok(inode, attr->ia_size); in nfs_setattr() 803 err = inode_newsize_ok(inode, offset); in nfs_vmtruncate()
|
/linux/fs/hpfs/ |
H A D | inode.c | 284 error = inode_newsize_ok(inode, attr->ia_size); in hpfs_setattr()
|
/linux/fs/affs/ |
H A D | inode.c | 242 error = inode_newsize_ok(inode, attr->ia_size); in affs_notify_change()
|
/linux/fs/ntfs3/ |
H A D | file.c | 623 err = inode_newsize_ok(inode, new_size); in ntfs_fallocate() 664 err = inode_newsize_ok(inode, new_size); in ntfs_fallocate()
|
/linux/fs/exfat/ |
H A D | file.c | 28 ret = inode_newsize_ok(inode, size); in exfat_cont_expand()
|
/linux/fs/afs/ |
H A D | inode.c | 864 ret = inode_newsize_ok(inode, attr->ia_size); in afs_setattr()
|
/linux/fs/ecryptfs/ |
H A D | inode.c | 843 * not be appropriate to call inode_newsize_ok() with inodes in ecryptfs_inode_newsize_ok() 846 return inode_newsize_ok(inode, lower_newsize); in ecryptfs_inode_newsize_ok()
|
/linux/fs/bcachefs/ |
H A D | fs-io.c | 771 ret = inode_newsize_ok(&inode->v, end); in bchfs_fallocate()
|
/linux/fs/hugetlbfs/ |
H A D | inode.c | 757 error = inode_newsize_ok(inode, offset + len); in hugetlbfs_fallocate()
|
/linux/fs/gfs2/ |
H A D | file.c | 1391 ret = inode_newsize_ok(inode, offset + len); in gfs2_fallocate()
|
H A D | bmap.c | 2142 ret = inode_newsize_ok(inode, newsize); in gfs2_setattr_size()
|
/linux/fs/xfs/ |
H A D | xfs_file.c | 1164 return inode_newsize_ok(inode, *new_size); in xfs_falloc_newsize()
|
/linux/include/linux/ |
H A D | fs.h | 3755 extern int inode_newsize_ok(const struct inode *, loff_t offset);
|
/linux/fs/fuse/ |
H A D | file.c | 2895 err = inode_newsize_ok(inode, offset + length); in fuse_file_fallocate()
|
/linux/fs/ceph/ |
H A D | file.c | 2795 * - destination file size is not OK (inode_newsize_ok()) 2819 if (inode_newsize_ok(dst_inode, endoff)) in is_file_size_ok()
|
/linux/fs/btrfs/ |
H A D | file.c | 3125 ret = inode_newsize_ok(inode, offset + len); in btrfs_fallocate()
|
/linux/mm/ |
H A D | shmem.c | 3761 error = inode_newsize_ok(inode, offset + len); in shmem_fallocate()
|
/linux/fs/smb/client/ |
H A D | smb2ops.c | 3539 rc = inode_newsize_ok(inode, off + len); in smb3_simple_falloc()
|