Lines Matching refs:ia_valid
390 iap->ia_valid &= ~ATTR_MODE; in nfsd_sanitize_attrs()
393 if (iap->ia_valid & ATTR_MODE) { in nfsd_sanitize_attrs()
400 ((iap->ia_valid & ATTR_UID) || (iap->ia_valid & ATTR_GID))) { in nfsd_sanitize_attrs()
401 iap->ia_valid |= ATTR_KILL_PRIV; in nfsd_sanitize_attrs()
402 if (iap->ia_valid & ATTR_MODE) { in nfsd_sanitize_attrs()
409 iap->ia_valid |= ATTR_KILL_SUID; in nfsd_sanitize_attrs()
410 iap->ia_valid |= in nfsd_sanitize_attrs()
438 if (iap->ia_valid & ATTR_SIZE) { in __nfsd_setattr()
447 .ia_valid = ATTR_SIZE | ATTR_CTIME | ATTR_MTIME, in __nfsd_setattr()
457 iap->ia_valid &= ~ATTR_SIZE; in __nfsd_setattr()
464 if ((iap->ia_valid & ~ATTR_MTIME) == 0) in __nfsd_setattr()
468 if (!iap->ia_valid) in __nfsd_setattr()
471 iap->ia_valid |= ATTR_CTIME; in __nfsd_setattr()
501 bool size_change = (iap->ia_valid & ATTR_SIZE); in nfsd_setattr()
504 if (iap->ia_valid & ATTR_SIZE) { in nfsd_setattr()
516 if (iap->ia_valid & (ATTR_ATIME | ATTR_MTIME)) { in nfsd_setattr()
518 if (!(iap->ia_valid & (ATTR_ATIME_SET | ATTR_MTIME_SET))) in nfsd_setattr()
1407 iap->ia_valid &= ~ATTR_MODE; in nfsd_create_setattr()
1415 iap->ia_valid &= ~(ATTR_UID|ATTR_GID); in nfsd_create_setattr()
1454 if ((iap->ia_valid & ATTR_SIZE) && (iap->ia_size == 0)) in nfsd_check_ignore_resizing()
1455 iap->ia_valid &= ~ATTR_SIZE; in nfsd_check_ignore_resizing()
1479 if (!(iap->ia_valid & ATTR_MODE)) in nfsd_create_locked()