Searched refs:nc_offset (Results 1 – 1 of 1) sorted by relevance
101 __u32 nc_offset, size_of_pad_before_neg_ctxts; in get_neg_ctxt_len() local111 nc_offset = le32_to_cpu(pneg_rsp->NegotiateContextOffset); in get_neg_ctxt_len()112 if (nc_offset < non_ctxlen) { in get_neg_ctxt_len()116 size_of_pad_before_neg_ctxts = nc_offset - non_ctxlen; in get_neg_ctxt_len()119 if (len < nc_offset + (neg_count * sizeof(struct smb2_neg_context))) { in get_neg_ctxt_len()125 len - nc_offset, size_of_pad_before_neg_ctxts); in get_neg_ctxt_len()128 return (len - nc_offset) + size_of_pad_before_neg_ctxts; in get_neg_ctxt_len()