Searched refs:ATTR_SIZE (Results 1 – 25 of 49) sorted by relevance
12
70 if (ia_valid & ATTR_SIZE && in inode_setattr()166 if (ia_valid & ATTR_SIZE) in notify_change()182 if (ia_valid & ATTR_SIZE) in notify_change()
106 ri->isize = cpu_to_je32((ivalid & ATTR_SIZE)?iattr->ia_size:inode->i_size); in jffs2_do_setattr()114 if (ivalid & ATTR_SIZE && inode->i_size < iattr->ia_size) { in jffs2_do_setattr()119 } else if (ivalid & ATTR_SIZE && !iattr->ia_size) { in jffs2_do_setattr()151 if (ivalid & ATTR_SIZE && inode->i_size > iattr->ia_size) in jffs2_do_setattr()154 if (ivalid & ATTR_SIZE && inode->i_size < iattr->ia_size) { in jffs2_do_setattr()176 if (ivalid & ATTR_SIZE && inode->i_size > iattr->ia_size) { in jffs2_do_setattr()
273 attr->ia_valid |= ATTR_SIZE; in nfsd_proc_create()310 } else if (type == S_IFCHR && !(attr->ia_valid & ATTR_SIZE)) { in nfsd_proc_create()321 attr->ia_valid &= ~ATTR_SIZE; in nfsd_proc_create()341 attr->ia_valid &= ATTR_SIZE; in nfsd_proc_create()450 argp->attrs.ia_valid &= ~ATTR_SIZE; in nfsd_proc_mkdir()
158 open->op_truncate = (open->op_iattr.ia_valid & ATTR_SIZE) && in do_open_fhandle()425 create->cr_iattr.ia_valid &= ~ATTR_SIZE; in nfsd4_create()654 if (setattr->sa_iattr.ia_valid & ATTR_SIZE) { in nfsd4_setattr()
270 if (iap->ia_valid & (ATTR_ATIME | ATTR_MTIME | ATTR_SIZE)) in nfsd_setattr()272 if (iap->ia_valid & ATTR_SIZE) in nfsd_setattr()331 if (iap->ia_valid & ATTR_SIZE) { in nfsd_setattr()1394 *truncp = (iap->ia_valid & ATTR_SIZE) && !iap->ia_size; in nfsd_create_v3()1397 iap->ia_valid &= ATTR_SIZE; in nfsd_create_v3()
334 if (attr->ia_valid & ATTR_SIZE) { in fat_setattr()337 if (error || attr->ia_valid == ATTR_SIZE) in fat_setattr()339 attr->ia_valid &= ~ATTR_SIZE; in fat_setattr()
214 if (ia->ia_valid & ATTR_SIZE) { in ramfs_nommu_setattr()218 if (ret < 0 || ia->ia_valid == ATTR_SIZE) in ramfs_nommu_setattr()
340 if (ia_valid & ATTR_SIZE) in adfs_notify_change()367 if (ia_valid & (ATTR_SIZE | ATTR_MTIME | ATTR_MODE)) in adfs_notify_change()
168 #define ATTR_SIZE 8 macro
180 if ( valid & ATTR_SIZE ) { in coda_iattr_to_vattr()
62 iattr->ia_valid &= ~ATTR_SIZE; /* ignore size changes */ in sysfs_setattr()
347 #define NFS_VALID_ATTRS (ATTR_MODE|ATTR_UID|ATTR_GID|ATTR_SIZE|ATTR_ATIME|ATTR_ATIME_SET|ATTR_MTIME…362 if (attr->ia_valid & ATTR_SIZE) { in nfs_setattr()364 attr->ia_valid &= ~ATTR_SIZE; in nfs_setattr()468 if ((attr->ia_valid & ATTR_SIZE) != 0) { in nfs_setattr_update_inode()
260 sattr->ia_valid &= ~ATTR_SIZE; in nfs_proc_mknod()262 sattr->ia_valid |= ATTR_SIZE; in nfs_proc_mknod()
1206 if (attr->ia_valid & ATTR_SIZE) { in do_setattr()1214 if (attr->ia_valid & ATTR_SIZE) { in do_setattr()1224 if (attr->ia_valid & ATTR_SIZE) in do_setattr()1261 if ((attr->ia_valid & ATTR_SIZE) && attr->ia_size < inode->i_size) in ubifs_setattr()
923 if (ia->ia_valid & ATTR_SIZE) { in ecryptfs_setattr()926 ia->ia_valid, ATTR_SIZE); in ecryptfs_setattr()929 ia->ia_valid &= ~ATTR_SIZE; in ecryptfs_setattr()
1792 if ((attrs->ia_valid & ATTR_MTIME) || (attrs->ia_valid & ATTR_SIZE)) {1808 if (attrs->ia_valid & ATTR_SIZE) {1903 if ((attrs->ia_valid & ATTR_MTIME) || (attrs->ia_valid & ATTR_SIZE)) {1919 if (attrs->ia_valid & ATTR_SIZE) {1994 (ATTR_MODE | ATTR_GID | ATTR_UID | ATTR_SIZE)))
698 if ((attr->ia_valid & ATTR_SIZE) != 0) { in smb_notify_change()719 attr->ia_valid &= ~ATTR_SIZE; in smb_notify_change()
1124 if ((ivalid & ATTR_SIZE) && (ivalid & (ATTR_OPEN | ATTR_FILE))) in update_mtime()1141 if (ivalid & ATTR_SIZE) in iattr_to_fattr()1235 if (attr->ia_valid & ATTR_SIZE) { in fuse_do_setattr()1262 if (attr->ia_valid & ATTR_SIZE) { in fuse_do_setattr()
906 attr->ia_valid &= ~ATTR_SIZE; in ocfs2_setattr()914 if (attr->ia_valid & ATTR_SIZE) in ocfs2_setattr()919 #define OCFS2_VALID_ATTRS (ATTR_ATIME | ATTR_MTIME | ATTR_CTIME | ATTR_SIZE \ in ocfs2_setattr()930 size_change = S_ISREG(inode->i_mode) && attr->ia_valid & ATTR_SIZE; in ocfs2_setattr()
371 if (!(attr->ia_valid & (ATTR_SIZE | ATTR_MODE | ATTR_UID | ATTR_GID | in afs_setattr()
1353 ASSERT(attr->ia_valid & ATTR_SIZE); in afs_fs_setattr_size64()1401 ASSERT(attr->ia_valid & ATTR_SIZE); in afs_fs_setattr_size()1446 if (attr->ia_valid & ATTR_SIZE) in afs_fs_setattr()
490 if (ia_valid & ATTR_SIZE) { in hugetlbfs_setattr()496 attr->ia_valid &= ~ATTR_SIZE; in hugetlbfs_setattr()
862 attr->ia_valid &= ~ATTR_SIZE; in hostfs_setattr()877 if (attr->ia_valid & ATTR_SIZE) { in hostfs_setattr()
271 if ((attr->ia_valid & ATTR_SIZE) && attr->ia_size > inode->i_size) in hpfs_setattr()
934 if ((attr->ia_valid & ATTR_SIZE) != 0) { in ncp_notify_change()956 tmpattr.ia_valid = ATTR_SIZE; in ncp_notify_change()