pneg_inbuf       1019 fs/cifs/smb2pdu.c 	struct validate_negotiate_info_req *pneg_inbuf;
pneg_inbuf       1049 fs/cifs/smb2pdu.c 	pneg_inbuf = kmalloc(sizeof(*pneg_inbuf), GFP_NOFS);
pneg_inbuf       1050 fs/cifs/smb2pdu.c 	if (!pneg_inbuf)
pneg_inbuf       1053 fs/cifs/smb2pdu.c 	pneg_inbuf->Capabilities =
pneg_inbuf       1055 fs/cifs/smb2pdu.c 	memcpy(pneg_inbuf->Guid, server->client_guid,
pneg_inbuf       1059 fs/cifs/smb2pdu.c 		pneg_inbuf->SecurityMode =
pneg_inbuf       1062 fs/cifs/smb2pdu.c 		pneg_inbuf->SecurityMode =
pneg_inbuf       1065 fs/cifs/smb2pdu.c 		pneg_inbuf->SecurityMode = 0;
pneg_inbuf       1070 fs/cifs/smb2pdu.c 		pneg_inbuf->Dialects[0] = cpu_to_le16(SMB30_PROT_ID);
pneg_inbuf       1071 fs/cifs/smb2pdu.c 		pneg_inbuf->Dialects[1] = cpu_to_le16(SMB302_PROT_ID);
pneg_inbuf       1072 fs/cifs/smb2pdu.c 		pneg_inbuf->DialectCount = cpu_to_le16(2);
pneg_inbuf       1074 fs/cifs/smb2pdu.c 		inbuflen = sizeof(*pneg_inbuf) -
pneg_inbuf       1075 fs/cifs/smb2pdu.c 				(2 * sizeof(pneg_inbuf->Dialects[0]));
pneg_inbuf       1078 fs/cifs/smb2pdu.c 		pneg_inbuf->Dialects[0] = cpu_to_le16(SMB21_PROT_ID);
pneg_inbuf       1079 fs/cifs/smb2pdu.c 		pneg_inbuf->Dialects[1] = cpu_to_le16(SMB30_PROT_ID);
pneg_inbuf       1080 fs/cifs/smb2pdu.c 		pneg_inbuf->Dialects[2] = cpu_to_le16(SMB302_PROT_ID);
pneg_inbuf       1081 fs/cifs/smb2pdu.c 		pneg_inbuf->Dialects[3] = cpu_to_le16(SMB311_PROT_ID);
pneg_inbuf       1082 fs/cifs/smb2pdu.c 		pneg_inbuf->DialectCount = cpu_to_le16(4);
pneg_inbuf       1084 fs/cifs/smb2pdu.c 		inbuflen = sizeof(*pneg_inbuf);
pneg_inbuf       1087 fs/cifs/smb2pdu.c 		pneg_inbuf->Dialects[0] =
pneg_inbuf       1089 fs/cifs/smb2pdu.c 		pneg_inbuf->DialectCount = cpu_to_le16(1);
pneg_inbuf       1091 fs/cifs/smb2pdu.c 		inbuflen = sizeof(*pneg_inbuf) -
pneg_inbuf       1092 fs/cifs/smb2pdu.c 				sizeof(pneg_inbuf->Dialects[0]) * 2;
pneg_inbuf       1097 fs/cifs/smb2pdu.c 		(char *)pneg_inbuf, inbuflen, CIFSMaxBufSize,
pneg_inbuf       1146 fs/cifs/smb2pdu.c 	kfree(pneg_inbuf);