Home
last modified time | relevance | path

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

12

/fs/
Dattr.c70 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()
/fs/jffs2/
Dfs.c106 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()
/fs/nfsd/
Dnfsproc.c273 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()
Dnfs4proc.c158 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()
Dvfs.c270 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()
/fs/fat/
Dfile.c334 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()
/fs/ramfs/
Dfile-nommu.c214 if (ia->ia_valid & ATTR_SIZE) { in ramfs_nommu_setattr()
218 if (ret < 0 || ia->ia_valid == ATTR_SIZE) in ramfs_nommu_setattr()
/fs/adfs/
Dinode.c340 if (ia_valid & ATTR_SIZE) in adfs_notify_change()
367 if (ia_valid & (ATTR_SIZE | ATTR_MTIME | ATTR_MODE)) in adfs_notify_change()
/fs/yaffs2/
Ddevextras.h168 #define ATTR_SIZE 8 macro
/fs/coda/
Dcoda_linux.c180 if ( valid & ATTR_SIZE ) { in coda_iattr_to_vattr()
/fs/sysfs/
Dinode.c62 iattr->ia_valid &= ~ATTR_SIZE; /* ignore size changes */ in sysfs_setattr()
/fs/nfs/
Dinode.c347 #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()
Dproc.c260 sattr->ia_valid &= ~ATTR_SIZE; in nfs_proc_mknod()
262 sattr->ia_valid |= ATTR_SIZE; in nfs_proc_mknod()
/fs/ubifs/
Dfile.c1206 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()
/fs/ecryptfs/
Dinode.c923 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()
/fs/cifs/
Dinode.c1792 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)))
/fs/smbfs/
Dinode.c698 if ((attr->ia_valid & ATTR_SIZE) != 0) { in smb_notify_change()
719 attr->ia_valid &= ~ATTR_SIZE; in smb_notify_change()
/fs/fuse/
Ddir.c1124 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()
/fs/ocfs2/
Dfile.c906 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()
/fs/afs/
Dinode.c371 if (!(attr->ia_valid & (ATTR_SIZE | ATTR_MODE | ATTR_UID | ATTR_GID | in afs_setattr()
Dfsclient.c1353 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()
/fs/hugetlbfs/
Dinode.c490 if (ia_valid & ATTR_SIZE) { in hugetlbfs_setattr()
496 attr->ia_valid &= ~ATTR_SIZE; in hugetlbfs_setattr()
/fs/hostfs/
Dhostfs_kern.c862 attr->ia_valid &= ~ATTR_SIZE; in hostfs_setattr()
877 if (attr->ia_valid & ATTR_SIZE) { in hostfs_setattr()
/fs/hpfs/
Dinode.c271 if ((attr->ia_valid & ATTR_SIZE) && attr->ia_size > inode->i_size) in hpfs_setattr()
/fs/ncpfs/
Dinode.c934 if ((attr->ia_valid & ATTR_SIZE) != 0) { in ncp_notify_change()
956 tmpattr.ia_valid = ATTR_SIZE; in ncp_notify_change()

12