Home
last modified time | relevance | path

Searched refs:ATTR_SIZE (Results 1 – 25 of 80) sorted by relevance

1234

/Linux-v5.15/fs/ecryptfs/
Dinode.c735 lower_ia->ia_valid &= ~ATTR_SIZE; in truncate_upper()
746 lower_ia->ia_valid &= ~ATTR_SIZE; in truncate_upper()
764 lower_ia->ia_valid |= ATTR_SIZE; in truncate_upper()
801 lower_ia->ia_valid |= ATTR_SIZE; in truncate_upper()
803 lower_ia->ia_valid &= ~ATTR_SIZE; in truncate_upper()
844 struct iattr ia = { .ia_valid = ATTR_SIZE, .ia_size = new_length }; in ecryptfs_truncate()
853 if (!rc && lower_ia.ia_valid & ATTR_SIZE) { in ecryptfs_truncate()
943 if (ia->ia_valid & ATTR_SIZE) { in ecryptfs_setattr()
952 if (ia->ia_valid & ATTR_SIZE) { in ecryptfs_setattr()
/Linux-v5.15/fs/exfat/
Dfile.c295 if ((attr->ia_valid & ATTR_SIZE) && in exfat_setattr()
298 if (error || attr->ia_valid == ATTR_SIZE) in exfat_setattr()
300 attr->ia_valid &= ~ATTR_SIZE; in exfat_setattr()
335 if (attr->ia_valid & ATTR_SIZE) { in exfat_setattr()
/Linux-v5.15/fs/jffs2/
Dfs.c115 ri->isize = cpu_to_je32((ivalid & ATTR_SIZE)?iattr->ia_size:inode->i_size); in jffs2_do_setattr()
123 if (ivalid & ATTR_SIZE && inode->i_size < iattr->ia_size) { in jffs2_do_setattr()
128 } else if (ivalid & ATTR_SIZE && !iattr->ia_size) { in jffs2_do_setattr()
160 if (ivalid & ATTR_SIZE && inode->i_size > iattr->ia_size) in jffs2_do_setattr()
163 if (ivalid & ATTR_SIZE && inode->i_size < iattr->ia_size) { in jffs2_do_setattr()
185 if (ivalid & ATTR_SIZE && inode->i_size > iattr->ia_size) { in jffs2_do_setattr()
/Linux-v5.15/fs/ramfs/
Dfile-nommu.c174 if (ia->ia_valid & ATTR_SIZE) { in ramfs_nommu_setattr()
179 if (ret < 0 || ia->ia_valid == ATTR_SIZE) in ramfs_nommu_setattr()
/Linux-v5.15/fs/minix/
Dfile.c35 if ((attr->ia_valid & ATTR_SIZE) && in minix_setattr()
/Linux-v5.15/fs/sysv/
Dfile.c42 if ((attr->ia_valid & ATTR_SIZE) && in sysv_setattr()
/Linux-v5.15/fs/fat/
Dfile.c499 if (attr->ia_valid & ATTR_SIZE) { in fat_setattr()
504 if (error || attr->ia_valid == ATTR_SIZE) in fat_setattr()
506 attr->ia_valid &= ~ATTR_SIZE; in fat_setattr()
533 if (attr->ia_valid & ATTR_SIZE) { in fat_setattr()
/Linux-v5.15/fs/afs/
Dinode.c818 if (op->setattr.attr->ia_valid & ATTR_SIZE) { in afs_setattr_success()
830 if (op->setattr.attr->ia_valid & ATTR_SIZE) { in afs_setattr_edit_file()
860 if (!(attr->ia_valid & (ATTR_SIZE | ATTR_MODE | ATTR_UID | ATTR_GID | in afs_setattr()
867 if (attr->ia_valid & ATTR_SIZE) { in afs_setattr()
876 attr->ia_valid &= ~ATTR_SIZE; in afs_setattr()
897 if (attr->ia_valid & ATTR_SIZE) { in afs_setattr()
/Linux-v5.15/fs/nfsd/
Dnfsproc.c336 attr->ia_valid |= ATTR_SIZE; in nfsd_proc_create()
372 } else if (type == S_IFCHR && !(attr->ia_valid & ATTR_SIZE)) { in nfsd_proc_create()
382 attr->ia_valid &= ~ATTR_SIZE; in nfsd_proc_create()
403 attr->ia_valid &= ATTR_SIZE; in nfsd_proc_create()
528 argp->attrs.ia_valid &= ~ATTR_SIZE; in nfsd_proc_mkdir()
Dvfs.c361 bool size_change = (iap->ia_valid & ATTR_SIZE); in nfsd_setattr()
363 if (iap->ia_valid & ATTR_SIZE) { in nfsd_setattr()
432 .ia_valid = ATTR_SIZE | ATTR_CTIME | ATTR_MTIME, in nfsd_setattr()
439 iap->ia_valid &= ~ATTR_SIZE; in nfsd_setattr()
1198 if ((iap->ia_valid & ATTR_SIZE) && (iap->ia_size == 0)) in nfsd_check_ignore_resizing()
1199 iap->ia_valid &= ~ATTR_SIZE; in nfsd_check_ignore_resizing()
1437 *truncp = (iap->ia_valid & ATTR_SIZE) && !iap->ia_size; in do_nfsd_create()
1440 iap->ia_valid &= ATTR_SIZE; in do_nfsd_create()
/Linux-v5.15/fs/adfs/
Dinode.c318 if (ia_valid & ATTR_SIZE) in adfs_notify_change()
343 if (ia_valid & (ATTR_SIZE | ATTR_MTIME | ATTR_MODE)) in adfs_notify_change()
/Linux-v5.15/fs/jfs/
Dfile.c110 if ((iattr->ia_valid & ATTR_SIZE) && in jfs_setattr()
/Linux-v5.15/fs/hpfs/
Dinode.c275 if ((attr->ia_valid & ATTR_SIZE) && attr->ia_size > inode->i_size) in hpfs_setattr()
282 if ((attr->ia_valid & ATTR_SIZE) && in hpfs_setattr()
/Linux-v5.15/fs/coda/
Dcoda_linux.c193 if ( valid & ATTR_SIZE ) { in coda_iattr_to_vattr()
/Linux-v5.15/fs/cachefiles/
Dinterface.c471 newattrs.ia_valid = ATTR_SIZE; in cachefiles_attr_changed()
478 newattrs.ia_valid = ATTR_SIZE; in cachefiles_attr_changed()
/Linux-v5.15/fs/vboxsf/
Dutils.c274 if (iattr->ia_valid & ATTR_SIZE) in vboxsf_setattr()
333 if (iattr->ia_valid & ATTR_SIZE) { in vboxsf_setattr()
/Linux-v5.15/fs/ubifs/
Dfile.c1227 if (attr->ia_valid & ATTR_SIZE) { in do_setattr()
1233 if (attr->ia_valid & ATTR_SIZE) { in do_setattr()
1243 if (attr->ia_valid & ATTR_SIZE) in do_setattr()
1281 if ((attr->ia_valid & ATTR_SIZE) && attr->ia_size < inode->i_size) in ubifs_setattr()
/Linux-v5.15/fs/hostfs/
Dhostfs_kern.c806 attr->ia_valid &= ~ATTR_SIZE; in hostfs_setattr()
821 if (attr->ia_valid & ATTR_SIZE) { in hostfs_setattr()
854 if ((attr->ia_valid & ATTR_SIZE) && in hostfs_setattr()
/Linux-v5.15/include/linux/
Dfsnotify.h311 if (ia_valid & ATTR_SIZE) in fsnotify_change()
/Linux-v5.15/fs/xfs/
Dxfs_pnfs.c239 if ((iattr->ia_valid & ATTR_SIZE) && iattr->ia_size > size) { in xfs_fs_commit_blocks()
Dxfs_iops.c707 ASSERT((mask & ATTR_SIZE) == 0); in xfs_setattr_nonsize()
886 iattr->ia_valid &= ~ATTR_SIZE; in xfs_setattr_size()
1081 if (iattr->ia_valid & ATTR_SIZE) { in xfs_vn_setattr()
/Linux-v5.15/fs/crypto/
Dhooks.c124 if (attr->ia_valid & ATTR_SIZE) in __fscrypt_prepare_setattr()
/Linux-v5.15/fs/udf/
Dfile.c277 if ((attr->ia_valid & ATTR_SIZE) && in udf_setattr()
/Linux-v5.15/fs/
Dattr.c106 if (ia_valid & ATTR_SIZE) { in setattr_prepare()
/Linux-v5.15/fs/fuse/
Ddir.c1415 if ((ivalid & ATTR_SIZE) && (ivalid & (ATTR_OPEN | ATTR_FILE))) in update_mtime()
1433 if (ivalid & ATTR_SIZE) in iattr_to_fattr()
1577 if (attr->ia_valid & ATTR_SIZE) { in fuse_do_setattr()
1595 WARN_ON(!(attr->ia_valid & ATTR_SIZE)); in fuse_do_setattr()
1644 if (attr->ia_valid & ATTR_SIZE) { in fuse_do_setattr()

1234