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 …]
1796 static inline bool update_mtime(unsigned int ivalid, bool trust_local_mtime) in update_mtime() argument1799 if (ivalid & ATTR_MTIME_SET) in update_mtime()1807 if ((ivalid & ATTR_SIZE) && (ivalid & (ATTR_OPEN | ATTR_FILE))) in update_mtime()1820 unsigned int ivalid = iattr->ia_valid; in iattr_to_fattr() local1822 if (ivalid & ATTR_MODE) in iattr_to_fattr()1824 if (ivalid & ATTR_UID) in iattr_to_fattr()1826 if (ivalid & ATTR_GID) in iattr_to_fattr()1828 if (ivalid & ATTR_SIZE) in iattr_to_fattr()1830 if (ivalid & ATTR_ATIME) { in iattr_to_fattr()1834 if (!(ivalid & ATTR_ATIME_SET)) in iattr_to_fattr()[all …]