Searched refs:ivalid (Results 1 – 3 of 3) 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_get_atime(inode))); in jffs2_do_setattr()117 ri->mtime = cpu_to_je32(I_SEC((ivalid & ATTR_MTIME)?iattr->ia_mtime:inode_get_mtime(inode))); in jffs2_do_setattr()118 ri->ctime = cpu_to_je32(I_SEC((ivalid & ATTR_CTIME)?iattr->ia_ctime:inode_get_ctime(inode))); in jffs2_do_setattr()123 if (ivalid & ATTR_SIZE && inode->i_size < iattr->ia_size) { in jffs2_do_setattr()[all …]
1743 static bool update_mtime(unsigned ivalid, bool trust_local_mtime) in update_mtime() argument1746 if (ivalid & ATTR_MTIME_SET) in update_mtime()1754 if ((ivalid & ATTR_SIZE) && (ivalid & (ATTR_OPEN | ATTR_FILE))) in update_mtime()1765 unsigned ivalid = iattr->ia_valid; in iattr_to_fattr() local1767 if (ivalid & ATTR_MODE) in iattr_to_fattr()1770 if (ivalid & ATTR_UID) { in iattr_to_fattr()1777 if (ivalid & ATTR_GID) { in iattr_to_fattr()1784 if (ivalid & ATTR_SIZE) in iattr_to_fattr()1786 if (ivalid & ATTR_ATIME) { in iattr_to_fattr()1790 if (!(ivalid & ATTR_ATIME_SET)) in iattr_to_fattr()[all …]
921 ivalid||invalid