Lines Matching refs:cpu_to_le16
45 pSMB->req.MaxBufferSize = cpu_to_le16(min_t(u32, in cifs_ssetup_hdr()
48 pSMB->req.MaxMpxCount = cpu_to_le16(ses->server->maxReq); in cifs_ssetup_hdr()
49 pSMB->req.VcNumber = cpu_to_le16(1); in cifs_ssetup_hdr()
414 cpu_to_le16(ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob()
416 cpu_to_le16(ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob()
436 sec_blob->DomainName.Length = cpu_to_le16(len); in build_ntlmssp_auth_blob()
437 sec_blob->DomainName.MaximumLength = cpu_to_le16(len); in build_ntlmssp_auth_blob()
452 sec_blob->UserName.Length = cpu_to_le16(len); in build_ntlmssp_auth_blob()
453 sec_blob->UserName.MaximumLength = cpu_to_le16(len); in build_ntlmssp_auth_blob()
467 sec_blob->SessionKey.Length = cpu_to_le16(CIFS_CPHTXT_SIZE); in build_ntlmssp_auth_blob()
469 cpu_to_le16(CIFS_CPHTXT_SIZE); in build_ntlmssp_auth_blob()
683 pSMB->old_req.PasswordLength = cpu_to_le16(CIFS_AUTH_RESP_SIZE); in sess_auth_lanman()
786 cpu_to_le16(CIFS_AUTH_RESP_SIZE); in sess_auth_ntlm()
788 cpu_to_le16(CIFS_AUTH_RESP_SIZE); in sess_auth_ntlm()
914 cpu_to_le16(ses->auth_key.len - CIFS_SESS_KEY_SIZE); in sess_auth_ntlmv2()
1040 pSMB->req.SecurityBlobLength = cpu_to_le16(sess_data->iov[1].iov_len); in sess_auth_kerberos()
1199 pSMB->req.SecurityBlobLength = cpu_to_le16(sizeof(NEGOTIATE_MESSAGE)); in sess_auth_rawntlmssp_negotiate()
1300 pSMB->req.SecurityBlobLength = cpu_to_le16(blob_len); in sess_auth_rawntlmssp_authenticate()