Searched refs:smb2_neg_context (Results 1 - 4 of 4) sorted by relevance

/linux-master/fs/smb/client/
H A Dsmb2misc.c123 if (len < nc_offset + (neg_count * sizeof(struct smb2_neg_context))) {
H A Dsmb2pdu.c602 - sizeof(struct smb2_neg_context));
620 sizeof(struct smb2_neg_context) +
662 /* context size is DataLength + minimal smb2_neg_context */
663 return ALIGN(le16_to_cpu(pneg_ctxt->DataLength) + sizeof(struct smb2_neg_context), 8);
911 struct smb2_neg_context *pctx;
928 if (len_of_ctxts < sizeof(struct smb2_neg_context))
931 pctx = (struct smb2_neg_context *)(offset + (char *)rsp);
932 clen = sizeof(struct smb2_neg_context)
/linux-master/fs/smb/common/
H A Dsmb2pdu.h456 struct smb2_neg_context { struct
/linux-master/fs/smb/server/
H A Dsmb2pdu.c785 - sizeof(struct smb2_neg_context));
877 sizeof(struct smb2_neg_context) + MIN_PREAUTH_CTXT_DATA_LEN)
991 struct smb2_neg_context *pctx = (struct smb2_neg_context *)req;
1008 if (len_of_ctxts < (int)sizeof(struct smb2_neg_context))
1011 pctx = (struct smb2_neg_context *)((char *)pctx + offset);
1013 ctxt_len = clen + sizeof(struct smb2_neg_context);

Completed in 227 milliseconds