Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ksmbd/
Dsmb_common.c250 int smb2_neg_size = in ksmbd_negotiate_smb_dialect() local
254 if (smb2_neg_size > smb_buf_length) in ksmbd_negotiate_smb_dialect()
257 if (smb2_neg_size + le16_to_cpu(req->DialectCount) * sizeof(__le16) > in ksmbd_negotiate_smb_dialect()
Dsmb2pdu.c1071 unsigned int smb2_buf_len, smb2_neg_size; in smb2_handle_negotiate() local
1090 smb2_neg_size = offsetof(struct smb2_negotiate_req, Dialects); in smb2_handle_negotiate()
1091 if (smb2_neg_size > smb2_buf_len) { in smb2_handle_negotiate()
1106 if (smb2_neg_size > nego_ctxt_off) { in smb2_handle_negotiate()
1112 if (smb2_neg_size + le16_to_cpu(req->DialectCount) * sizeof(__le16) > in smb2_handle_negotiate()
1119 if (smb2_neg_size + le16_to_cpu(req->DialectCount) * sizeof(__le16) > in smb2_handle_negotiate()