/linux-6.3-rc2/fs/exfat/ |
A D | file.c | 252 if ((attr->ia_valid & ATTR_SIZE) && in exfat_setattr() 255 if (error || attr->ia_valid == ATTR_SIZE) in exfat_setattr() 257 attr->ia_valid &= ~ATTR_SIZE; in exfat_setattr() 292 if (attr->ia_valid & ATTR_SIZE) in exfat_setattr() 298 if (attr->ia_valid & ATTR_SIZE) { in exfat_setattr()
|
/linux-6.3-rc2/fs/afs/ |
A D | inode.c | 839 if (op->setattr.attr->ia_valid & ATTR_SIZE) { in afs_setattr_success() 851 if (op->setattr.attr->ia_valid & ATTR_SIZE) { in afs_setattr_edit_file() 877 ATTR_SIZE | ATTR_MODE | ATTR_UID | ATTR_GID | in afs_setattr() 895 if (attr->ia_valid & ATTR_SIZE) { in afs_setattr() 904 attr->ia_valid &= ~ATTR_SIZE; in afs_setattr() 912 if ((attr->ia_valid & ATTR_SIZE) && S_ISREG(inode->i_mode)) { in afs_setattr() 925 if (!(attr->ia_valid & (supported & ~ATTR_SIZE & ~ATTR_MTIME)) && in afs_setattr() 948 if (attr->ia_valid & ATTR_SIZE) { in afs_setattr()
|
/linux-6.3-rc2/fs/ecryptfs/ |
A D | inode.c | 737 lower_ia->ia_valid &= ~ATTR_SIZE; in truncate_upper() 748 lower_ia->ia_valid &= ~ATTR_SIZE; in truncate_upper() 766 lower_ia->ia_valid |= ATTR_SIZE; in truncate_upper() 803 lower_ia->ia_valid |= ATTR_SIZE; in truncate_upper() 805 lower_ia->ia_valid &= ~ATTR_SIZE; in truncate_upper() 846 struct iattr ia = { .ia_valid = ATTR_SIZE, .ia_size = new_length }; in ecryptfs_truncate() 855 if (!rc && lower_ia.ia_valid & ATTR_SIZE) { in ecryptfs_truncate() 945 if (ia->ia_valid & ATTR_SIZE) { in ecryptfs_setattr() 954 if (ia->ia_valid & ATTR_SIZE) { in ecryptfs_setattr()
|
/linux-6.3-rc2/fs/jffs2/ |
A 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()
|
/linux-6.3-rc2/fs/ramfs/ |
A D | file-nommu.c | 174 if (ia->ia_valid & ATTR_SIZE) { in ramfs_nommu_setattr() 179 if (ret < 0 || ia->ia_valid == ATTR_SIZE) in ramfs_nommu_setattr()
|
/linux-6.3-rc2/fs/fat/ |
A D | file.c | 509 if (attr->ia_valid & ATTR_SIZE) { in fat_setattr() 514 if (error || attr->ia_valid == ATTR_SIZE) in fat_setattr() 516 attr->ia_valid &= ~ATTR_SIZE; in fat_setattr() 545 if (attr->ia_valid & ATTR_SIZE) { in fat_setattr()
|
/linux-6.3-rc2/fs/minix/ |
A D | file.c | 35 if ((attr->ia_valid & ATTR_SIZE) && in minix_setattr()
|
/linux-6.3-rc2/fs/sysv/ |
A D | file.c | 42 if ((attr->ia_valid & ATTR_SIZE) && in sysv_setattr()
|
/linux-6.3-rc2/fs/nfsd/ |
A D | nfsproc.c | 337 attr->ia_valid |= ATTR_SIZE; in nfsd_proc_create() 373 } else if (type == S_IFCHR && !(attr->ia_valid & ATTR_SIZE)) { in nfsd_proc_create() 383 attr->ia_valid &= ~ATTR_SIZE; in nfsd_proc_create() 403 attr->ia_valid &= ATTR_SIZE; in nfsd_proc_create() 533 argp->attrs.ia_valid &= ~ATTR_SIZE; in nfsd_proc_mkdir()
|
A D | vfs.c | 417 if (iap->ia_valid & ATTR_SIZE) { in __nfsd_setattr() 426 .ia_valid = ATTR_SIZE | ATTR_CTIME | ATTR_MTIME, in __nfsd_setattr() 436 iap->ia_valid &= ~ATTR_SIZE; in __nfsd_setattr() 482 bool size_change = (iap->ia_valid & ATTR_SIZE); in nfsd_setattr() 485 if (iap->ia_valid & ATTR_SIZE) { in nfsd_setattr() 1338 if ((iap->ia_valid & ATTR_SIZE) && (iap->ia_size == 0)) in nfsd_check_ignore_resizing() 1339 iap->ia_valid &= ~ATTR_SIZE; in nfsd_check_ignore_resizing()
|
A D | nfs3proc.c | 303 iap->ia_valid &= ATTR_SIZE; in nfsd3_create_file() 331 if ((iap->ia_valid & ATTR_SIZE) && (iap->ia_size == 0)) in nfsd3_create_file() 332 iap->ia_valid &= ~ATTR_SIZE; in nfsd3_create_file() 389 argp->attrs.ia_valid &= ~ATTR_SIZE; in nfsd3_proc_mkdir()
|
/linux-6.3-rc2/fs/adfs/ |
A D | inode.c | 319 if (ia_valid & ATTR_SIZE) in adfs_notify_change() 344 if (ia_valid & (ATTR_SIZE | ATTR_MTIME | ATTR_MODE)) in adfs_notify_change()
|
/linux-6.3-rc2/fs/cachefiles/ |
A D | interface.c | 137 newattrs.ia_valid = ATTR_SIZE; in cachefiles_adjust_size() 147 newattrs.ia_valid = ATTR_SIZE; in cachefiles_adjust_size()
|
/linux-6.3-rc2/fs/jfs/ |
A D | file.c | 110 if ((iattr->ia_valid & ATTR_SIZE) && in jfs_setattr()
|
/linux-6.3-rc2/fs/hpfs/ |
A D | inode.c | 275 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-6.3-rc2/fs/coda/ |
A D | coda_linux.c | 192 if ( valid & ATTR_SIZE ) { in coda_iattr_to_vattr()
|
/linux-6.3-rc2/fs/vboxsf/ |
A D | utils.c | 275 if (iattr->ia_valid & ATTR_SIZE) in vboxsf_setattr() 334 if (iattr->ia_valid & ATTR_SIZE) { in vboxsf_setattr()
|
/linux-6.3-rc2/fs/ubifs/ |
A D | file.c | 1234 if (attr->ia_valid & ATTR_SIZE) { in do_setattr() 1240 if (attr->ia_valid & ATTR_SIZE) { in do_setattr() 1250 if (attr->ia_valid & ATTR_SIZE) in do_setattr() 1288 if ((attr->ia_valid & ATTR_SIZE) && attr->ia_size < inode->i_size) in ubifs_setattr()
|
/linux-6.3-rc2/fs/9p/ |
A D | vfs_inode_dotl.c | 517 { ATTR_SIZE, P9_ATTR_SIZE }, in v9fs_mapped_iattr_valid() 563 if (iattr->ia_valid & ATTR_SIZE) in v9fs_vfs_setattr_dotl() 596 if ((iattr->ia_valid & ATTR_SIZE) && in v9fs_vfs_setattr_dotl()
|
/linux-6.3-rc2/fs/hostfs/ |
A D | hostfs_kern.c | 809 attr->ia_valid &= ~ATTR_SIZE; in hostfs_setattr() 824 if (attr->ia_valid & ATTR_SIZE) { in hostfs_setattr() 857 if ((attr->ia_valid & ATTR_SIZE) && in hostfs_setattr()
|
/linux-6.3-rc2/mm/ |
A D | secretmem.c | 175 if ((ia_valid & ATTR_SIZE) && inode->i_size) in secretmem_setattr()
|
/linux-6.3-rc2/fs/udf/ |
A D | file.c | 237 if ((attr->ia_valid & ATTR_SIZE) && in udf_setattr()
|
/linux-6.3-rc2/fs/crypto/ |
A D | hooks.c | 122 if (attr->ia_valid & ATTR_SIZE) in __fscrypt_prepare_setattr()
|
/linux-6.3-rc2/fs/xfs/ |
A D | xfs_iops.c | 667 ASSERT((mask & ATTR_SIZE) == 0); in xfs_setattr_nonsize() 813 iattr->ia_valid &= ~ATTR_SIZE; in xfs_setattr_size() 1004 if (iattr->ia_valid & ATTR_SIZE) { in xfs_vn_setattr()
|
A D | xfs_pnfs.c | 277 if ((iattr->ia_valid & ATTR_SIZE) && iattr->ia_size > size) { in xfs_fs_commit_blocks()
|