Home
last modified time | relevance | path

Searched refs:len_of_ctxts (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/fs/smb/client/
Dsmb2pdu.c892 unsigned int len_of_ctxts, i; in smb311_decode_neg_context() local
901 len_of_ctxts = len_of_smb - offset; in smb311_decode_neg_context()
906 if (len_of_ctxts < sizeof(struct smb2_neg_context)) in smb311_decode_neg_context()
919 if (clen > len_of_ctxts) in smb311_decode_neg_context()
943 len_of_ctxts -= clen; in smb311_decode_neg_context()
/linux-6.6.21/fs/smb/server/
Dsmb2pdu.c1012 int i = 0, len_of_ctxts; in deassemble_neg_contexts() local
1023 len_of_ctxts = len_of_smb - offset; in deassemble_neg_contexts()
1028 if (len_of_ctxts < (int)sizeof(struct smb2_neg_context)) in deassemble_neg_contexts()
1035 if (ctxt_len > len_of_ctxts) in deassemble_neg_contexts()
1084 len_of_ctxts -= offset; in deassemble_neg_contexts()