Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/fs/exfat/
A Dfile.c252 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 Dinode.c839 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 Dinode.c737 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 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-6.3-rc2/fs/ramfs/
A 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-6.3-rc2/fs/fat/
A Dfile.c509 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 Dfile.c35 if ((attr->ia_valid & ATTR_SIZE) && in minix_setattr()
/linux-6.3-rc2/fs/sysv/
A Dfile.c42 if ((attr->ia_valid & ATTR_SIZE) && in sysv_setattr()
/linux-6.3-rc2/fs/nfsd/
A Dnfsproc.c337 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 Dvfs.c417 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 Dnfs3proc.c303 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 Dinode.c319 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 Dinterface.c137 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 Dfile.c110 if ((iattr->ia_valid & ATTR_SIZE) && in jfs_setattr()
/linux-6.3-rc2/fs/hpfs/
A 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-6.3-rc2/fs/coda/
A Dcoda_linux.c192 if ( valid & ATTR_SIZE ) { in coda_iattr_to_vattr()
/linux-6.3-rc2/fs/vboxsf/
A Dutils.c275 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 Dfile.c1234 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 Dvfs_inode_dotl.c517 { 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 Dhostfs_kern.c809 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 Dsecretmem.c175 if ((ia_valid & ATTR_SIZE) && inode->i_size) in secretmem_setattr()
/linux-6.3-rc2/fs/udf/
A Dfile.c237 if ((attr->ia_valid & ATTR_SIZE) && in udf_setattr()
/linux-6.3-rc2/fs/crypto/
A Dhooks.c122 if (attr->ia_valid & ATTR_SIZE) in __fscrypt_prepare_setattr()
/linux-6.3-rc2/fs/xfs/
A Dxfs_iops.c667 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 Dxfs_pnfs.c277 if ((iattr->ia_valid & ATTR_SIZE) && iattr->ia_size > size) { in xfs_fs_commit_blocks()

Completed in 89 milliseconds

1234