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 …]
1517 static bool update_mtime(unsigned ivalid, bool trust_local_mtime) in update_mtime() argument1520 if (ivalid & ATTR_MTIME_SET) in update_mtime()1528 if ((ivalid & ATTR_SIZE) && (ivalid & (ATTR_OPEN | ATTR_FILE))) in update_mtime()1538 unsigned ivalid = iattr->ia_valid; in iattr_to_fattr() local1540 if (ivalid & ATTR_MODE) in iattr_to_fattr()1542 if (ivalid & ATTR_UID) in iattr_to_fattr()1544 if (ivalid & ATTR_GID) in iattr_to_fattr()1546 if (ivalid & ATTR_SIZE) in iattr_to_fattr()1548 if (ivalid & ATTR_ATIME) { in iattr_to_fattr()1552 if (!(ivalid & ATTR_ATIME_SET)) in iattr_to_fattr()[all …]