Lines Matching full:length
23 unsigned int length, unsigned int offset, in nfp_net_tls_parse_crypto_ops() argument
30 if (length < 32) { in nfp_net_tls_parse_crypto_ops()
33 length, offset); in nfp_net_tls_parse_crypto_ops()
58 unsigned int length, offset; in nfp_net_tlv_caps_parse() local
61 length = FIELD_GET(NFP_NET_CFG_TLV_HEADER_LENGTH, hdr); in nfp_net_tlv_caps_parse()
67 if (length % NFP_NET_CFG_TLV_LENGTH_INC) { in nfp_net_tlv_caps_parse()
69 NFP_NET_CFG_TLV_LENGTH_INC, offset, length); in nfp_net_tlv_caps_parse()
72 if (data + length > end) { in nfp_net_tlv_caps_parse()
74 offset, length); in nfp_net_tlv_caps_parse()
85 if (!length) in nfp_net_tlv_caps_parse()
89 offset, length); in nfp_net_tlv_caps_parse()
92 if (length != 4) { in nfp_net_tlv_caps_parse()
95 length, offset); in nfp_net_tlv_caps_parse()
102 if (!length) { in nfp_net_tlv_caps_parse()
107 caps->mbox_len = length; in nfp_net_tlv_caps_parse()
115 offset, length); in nfp_net_tlv_caps_parse()
118 if (length < 4) { in nfp_net_tlv_caps_parse()
120 length, offset); in nfp_net_tlv_caps_parse()
127 if (length >= 4) in nfp_net_tlv_caps_parse()
132 data, length, offset, in nfp_net_tlv_caps_parse()
139 offset, length); in nfp_net_tlv_caps_parse()
143 caps->vnic_stats_cnt = length / 10; in nfp_net_tlv_caps_parse()
147 data, length, offset, in nfp_net_tlv_caps_parse()
157 offset, length); in nfp_net_tlv_caps_parse()
161 data += length; in nfp_net_tlv_caps_parse()