Lines Matching refs:ivalid
1511 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()
1549 if ((ivalid & ATTR_MTIME) && update_mtime(ivalid, trust_local_cmtime)) { in iattr_to_fattr()
1553 if (!(ivalid & ATTR_MTIME_SET) && !trust_local_cmtime) in iattr_to_fattr()
1556 if ((ivalid & ATTR_CTIME) && trust_local_cmtime) { in iattr_to_fattr()