Lines Matching refs:cap

3102 		__u64 cap = le64_to_cpu(tcon->fsUnixInfo.Capability);  in reset_cifs_unix_caps()  local
3103 cifs_dbg(FYI, "unix caps which server supports %lld\n", cap); in reset_cifs_unix_caps()
3110 cap &= ~CIFS_UNIX_POSIX_ACL_CAP; in reset_cifs_unix_caps()
3112 if (cap & CIFS_UNIX_POSIX_PATHNAMES_CAP) in reset_cifs_unix_caps()
3114 cap &= ~CIFS_UNIX_POSIX_PATHNAMES_CAP; in reset_cifs_unix_caps()
3115 } else if ((cap & CIFS_UNIX_POSIX_PATHNAMES_CAP) == 0) { in reset_cifs_unix_caps()
3121 if (cap & CIFS_UNIX_TRANSPORT_ENCRYPTION_MANDATORY_CAP) in reset_cifs_unix_caps()
3124 cap &= CIFS_UNIX_CAP_MASK; in reset_cifs_unix_caps()
3126 cap &= ~CIFS_UNIX_POSIX_ACL_CAP; in reset_cifs_unix_caps()
3127 else if (CIFS_UNIX_POSIX_ACL_CAP & cap) { in reset_cifs_unix_caps()
3135 cap &= ~CIFS_UNIX_POSIX_PATHNAMES_CAP; in reset_cifs_unix_caps()
3136 else if (cap & CIFS_UNIX_POSIX_PATHNAMES_CAP) { in reset_cifs_unix_caps()
3143 cifs_dbg(FYI, "Negotiate caps 0x%x\n", (int)cap); in reset_cifs_unix_caps()
3145 if (cap & CIFS_UNIX_FCNTL_CAP) in reset_cifs_unix_caps()
3147 if (cap & CIFS_UNIX_EXTATTR_CAP) in reset_cifs_unix_caps()
3149 if (cap & CIFS_UNIX_POSIX_PATHNAMES_CAP) in reset_cifs_unix_caps()
3151 if (cap & CIFS_UNIX_XATTR_CAP) in reset_cifs_unix_caps()
3153 if (cap & CIFS_UNIX_POSIX_ACL_CAP) in reset_cifs_unix_caps()
3155 if (cap & CIFS_UNIX_LARGE_READ_CAP) in reset_cifs_unix_caps()
3157 if (cap & CIFS_UNIX_LARGE_WRITE_CAP) in reset_cifs_unix_caps()
3159 if (cap & CIFS_UNIX_TRANSPORT_ENCRYPTION_CAP) in reset_cifs_unix_caps()
3161 if (cap & CIFS_UNIX_TRANSPORT_ENCRYPTION_MANDATORY_CAP) in reset_cifs_unix_caps()
3164 if (CIFSSMBSetFSUnixInfo(xid, tcon, cap)) { in reset_cifs_unix_caps()