Home
last modified time | relevance | path

Searched refs:ivalid (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/fs/jffs2/
Dfs.c40 unsigned int ivalid; in jffs2_do_setattr() local
93 ivalid = iattr->ia_valid; in jffs2_do_setattr()
103 ri->uid = cpu_to_je16((ivalid & ATTR_UID)? in jffs2_do_setattr()
105 ri->gid = cpu_to_je16((ivalid & ATTR_GID)? in jffs2_do_setattr()
108 if (ivalid & ATTR_MODE) in jffs2_do_setattr()
114 ri->isize = cpu_to_je32((ivalid & ATTR_SIZE)?iattr->ia_size:inode->i_size); in jffs2_do_setattr()
115 ri->atime = cpu_to_je32(I_SEC((ivalid & ATTR_ATIME)?iattr->ia_atime:inode->i_atime)); in jffs2_do_setattr()
116 ri->mtime = cpu_to_je32(I_SEC((ivalid & ATTR_MTIME)?iattr->ia_mtime:inode->i_mtime)); in jffs2_do_setattr()
117 ri->ctime = cpu_to_je32(I_SEC((ivalid & ATTR_CTIME)?iattr->ia_ctime:inode->i_ctime)); in jffs2_do_setattr()
122 if (ivalid & ATTR_SIZE && inode->i_size < iattr->ia_size) { in jffs2_do_setattr()
[all …]
/linux-4.19.296/fs/fuse/
Ddir.c1511 static bool update_mtime(unsigned ivalid, bool trust_local_mtime) in update_mtime() argument
1514 if (ivalid & ATTR_MTIME_SET) in update_mtime()
1522 if ((ivalid & ATTR_SIZE) && (ivalid & (ATTR_OPEN | ATTR_FILE))) in update_mtime()
1532 unsigned ivalid = iattr->ia_valid; in iattr_to_fattr() local
1534 if (ivalid & ATTR_MODE) in iattr_to_fattr()
1536 if (ivalid & ATTR_UID) in iattr_to_fattr()
1538 if (ivalid & ATTR_GID) in iattr_to_fattr()
1540 if (ivalid & ATTR_SIZE) in iattr_to_fattr()
1542 if (ivalid & ATTR_ATIME) { in iattr_to_fattr()
1546 if (!(ivalid & ATTR_ATIME_SET)) in iattr_to_fattr()
[all …]