opt_len           108 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_geneve.c 	geneveh->opt_len = tun_info->options_len / 4;
opt_len           115 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_geneve.c 		if (!geneveh->opt_len)
opt_len           332 drivers/net/ethernet/netronome/nfp/flower/action.c 	int opt_len, opt_cnt, act_start, tot_push_len;
opt_len           342 drivers/net/ethernet/netronome/nfp/flower/action.c 	opt_len = ip_tun->options_len;
opt_len           343 drivers/net/ethernet/netronome/nfp/flower/action.c 	while (opt_len > 0) {
opt_len           359 drivers/net/ethernet/netronome/nfp/flower/action.c 		opt_len -= sizeof(struct geneve_opt) + opt->length * 4;
opt_len           230 drivers/net/geneve.c 					 gnvh->opt_len * 4);
opt_len           237 drivers/net/geneve.c 					gnvh->options, gnvh->opt_len * 4,
opt_len           370 drivers/net/geneve.c 	opts_len = geneveh->opt_len * 4;
opt_len           470 drivers/net/geneve.c 	return sizeof(*gh) + gh->opt_len * 4;
opt_len           510 drivers/net/geneve.c 		if (gh->opt_len != gh2->opt_len ||
opt_len           728 drivers/net/geneve.c 	geneveh->opt_len = info->options_len / 4;
opt_len           169 drivers/net/ppp/bsd_comp.c static void	*bsd_alloc(unsigned char *options, int opt_len, int decomp);
opt_len           170 drivers/net/ppp/bsd_comp.c static void	*bsd_comp_alloc (unsigned char *options, int opt_len);
opt_len           171 drivers/net/ppp/bsd_comp.c static void	*bsd_decomp_alloc (unsigned char *options, int opt_len);
opt_len           174 drivers/net/ppp/bsd_comp.c 			         int opt_len, int unit, int debug, int decomp);
opt_len           176 drivers/net/ppp/bsd_comp.c 			         int opt_len, int unit, int opthdr, int debug);
opt_len           178 drivers/net/ppp/bsd_comp.c 				 int opt_len, int unit, int opthdr, int mru,
opt_len           352 drivers/net/ppp/bsd_comp.c static void *bsd_alloc (unsigned char *options, int opt_len, int decomp)
opt_len           358 drivers/net/ppp/bsd_comp.c     if (opt_len != 3 || options[0] != CI_BSD_COMPRESS || options[1] != 3
opt_len           449 drivers/net/ppp/bsd_comp.c static void *bsd_comp_alloc (unsigned char *options, int opt_len)
opt_len           451 drivers/net/ppp/bsd_comp.c     return bsd_alloc (options, opt_len, 0);
opt_len           454 drivers/net/ppp/bsd_comp.c static void *bsd_decomp_alloc (unsigned char *options, int opt_len)
opt_len           456 drivers/net/ppp/bsd_comp.c     return bsd_alloc (options, opt_len, 1);
opt_len           464 drivers/net/ppp/bsd_comp.c 		     int opt_len, int unit, int debug, int decomp)
opt_len           469 drivers/net/ppp/bsd_comp.c     if ((opt_len != 3) || (options[0] != CI_BSD_COMPRESS) || (options[1] != 3)
opt_len           507 drivers/net/ppp/bsd_comp.c 			  int opt_len, int unit, int opthdr, int debug)
opt_len           509 drivers/net/ppp/bsd_comp.c     return bsd_init (state, options, opt_len, unit, debug, 0);
opt_len           513 drivers/net/ppp/bsd_comp.c 			    int opt_len, int unit, int opthdr, int mru,
opt_len           516 drivers/net/ppp/bsd_comp.c     return bsd_init (state, options, opt_len, unit, debug, 1);
opt_len            36 drivers/net/ppp/ppp_deflate.c static void	*z_comp_alloc(unsigned char *options, int opt_len);
opt_len            37 drivers/net/ppp/ppp_deflate.c static void	*z_decomp_alloc(unsigned char *options, int opt_len);
opt_len            41 drivers/net/ppp/ppp_deflate.c 				 int opt_len,
opt_len            44 drivers/net/ppp/ppp_deflate.c 				   int opt_len,
opt_len            85 drivers/net/ppp/ppp_deflate.c static void *z_comp_alloc(unsigned char *options, int opt_len)
opt_len            90 drivers/net/ppp/ppp_deflate.c 	if (opt_len != CILEN_DEFLATE ||
opt_len           137 drivers/net/ppp/ppp_deflate.c static int z_comp_init(void *arg, unsigned char *options, int opt_len,
opt_len           142 drivers/net/ppp/ppp_deflate.c 	if (opt_len < CILEN_DEFLATE ||
opt_len           302 drivers/net/ppp/ppp_deflate.c static void *z_decomp_alloc(unsigned char *options, int opt_len)
opt_len           307 drivers/net/ppp/ppp_deflate.c 	if (opt_len != CILEN_DEFLATE ||
opt_len           352 drivers/net/ppp/ppp_deflate.c static int z_decomp_init(void *arg, unsigned char *options, int opt_len,
opt_len           357 drivers/net/ppp/ppp_deflate.c 	if (opt_len < CILEN_DEFLATE ||
opt_len            37 include/linux/ppp-comp.h 	void	*(*comp_alloc) (unsigned char *options, int opt_len);
opt_len            44 include/linux/ppp-comp.h 			      int opt_len, int unit, int opthdr, int debug);
opt_len            57 include/linux/ppp-comp.h 	void	*(*decomp_alloc) (unsigned char *options, int opt_len);
opt_len            64 include/linux/ppp-comp.h 				int opt_len, int unit, int opthdr, int mru,
opt_len           284 include/net/cipso_ipv4.h 	u8 opt_len = opt[1];
opt_len           288 include/net/cipso_ipv4.h 	if (opt_len < 8) {
opt_len           298 include/net/cipso_ipv4.h 	for (opt_iter = 6; opt_iter < opt_len;) {
opt_len           299 include/net/cipso_ipv4.h 		if (opt_iter + 1 == opt_len) {
opt_len           304 include/net/cipso_ipv4.h 		if ((tag_len == 0) || (tag_len > (opt_len - opt_iter))) {
opt_len            47 include/net/geneve.h 	u8 opt_len:6;
opt_len            54 include/net/geneve.h 	u8 opt_len:6;
opt_len           136 include/net/ndisc.h 					  u8 *opt, int opt_len,
opt_len           338 lib/zlib_deflate/deftree.c     s->opt_len = s->static_len = 0L;
opt_len           445 lib/zlib_deflate/deftree.c         s->opt_len += (ulg)f * (bits + xbits);
opt_len           478 lib/zlib_deflate/deftree.c                 s->opt_len += ((long)bits - (long)tree[m].Len)
opt_len           574 lib/zlib_deflate/deftree.c         s->opt_len--; if (stree) s->static_len -= stree[node].Len;
opt_len           748 lib/zlib_deflate/deftree.c     s->opt_len += 3*(max_blindex+1) + 5+5+4;
opt_len           750 lib/zlib_deflate/deftree.c             s->opt_len, s->static_len));
opt_len           874 lib/zlib_deflate/deftree.c 	Tracev((stderr, "\nlit data: dyn %ld, stat %ld", s->opt_len,
opt_len           878 lib/zlib_deflate/deftree.c 	Tracev((stderr, "\ndist data: dyn %ld, stat %ld", s->opt_len,
opt_len           890 lib/zlib_deflate/deftree.c 	opt_lenb = (s->opt_len+3+7)>>3;
opt_len           894 lib/zlib_deflate/deftree.c 		opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len,
opt_len           950 lib/zlib_deflate/deftree.c         s->compressed_len += 3 + s->opt_len;
opt_len           220 lib/zlib_deflate/defutil.h     ulg opt_len;        /* bit length of current block with optimal trees */
opt_len           149 net/dns_resolver/dns_key.c 			int opt_len, opt_nlen;
opt_len           154 net/dns_resolver/dns_key.c 			opt_len = next_opt - opt;
opt_len           155 net/dns_resolver/dns_key.c 			if (opt_len <= 0 || opt_len > sizeof(optval)) {
opt_len           157 net/dns_resolver/dns_key.c 						    opt_len);
opt_len           161 net/dns_resolver/dns_key.c 			eq = memchr(opt, '=', opt_len);
opt_len           168 net/dns_resolver/dns_key.c 				opt_nlen = opt_len;
opt_len          1561 net/ipv4/cipso_ipv4.c 	u8 opt_len;
opt_len          1567 net/ipv4/cipso_ipv4.c 	opt_len = opt[1];
opt_len          1568 net/ipv4/cipso_ipv4.c 	if (opt_len < 8) {
opt_len          1582 net/ipv4/cipso_ipv4.c 	while (opt_iter < opt_len) {
opt_len          1590 net/ipv4/cipso_ipv4.c 		if (opt_iter + 1 == opt_len) {
opt_len          1595 net/ipv4/cipso_ipv4.c 		if (tag_len > (opt_len - opt_iter)) {
opt_len          1843 net/ipv4/cipso_ipv4.c 	u32 opt_len;
opt_len          1874 net/ipv4/cipso_ipv4.c 	opt_len = (buf_len + 3) & ~3;
opt_len          1875 net/ipv4/cipso_ipv4.c 	opt = kzalloc(sizeof(*opt) + opt_len, GFP_ATOMIC);
opt_len          1881 net/ipv4/cipso_ipv4.c 	opt->opt.optlen = opt_len;
opt_len          1928 net/ipv4/cipso_ipv4.c 	u32 opt_len;
opt_len          1951 net/ipv4/cipso_ipv4.c 	opt_len = (buf_len + 3) & ~3;
opt_len          1952 net/ipv4/cipso_ipv4.c 	opt = kzalloc(sizeof(*opt) + opt_len, GFP_ATOMIC);
opt_len          1958 net/ipv4/cipso_ipv4.c 	opt->opt.optlen = opt_len;
opt_len          2177 net/ipv4/cipso_ipv4.c 	u32 opt_len;
opt_len          2184 net/ipv4/cipso_ipv4.c 	opt_len = (buf_len + 3) & ~3;
opt_len          2192 net/ipv4/cipso_ipv4.c 	len_delta = opt_len - opt->optlen;
opt_len          2216 net/ipv4/cipso_ipv4.c 	opt->optlen = opt_len;
opt_len          2226 net/ipv4/cipso_ipv4.c 	if (opt_len > buf_len)
opt_len          2227 net/ipv4/cipso_ipv4.c 		memset((char *)(iph + 1) + buf_len, 0, opt_len - buf_len);
opt_len          2229 net/ipv4/cipso_ipv4.c 		iph->ihl = 5 + (opt_len >> 2);
opt_len           815 net/ipv6/calipso.c 	unsigned int opt_len = ipv6_optlen(opt), tlv_len;
opt_len           817 net/ipv6/calipso.c 	if (offset < sizeof(*opt) || offset >= opt_len)
opt_len           821 net/ipv6/calipso.c 	if (offset + 1 >= opt_len)
opt_len           824 net/ipv6/calipso.c 	if (offset + tlv_len > opt_len)
opt_len           854 net/ipv6/calipso.c 	unsigned int opt_len, offset, offset_s = 0, offset_e = 0;
opt_len           857 net/ipv6/calipso.c 	opt_len = ipv6_optlen(hop);
opt_len           860 net/ipv6/calipso.c 	while (offset < opt_len) {
opt_len           892 net/ipv6/calipso.c 		*end = opt_len;
opt_len          1080 net/ipv6/calipso.c 	int opt_len, len, ret_val = -ENOMSG, offset;
opt_len          1089 net/ipv6/calipso.c 	opt_len = ipv6_optlen(hop);
opt_len          1091 net/ipv6/calipso.c 	while (offset < opt_len) {
opt_len           216 net/ipv6/ndisc.c 					  u8 *opt, int opt_len,
opt_len           221 net/ipv6/ndisc.c 	if (!nd_opt || opt_len < 0 || !ndopts)
opt_len           224 net/ipv6/ndisc.c 	while (opt_len) {
opt_len           226 net/ipv6/ndisc.c 		if (opt_len < sizeof(struct nd_opt_hdr))
opt_len           229 net/ipv6/ndisc.c 		if (opt_len < l || l == 0)
opt_len           278 net/ipv6/ndisc.c 		opt_len -= l;
opt_len           304 net/l2tp/l2tp_core.h 	int opt_len = session->peer_cookie_len + l2tp_get_l2specific_len(session);
opt_len           306 net/l2tp/l2tp_core.h 	if (opt_len > 0) {
opt_len           309 net/l2tp/l2tp_core.h 		if (!pskb_may_pull(skb, off + opt_len))
opt_len           441 net/openvswitch/flow.c 			int opt_len = nd_opt->nd_opt_len * 8;
opt_len           443 net/openvswitch/flow.c 			if (unlikely(!opt_len || opt_len > icmp_len))
opt_len           451 net/openvswitch/flow.c 			    && opt_len == 8) {
opt_len           457 net/openvswitch/flow.c 				   && opt_len == 8) {
opt_len           464 net/openvswitch/flow.c 			icmp_len -= opt_len;
opt_len           465 net/openvswitch/flow.c 			offset += opt_len;
opt_len            38 net/openvswitch/flow.h #define TUN_METADATA_OFFSET(opt_len) \
opt_len            39 net/openvswitch/flow.h 	(FIELD_SIZEOF(struct sw_flow_key, tun_opts) - opt_len)
opt_len            40 net/openvswitch/flow.h #define TUN_METADATA_OPTS(flow_key, opt_len) \
opt_len            41 net/openvswitch/flow.h 	((void *)((flow_key)->tun_opts + TUN_METADATA_OFFSET(opt_len)))
opt_len            72 net/sched/act_tunnel_key.c 	int err, data_len, opt_len;
opt_len            99 net/sched/act_tunnel_key.c 	opt_len = sizeof(struct geneve_opt) + data_len;
opt_len           103 net/sched/act_tunnel_key.c 		WARN_ON(dst_len < opt_len);
opt_len           116 net/sched/act_tunnel_key.c 	return opt_len;
opt_len           122 net/sched/act_tunnel_key.c 	int err, rem, opt_len, len = nla_len(nla), opts_len = 0;
opt_len           133 net/sched/act_tunnel_key.c 			opt_len = tunnel_key_copy_geneve_opt(attr, dst,
opt_len           135 net/sched/act_tunnel_key.c 			if (opt_len < 0)
opt_len           136 net/sched/act_tunnel_key.c 				return opt_len;
opt_len           137 net/sched/act_tunnel_key.c 			opts_len += opt_len;
opt_len           143 net/sched/act_tunnel_key.c 				dst_len -= opt_len;
opt_len           144 net/sched/act_tunnel_key.c 				dst += opt_len;
opt_len          2630 security/selinux/hooks.c 		int len = opt_len(from);