/kernel/linux/linux-5.10/fs/exfat/ |
D | file.c | 292 if ((attr->ia_valid & ATTR_SIZE) && in exfat_setattr() 295 if (error || attr->ia_valid == ATTR_SIZE) in exfat_setattr() 297 attr->ia_valid &= ~ATTR_SIZE; in exfat_setattr() 332 if (attr->ia_valid & ATTR_SIZE) { in exfat_setattr()
|
/kernel/linux/linux-5.10/fs/ecryptfs/ |
D | inode.c | 736 lower_ia->ia_valid &= ~ATTR_SIZE; in truncate_upper() 747 lower_ia->ia_valid &= ~ATTR_SIZE; in truncate_upper() 765 lower_ia->ia_valid |= ATTR_SIZE; in truncate_upper() 802 lower_ia->ia_valid |= ATTR_SIZE; in truncate_upper() 804 lower_ia->ia_valid &= ~ATTR_SIZE; in truncate_upper() 845 struct iattr ia = { .ia_valid = ATTR_SIZE, .ia_size = new_length }; in ecryptfs_truncate() 854 if (!rc && lower_ia.ia_valid & ATTR_SIZE) { in ecryptfs_truncate() 939 if (ia->ia_valid & ATTR_SIZE) { in ecryptfs_setattr() 948 if (ia->ia_valid & ATTR_SIZE) { in ecryptfs_setattr()
|
/kernel/linux/linux-5.10/fs/jffs2/ |
D | fs.c | 115 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()
|
/kernel/linux/linux-5.10/fs/ramfs/ |
D | file-nommu.c | 173 if (ia->ia_valid & ATTR_SIZE) { in ramfs_nommu_setattr() 178 if (ret < 0 || ia->ia_valid == ATTR_SIZE) in ramfs_nommu_setattr()
|
/kernel/linux/linux-5.10/fs/minix/ |
D | file.c | 34 if ((attr->ia_valid & ATTR_SIZE) && in minix_setattr()
|
/kernel/linux/linux-5.10/fs/sysv/ |
D | file.c | 41 if ((attr->ia_valid & ATTR_SIZE) && in sysv_setattr()
|
/kernel/linux/linux-5.10/fs/fat/ |
D | file.c | 497 if (attr->ia_valid & ATTR_SIZE) { in fat_setattr() 502 if (error || attr->ia_valid == ATTR_SIZE) in fat_setattr() 504 attr->ia_valid &= ~ATTR_SIZE; in fat_setattr() 531 if (attr->ia_valid & ATTR_SIZE) { in fat_setattr()
|
/kernel/linux/linux-5.10/fs/afs/ |
D | inode.c | 832 if (op->setattr.attr->ia_valid & ATTR_SIZE) { in afs_setattr_success() 844 if (op->setattr.attr->ia_valid & ATTR_SIZE) { in afs_setattr_edit_file() 873 if (!(attr->ia_valid & (ATTR_SIZE | ATTR_MODE | ATTR_UID | ATTR_GID | in afs_setattr() 880 if (attr->ia_valid & ATTR_SIZE) { in afs_setattr() 889 attr->ia_valid &= ~ATTR_SIZE; in afs_setattr() 910 if (attr->ia_valid & ATTR_SIZE) { in afs_setattr()
|
/kernel/linux/linux-5.10/fs/nfsd/ |
D | nfsproc.c | 329 attr->ia_valid |= ATTR_SIZE; in nfsd_proc_create() 365 } else if (type == S_IFCHR && !(attr->ia_valid & ATTR_SIZE)) { in nfsd_proc_create() 375 attr->ia_valid &= ~ATTR_SIZE; in nfsd_proc_create() 396 attr->ia_valid &= ATTR_SIZE; in nfsd_proc_create() 521 argp->attrs.ia_valid &= ~ATTR_SIZE; in nfsd_proc_mkdir()
|
D | vfs.c | 376 bool size_change = (iap->ia_valid & ATTR_SIZE); in nfsd_setattr() 378 if (iap->ia_valid & ATTR_SIZE) { in nfsd_setattr() 447 .ia_valid = ATTR_SIZE | ATTR_CTIME | ATTR_MTIME, in nfsd_setattr() 454 iap->ia_valid &= ~ATTR_SIZE; in nfsd_setattr() 1221 if ((iap->ia_valid & ATTR_SIZE) && (iap->ia_size == 0)) in nfsd_check_ignore_resizing() 1222 iap->ia_valid &= ~ATTR_SIZE; in nfsd_check_ignore_resizing() 1459 *truncp = (iap->ia_valid & ATTR_SIZE) && !iap->ia_size; in do_nfsd_create() 1462 iap->ia_valid &= ATTR_SIZE; in do_nfsd_create()
|
/kernel/linux/linux-5.10/fs/adfs/ |
D | inode.c | 316 if (ia_valid & ATTR_SIZE) in adfs_notify_change() 341 if (ia_valid & (ATTR_SIZE | ATTR_MTIME | ATTR_MODE)) in adfs_notify_change()
|
/kernel/linux/linux-5.10/fs/jfs/ |
D | file.c | 109 if ((iattr->ia_valid & ATTR_SIZE) && in jfs_setattr()
|
/kernel/linux/linux-5.10/fs/hpfs/ |
D | inode.c | 274 if ((attr->ia_valid & ATTR_SIZE) && attr->ia_size > inode->i_size) in hpfs_setattr() 281 if ((attr->ia_valid & ATTR_SIZE) && in hpfs_setattr()
|
/kernel/linux/linux-5.10/fs/coda/ |
D | coda_linux.c | 193 if ( valid & ATTR_SIZE ) { in coda_iattr_to_vattr()
|
/kernel/linux/linux-5.10/fs/vboxsf/ |
D | utils.c | 255 if (iattr->ia_valid & ATTR_SIZE) in vboxsf_setattr() 314 if (iattr->ia_valid & ATTR_SIZE) { in vboxsf_setattr()
|
/kernel/linux/linux-5.10/fs/cachefiles/ |
D | interface.c | 471 newattrs.ia_valid = ATTR_SIZE; in cachefiles_attr_changed() 478 newattrs.ia_valid = ATTR_SIZE; in cachefiles_attr_changed()
|
/kernel/linux/linux-5.10/fs/ubifs/ |
D | file.c | 1227 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() 1280 if ((attr->ia_valid & ATTR_SIZE) && attr->ia_size < inode->i_size) in ubifs_setattr()
|
/kernel/linux/linux-5.10/fs/9p/ |
D | vfs_inode_dotl.c | 519 { ATTR_SIZE, P9_ATTR_SIZE }, in v9fs_mapped_iattr_valid() 563 if (iattr->ia_valid & ATTR_SIZE) in v9fs_vfs_setattr_dotl() 591 if ((iattr->ia_valid & ATTR_SIZE) && in v9fs_vfs_setattr_dotl()
|
/kernel/linux/linux-5.10/fs/hostfs/ |
D | hostfs_kern.c | 799 attr->ia_valid &= ~ATTR_SIZE; in hostfs_setattr() 814 if (attr->ia_valid & ATTR_SIZE) { in hostfs_setattr() 847 if ((attr->ia_valid & ATTR_SIZE) && in hostfs_setattr()
|
/kernel/linux/linux-5.10/include/linux/ |
D | fsnotify.h | 338 if (ia_valid & ATTR_SIZE) in fsnotify_change()
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_pnfs.c | 239 if ((iattr->ia_valid & ATTR_SIZE) && iattr->ia_size > size) { in xfs_fs_commit_blocks()
|
/kernel/linux/linux-5.10/fs/ |
D | attr.c | 70 if (ia_valid & ATTR_SIZE) { in setattr_prepare()
|
/kernel/linux/linux-5.10/fs/udf/ |
D | file.c | 275 if ((attr->ia_valid & ATTR_SIZE) && in udf_setattr()
|
/kernel/linux/linux-5.10/fs/verity/ |
D | open.c | 331 if (IS_VERITY(d_inode(dentry)) && (attr->ia_valid & ATTR_SIZE)) { in fsverity_prepare_setattr()
|
/kernel/linux/linux-5.10/fs/fuse/ |
D | dir.c | 1474 if ((ivalid & ATTR_SIZE) && (ivalid & (ATTR_OPEN | ATTR_FILE))) in update_mtime() 1492 if (ivalid & ATTR_SIZE) in iattr_to_fattr() 1635 if (attr->ia_valid & ATTR_SIZE) { in fuse_do_setattr() 1653 WARN_ON(!(attr->ia_valid & ATTR_SIZE)); in fuse_do_setattr() 1696 if (attr->ia_valid & ATTR_SIZE) { in fuse_do_setattr()
|