Lines Matching refs:capabilities

37 	__u32 capabilities = 0;  in cifs_ssetup_hdr()  local
56 capabilities = CAP_LARGE_FILES | CAP_NT_SMBS | CAP_LEVEL_II_OPLOCKS | in cifs_ssetup_hdr()
62 if (ses->capabilities & CAP_UNICODE) { in cifs_ssetup_hdr()
64 capabilities |= CAP_UNICODE; in cifs_ssetup_hdr()
66 if (ses->capabilities & CAP_STATUS32) { in cifs_ssetup_hdr()
68 capabilities |= CAP_STATUS32; in cifs_ssetup_hdr()
70 if (ses->capabilities & CAP_DFS) { in cifs_ssetup_hdr()
72 capabilities |= CAP_DFS; in cifs_ssetup_hdr()
74 if (ses->capabilities & CAP_UNIX) in cifs_ssetup_hdr()
75 capabilities |= CAP_UNIX; in cifs_ssetup_hdr()
77 return capabilities; in cifs_ssetup_hdr()
693 __u32 capabilities; in sess_auth_lanman() local
704 capabilities = cifs_ssetup_hdr(ses, pSMB); in sess_auth_lanman()
799 __u32 capabilities; in sess_auth_ntlm() local
810 capabilities = cifs_ssetup_hdr(ses, pSMB); in sess_auth_ntlm()
812 pSMB->req_no_secext.Capabilities = cpu_to_le32(capabilities); in sess_auth_ntlm()
839 if (ses->capabilities & CAP_UNICODE) { in sess_auth_ntlm()
909 __u32 capabilities; in sess_auth_ntlmv2() local
920 capabilities = cifs_ssetup_hdr(ses, pSMB); in sess_auth_ntlmv2()
922 pSMB->req_no_secext.Capabilities = cpu_to_le32(capabilities); in sess_auth_ntlmv2()
948 if (ses->capabilities & CAP_UNICODE) { in sess_auth_ntlmv2()
1018 __u32 capabilities; in sess_auth_kerberos() local
1032 capabilities = cifs_ssetup_hdr(ses, pSMB); in sess_auth_kerberos()
1065 capabilities |= CAP_EXTENDED_SECURITY; in sess_auth_kerberos()
1066 pSMB->req.Capabilities = cpu_to_le32(capabilities); in sess_auth_kerberos()
1071 if (ses->capabilities & CAP_UNICODE) { in sess_auth_kerberos()
1160 __u32 capabilities; in _sess_auth_rawntlmssp_assemble_req() local
1166 capabilities = cifs_ssetup_hdr(ses, pSMB); in _sess_auth_rawntlmssp_assemble_req()
1173 capabilities |= CAP_EXTENDED_SECURITY; in _sess_auth_rawntlmssp_assemble_req()
1174 pSMB->req.Capabilities |= cpu_to_le32(capabilities); in _sess_auth_rawntlmssp_assemble_req()