Home
last modified time | relevance | path

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

/fs/cifs/
Dsmb2pdu.c715 unsigned int len_of_ctxts, i; in smb311_decode_neg_context() local
724 len_of_ctxts = len_of_smb - offset; in smb311_decode_neg_context()
729 if (len_of_ctxts == 0) in smb311_decode_neg_context()
732 if (len_of_ctxts < sizeof(struct smb2_neg_context)) in smb311_decode_neg_context()
737 if (clen > len_of_ctxts) in smb311_decode_neg_context()
763 len_of_ctxts -= clen; in smb311_decode_neg_context()
/fs/ksmbd/
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()