Home
last modified time | relevance | path

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

/Linux-v6.1/fs/cifs/
Dsmb2pdu.c452 - sizeof(struct smb2_neg_context)); in build_compression_ctxt()
470 sizeof(struct smb2_neg_context) + in build_signing_ctxt()
513 return ALIGN(le16_to_cpu(pneg_ctxt->DataLength) + sizeof(struct smb2_neg_context), 8); in build_netname_ctxt()
730 struct smb2_neg_context *pctx; in smb311_decode_neg_context()
750 if (len_of_ctxts < sizeof(struct smb2_neg_context)) in smb311_decode_neg_context()
753 pctx = (struct smb2_neg_context *)(offset + (char *)rsp); in smb311_decode_neg_context()
780 offset += clen + sizeof(struct smb2_neg_context); in smb311_decode_neg_context()
Dsmb2misc.c123 if (len < nc_offset + (neg_count * sizeof(struct smb2_neg_context))) { in get_neg_ctxt_len()
/Linux-v6.1/fs/ksmbd/
Dsmb2pdu.c764 - sizeof(struct smb2_neg_context)); in build_compression_ctxt()
777 - sizeof(struct smb2_neg_context)); in build_sign_cap_ctxt()
980 struct smb2_neg_context *pctx = (struct smb2_neg_context *)req; in deassemble_neg_contexts()
1001 if (len_of_ctxts < sizeof(struct smb2_neg_context)) in deassemble_neg_contexts()
1004 pctx = (struct smb2_neg_context *)((char *)pctx + offset); in deassemble_neg_contexts()
1006 if (clen + sizeof(struct smb2_neg_context) > len_of_ctxts) in deassemble_neg_contexts()
1053 offset = clen + sizeof(struct smb2_neg_context); in deassemble_neg_contexts()
1054 len_of_ctxts -= clen + sizeof(struct smb2_neg_context); in deassemble_neg_contexts()
/Linux-v6.1/fs/smbfs_common/
Dsmb2pdu.h423 struct smb2_neg_context { struct