• Home
  • Raw
  • Download

Lines Matching refs:pneg_inbuf

1074 	struct validate_negotiate_info_req *pneg_inbuf;  in smb3_validate_negotiate()  local
1104 pneg_inbuf = kmalloc(sizeof(*pneg_inbuf), GFP_NOFS); in smb3_validate_negotiate()
1105 if (!pneg_inbuf) in smb3_validate_negotiate()
1108 pneg_inbuf->Capabilities = in smb3_validate_negotiate()
1111 pneg_inbuf->Capabilities |= cpu_to_le32(SMB2_GLOBAL_CAP_MULTI_CHANNEL); in smb3_validate_negotiate()
1113 memcpy(pneg_inbuf->Guid, server->client_guid, in smb3_validate_negotiate()
1117 pneg_inbuf->SecurityMode = in smb3_validate_negotiate()
1120 pneg_inbuf->SecurityMode = in smb3_validate_negotiate()
1123 pneg_inbuf->SecurityMode = 0; in smb3_validate_negotiate()
1128 pneg_inbuf->Dialects[0] = cpu_to_le16(SMB30_PROT_ID); in smb3_validate_negotiate()
1129 pneg_inbuf->Dialects[1] = cpu_to_le16(SMB302_PROT_ID); in smb3_validate_negotiate()
1130 pneg_inbuf->Dialects[2] = cpu_to_le16(SMB311_PROT_ID); in smb3_validate_negotiate()
1131 pneg_inbuf->DialectCount = cpu_to_le16(3); in smb3_validate_negotiate()
1133 inbuflen = sizeof(*pneg_inbuf) - in smb3_validate_negotiate()
1134 (sizeof(pneg_inbuf->Dialects[0])); in smb3_validate_negotiate()
1137 pneg_inbuf->Dialects[0] = cpu_to_le16(SMB21_PROT_ID); in smb3_validate_negotiate()
1138 pneg_inbuf->Dialects[1] = cpu_to_le16(SMB30_PROT_ID); in smb3_validate_negotiate()
1139 pneg_inbuf->Dialects[2] = cpu_to_le16(SMB302_PROT_ID); in smb3_validate_negotiate()
1140 pneg_inbuf->Dialects[3] = cpu_to_le16(SMB311_PROT_ID); in smb3_validate_negotiate()
1141 pneg_inbuf->DialectCount = cpu_to_le16(4); in smb3_validate_negotiate()
1143 inbuflen = sizeof(*pneg_inbuf); in smb3_validate_negotiate()
1146 pneg_inbuf->Dialects[0] = in smb3_validate_negotiate()
1148 pneg_inbuf->DialectCount = cpu_to_le16(1); in smb3_validate_negotiate()
1150 inbuflen = sizeof(*pneg_inbuf) - in smb3_validate_negotiate()
1151 sizeof(pneg_inbuf->Dialects[0]) * 3; in smb3_validate_negotiate()
1156 (char *)pneg_inbuf, inbuflen, CIFSMaxBufSize, in smb3_validate_negotiate()
1206 kfree(pneg_inbuf); in smb3_validate_negotiate()