Home
last modified time | relevance | path

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

/fs/cifs/
Dsmb2misc.c100 __u32 nc_offset, size_of_pad_before_neg_ctxts; in get_neg_ctxt_len() local
110 nc_offset = le32_to_cpu(pneg_rsp->NegotiateContextOffset); in get_neg_ctxt_len()
111 if (nc_offset < non_ctxlen) { in get_neg_ctxt_len()
115 size_of_pad_before_neg_ctxts = nc_offset - non_ctxlen; in get_neg_ctxt_len()
118 if (len < nc_offset + (neg_count * sizeof(struct smb2_neg_context))) { in get_neg_ctxt_len()
124 len - nc_offset, size_of_pad_before_neg_ctxts); in get_neg_ctxt_len()
127 return (len - nc_offset) + size_of_pad_before_neg_ctxts; in get_neg_ctxt_len()