Lines Matching full:valid
376 if ((fattr->valid & NFS_ATTR_FATTR_V4_SECURITY_LABEL) && inode->i_security) { in nfs_setsecurity()
433 if (!(fattr->valid & NFS_ATTR_FATTR_FILEID) || in nfs_ilookup()
434 !(fattr->valid & NFS_ATTR_FATTR_TYPE)) in nfs_ilookup()
462 else if ((fattr->valid & NFS_ATTR_FATTR_FILEID) == 0) in nfs_fhget()
464 if ((fattr->valid & NFS_ATTR_FATTR_TYPE) == 0) in nfs_fhget()
487 if ((fattr->valid & NFS_ATTR_FATTR_MODE) == 0 in nfs_fhget()
502 if (fattr->valid & NFS_ATTR_FATTR_MOUNTPOINT || in nfs_fhget()
503 fattr->valid & NFS_ATTR_FATTR_V4_REFERRAL) { in nfs_fhget()
504 if (fattr->valid & NFS_ATTR_FATTR_V4_REFERRAL) in nfs_fhget()
532 if (fattr->valid & NFS_ATTR_FATTR_ATIME) in nfs_fhget()
536 if (fattr->valid & NFS_ATTR_FATTR_MTIME) in nfs_fhget()
540 if (fattr->valid & NFS_ATTR_FATTR_CTIME) in nfs_fhget()
544 if (fattr->valid & NFS_ATTR_FATTR_CHANGE) in nfs_fhget()
548 if (fattr->valid & NFS_ATTR_FATTR_SIZE) in nfs_fhget()
552 if (fattr->valid & NFS_ATTR_FATTR_NLINK) in nfs_fhget()
556 if (fattr->valid & NFS_ATTR_FATTR_OWNER) in nfs_fhget()
560 if (fattr->valid & NFS_ATTR_FATTR_GROUP) in nfs_fhget()
566 if (fattr->valid & NFS_ATTR_FATTR_BLOCKS_USED) in nfs_fhget()
568 if (fattr->valid & NFS_ATTR_FATTR_SPACE_USED) { in nfs_fhget()
728 if (fattr->valid & NFS_ATTR_FATTR_CTIME) in nfs_setattr_update_inode()
739 if (fattr->valid & NFS_ATTR_FATTR_ATIME) in nfs_setattr_update_inode()
746 if (fattr->valid & NFS_ATTR_FATTR_CTIME) in nfs_setattr_update_inode()
755 if (fattr->valid & NFS_ATTR_FATTR_MTIME) in nfs_setattr_update_inode()
762 if (fattr->valid & NFS_ATTR_FATTR_CTIME) in nfs_setattr_update_inode()
768 if (fattr->valid) in nfs_setattr_update_inode()
1395 if ((fattr->valid & NFS_ATTR_FATTR_PRECHANGE) in nfs_wcc_update_inode()
1396 && (fattr->valid & NFS_ATTR_FATTR_CHANGE) in nfs_wcc_update_inode()
1406 if ((fattr->valid & NFS_ATTR_FATTR_PRECTIME) in nfs_wcc_update_inode()
1407 && (fattr->valid & NFS_ATTR_FATTR_CTIME) in nfs_wcc_update_inode()
1413 if ((fattr->valid & NFS_ATTR_FATTR_PREMTIME) in nfs_wcc_update_inode()
1414 && (fattr->valid & NFS_ATTR_FATTR_MTIME) in nfs_wcc_update_inode()
1420 if ((fattr->valid & NFS_ATTR_FATTR_PRESIZE) in nfs_wcc_update_inode()
1421 && (fattr->valid & NFS_ATTR_FATTR_SIZE) in nfs_wcc_update_inode()
1447 if (!(fattr->valid & NFS_ATTR_FATTR_FILEID)) { in nfs_check_inode_attributes()
1449 if (fattr->valid & NFS_ATTR_FATTR_MOUNTED_ON_FILEID) in nfs_check_inode_attributes()
1454 if ((fattr->valid & NFS_ATTR_FATTR_MOUNTED_ON_FILEID) && in nfs_check_inode_attributes()
1459 if ((fattr->valid & NFS_ATTR_FATTR_TYPE) && inode_wrong_type(inode, fattr->mode)) in nfs_check_inode_attributes()
1465 …if ((fattr->valid & NFS_ATTR_FATTR_CHANGE) != 0 && !inode_eq_iversion_raw(inode, fattr->change_att… in nfs_check_inode_attributes()
1470 if ((fattr->valid & NFS_ATTR_FATTR_MTIME) && !timespec64_equal(&ts, &fattr->mtime)) in nfs_check_inode_attributes()
1474 if ((fattr->valid & NFS_ATTR_FATTR_CTIME) && !timespec64_equal(&ts, &fattr->ctime)) in nfs_check_inode_attributes()
1477 if (fattr->valid & NFS_ATTR_FATTR_SIZE) { in nfs_check_inode_attributes()
1487 …if ((fattr->valid & NFS_ATTR_FATTR_MODE) && (inode->i_mode & S_IALLUGO) != (fattr->mode & S_IALLUG… in nfs_check_inode_attributes()
1491 if ((fattr->valid & NFS_ATTR_FATTR_OWNER) && !uid_eq(inode->i_uid, fattr->uid)) in nfs_check_inode_attributes()
1495 if ((fattr->valid & NFS_ATTR_FATTR_GROUP) && !gid_eq(inode->i_gid, fattr->gid)) in nfs_check_inode_attributes()
1501 if ((fattr->valid & NFS_ATTR_FATTR_NLINK) && inode->i_nlink != fattr->nlink) in nfs_check_inode_attributes()
1505 if ((fattr->valid & NFS_ATTR_FATTR_ATIME) && !timespec64_equal(&ts, &fattr->atime)) in nfs_check_inode_attributes()
1530 fattr->valid = 0; in nfs_fattr_init()
1695 if ((fattr->valid & NFS_ATTR_FATTR) == 0) in nfs_refresh_inode()
1711 if ((fattr->valid & NFS_ATTR_FATTR) == 0) in nfs_post_op_update_inode_locked()
1762 if ((fattr->valid & NFS_ATTR_FATTR) == 0 || in nfs_post_op_update_inode_force_wcc_locked()
1764 fattr->valid &= ~(NFS_ATTR_FATTR_PRECHANGE in nfs_post_op_update_inode_force_wcc_locked()
1770 if ((fattr->valid & NFS_ATTR_FATTR_CHANGE) != 0 && in nfs_post_op_update_inode_force_wcc_locked()
1771 (fattr->valid & NFS_ATTR_FATTR_PRECHANGE) == 0) { in nfs_post_op_update_inode_force_wcc_locked()
1773 fattr->valid |= NFS_ATTR_FATTR_PRECHANGE; in nfs_post_op_update_inode_force_wcc_locked()
1775 if ((fattr->valid & NFS_ATTR_FATTR_CTIME) != 0 && in nfs_post_op_update_inode_force_wcc_locked()
1776 (fattr->valid & NFS_ATTR_FATTR_PRECTIME) == 0) { in nfs_post_op_update_inode_force_wcc_locked()
1778 fattr->valid |= NFS_ATTR_FATTR_PRECTIME; in nfs_post_op_update_inode_force_wcc_locked()
1780 if ((fattr->valid & NFS_ATTR_FATTR_MTIME) != 0 && in nfs_post_op_update_inode_force_wcc_locked()
1781 (fattr->valid & NFS_ATTR_FATTR_PREMTIME) == 0) { in nfs_post_op_update_inode_force_wcc_locked()
1783 fattr->valid |= NFS_ATTR_FATTR_PREMTIME; in nfs_post_op_update_inode_force_wcc_locked()
1785 if ((fattr->valid & NFS_ATTR_FATTR_SIZE) != 0 && in nfs_post_op_update_inode_force_wcc_locked()
1786 (fattr->valid & NFS_ATTR_FATTR_PRESIZE) == 0) { in nfs_post_op_update_inode_force_wcc_locked()
1788 fattr->valid |= NFS_ATTR_FATTR_PRESIZE; in nfs_post_op_update_inode_force_wcc_locked()
1851 atomic_read(&inode->i_count), fattr->valid); in nfs_update_inode()
1853 if (!(fattr->valid & NFS_ATTR_FATTR_FILEID)) { in nfs_update_inode()
1855 if (fattr->valid & NFS_ATTR_FATTR_MOUNTED_ON_FILEID) in nfs_update_inode()
1860 if ((fattr->valid & NFS_ATTR_FATTR_MOUNTED_ON_FILEID) && in nfs_update_inode()
1874 if ((fattr->valid & NFS_ATTR_FATTR_TYPE) && inode_wrong_type(inode, fattr->mode)) { in nfs_update_inode()
1885 if (S_ISDIR(inode->i_mode) && (fattr->valid & NFS_ATTR_FATTR_FSID) && in nfs_update_inode()
1914 if (fattr->valid & NFS_ATTR_FATTR_CHANGE) { in nfs_update_inode()
1945 if (fattr->valid & NFS_ATTR_FATTR_MTIME) { in nfs_update_inode()
1954 if (fattr->valid & NFS_ATTR_FATTR_CTIME) { in nfs_update_inode()
1964 if (fattr->valid & NFS_ATTR_FATTR_SIZE) { in nfs_update_inode()
1992 if (fattr->valid & NFS_ATTR_FATTR_ATIME) in nfs_update_inode()
2001 if (fattr->valid & NFS_ATTR_FATTR_MODE) { in nfs_update_inode()
2017 if (fattr->valid & NFS_ATTR_FATTR_OWNER) { in nfs_update_inode()
2031 if (fattr->valid & NFS_ATTR_FATTR_GROUP) { in nfs_update_inode()
2045 if (fattr->valid & NFS_ATTR_FATTR_NLINK) { in nfs_update_inode()
2059 if (fattr->valid & NFS_ATTR_FATTR_SPACE_USED) { in nfs_update_inode()
2064 } else if (fattr->valid & NFS_ATTR_FATTR_BLOCKS_USED) in nfs_update_inode()