Home
last modified time | relevance | path

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

/net/ceph/
Darmor.c39 int olen = 0; in ceph_armor() local
64 olen += 4; in ceph_armor()
69 olen++; in ceph_armor()
72 return olen; in ceph_armor()
77 int olen = 0; in ceph_unarmor() local
97 return olen + 1; in ceph_unarmor()
100 return olen + 2; in ceph_unarmor()
102 olen += 3; in ceph_unarmor()
105 return olen; in ceph_unarmor()
/net/ipv6/
Dip6_flowlabel.c377 int olen; in fl_create() local
381 olen = optlen - CMSG_ALIGN(sizeof(*freq)); in fl_create()
383 if (olen > 64 * 1024) in fl_create()
391 if (olen > 0) { in fl_create()
397 fl->opt = kmalloc(sizeof(*fl->opt) + olen, GFP_KERNEL); in fl_create()
402 fl->opt->tot_len = sizeof(*fl->opt) + olen; in fl_create()
404 if (copy_from_user(fl->opt+1, optval+CMSG_ALIGN(sizeof(*freq)), olen)) in fl_create()
407 msg.msg_controllen = olen; in fl_create()
Desp6_offload.c85 sp->olen++; in esp6_gro_receive()
/net/bluetooth/
Dl2cap_core.c2988 static inline int l2cap_get_conf_opt(void **ptr, int *type, int *olen, in l2cap_get_conf_opt() argument
2998 *olen = opt->len; in l2cap_get_conf_opt()
3358 int type, hint, olen; in l2cap_parse_conf_req() local
3370 len -= l2cap_get_conf_opt(&req, &type, &olen, &val); in l2cap_parse_conf_req()
3379 if (olen != 2) in l2cap_parse_conf_req()
3385 if (olen != 2) in l2cap_parse_conf_req()
3394 if (olen != sizeof(rfc)) in l2cap_parse_conf_req()
3396 memcpy(&rfc, (void *) val, olen); in l2cap_parse_conf_req()
3400 if (olen != 1) in l2cap_parse_conf_req()
3407 if (olen != sizeof(efs)) in l2cap_parse_conf_req()
[all …]
/net/xfrm/
Dxfrm_input.c127 sp->olen = 0; in secpath_set()
717 sp->olen = 0; in xfrm_input()
735 sp->olen = 0; in xfrm_input()
Dxfrm_output.c584 sp->olen++; in xfrm_output()
/net/netfilter/
Dnf_nat_sip.c182 unsigned int olen, matchend, poff, plen, buflen, n; in nf_nat_sip() local
199 olen = *datalen; in nf_nat_sip()
206 matchend = matchoff + matchlen + *datalen - olen; in nf_nat_sip()
/net/ipv4/
Desp4_offload.c63 sp->olen++; in esp4_gro_receive()
/net/9p/
Dclient.c822 int inlen, int olen, int in_hdrlen, in p9_client_zc_rpc() argument
847 inlen, olen, in_hdrlen); in p9_client_zc_rpc()