Home
last modified time | relevance | path

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

/linux-6.15/fs/smb/client/
H A Dsmb2misc.c123 if (len < nc_offset + (neg_count * sizeof(struct smb2_neg_context))) { in get_neg_ctxt_len()
H A Dsmb2pdu.c591 - sizeof(struct smb2_neg_context)); in build_compression_ctxt()
609 sizeof(struct smb2_neg_context) + in build_signing_ctxt()
652 return ALIGN(le16_to_cpu(pneg_ctxt->DataLength) + sizeof(struct smb2_neg_context), 8); in build_netname_ctxt()
900 struct smb2_neg_context *pctx; in smb311_decode_neg_context()
917 if (len_of_ctxts < sizeof(struct smb2_neg_context)) in smb311_decode_neg_context()
920 pctx = (struct smb2_neg_context *)(offset + (char *)rsp); in smb311_decode_neg_context()
921 clen = sizeof(struct smb2_neg_context) in smb311_decode_neg_context()
/linux-6.15/fs/smb/server/
H A Dsmb2pdu.c802 - sizeof(struct smb2_neg_context)); in build_sign_cap_ctxt()
894 sizeof(struct smb2_neg_context) + MIN_PREAUTH_CTXT_DATA_LEN) in decode_preauth_ctxt()
1008 struct smb2_neg_context *pctx = (struct smb2_neg_context *)req; in deassemble_neg_contexts()
1025 if (len_of_ctxts < (int)sizeof(struct smb2_neg_context)) in deassemble_neg_contexts()
1028 pctx = (struct smb2_neg_context *)((char *)pctx + offset); in deassemble_neg_contexts()
1030 ctxt_len = clen + sizeof(struct smb2_neg_context); in deassemble_neg_contexts()
/linux-6.15/fs/smb/common/
H A Dsmb2pdu.h459 struct smb2_neg_context { struct