Searched refs:ivalid (Results 1 – 2 of 2) sorted by relevance
41 unsigned int ivalid; in jffs2_do_setattr() local94 ivalid = iattr->ia_valid; in jffs2_do_setattr()104 ri->uid = cpu_to_je16((ivalid & ATTR_UID)? in jffs2_do_setattr()106 ri->gid = cpu_to_je16((ivalid & ATTR_GID)? in jffs2_do_setattr()109 if (ivalid & ATTR_MODE) in jffs2_do_setattr()115 ri->isize = cpu_to_je32((ivalid & ATTR_SIZE)?iattr->ia_size:inode->i_size); in jffs2_do_setattr()116 ri->atime = cpu_to_je32(I_SEC((ivalid & ATTR_ATIME)?iattr->ia_atime:inode->i_atime)); in jffs2_do_setattr()117 ri->mtime = cpu_to_je32(I_SEC((ivalid & ATTR_MTIME)?iattr->ia_mtime:inode->i_mtime)); in jffs2_do_setattr()118 ri->ctime = cpu_to_je32(I_SEC((ivalid & ATTR_CTIME)?iattr->ia_ctime:inode->i_ctime)); in jffs2_do_setattr()123 if (ivalid & ATTR_SIZE && inode->i_size < iattr->ia_size) { in jffs2_do_setattr()[all …]
1732 static inline bool update_mtime(unsigned ivalid, bool trust_local_mtime) in update_mtime() argument1735 if (ivalid & ATTR_MTIME_SET) in update_mtime()1743 if ((ivalid & ATTR_SIZE) && (ivalid & (ATTR_OPEN | ATTR_FILE))) in update_mtime()1756 unsigned ivalid = iattr->ia_valid; in iattr_to_fattr() local1758 if (ivalid & ATTR_MODE) in iattr_to_fattr()1760 if (ivalid & ATTR_UID) in iattr_to_fattr()1762 if (ivalid & ATTR_GID) in iattr_to_fattr()1764 if (ivalid & ATTR_SIZE) in iattr_to_fattr()1766 if (ivalid & ATTR_ATIME) { in iattr_to_fattr()1770 if (!(ivalid & ATTR_ATIME_SET)) in iattr_to_fattr()[all …]