Home
last modified time | relevance | path

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

/net/ceph/
Darmor.c38 int olen = 0; in ceph_armor() local
63 olen += 4; in ceph_armor()
68 olen++; in ceph_armor()
71 return olen; in ceph_armor()
76 int olen = 0; in ceph_unarmor() local
96 return olen + 1; in ceph_unarmor()
99 return olen + 2; in ceph_unarmor()
101 olen += 3; in ceph_unarmor()
104 return olen; in ceph_unarmor()
/net/ipv6/
Dip6_flowlabel.c359 int olen; in fl_create() local
363 olen = optlen - CMSG_ALIGN(sizeof(*freq)); in fl_create()
365 if (olen > 64 * 1024) in fl_create()
373 if (olen > 0) { in fl_create()
380 fl->opt = kmalloc(sizeof(*fl->opt) + olen, GFP_KERNEL); in fl_create()
385 fl->opt->tot_len = sizeof(*fl->opt) + olen; in fl_create()
387 if (copy_from_user(fl->opt+1, optval+CMSG_ALIGN(sizeof(*freq)), olen)) in fl_create()
390 msg.msg_controllen = olen; in fl_create()
/net/netfilter/
Dnf_nat_sip.c180 unsigned int olen, matchend, poff, plen, buflen, n; in nf_nat_sip() local
197 olen = *datalen; in nf_nat_sip()
204 matchend = matchoff + matchlen + *datalen - olen; in nf_nat_sip()
/net/bluetooth/
Dl2cap_core.c2946 static inline int l2cap_get_conf_opt(void **ptr, int *type, int *olen, in l2cap_get_conf_opt() argument
2956 *olen = opt->len; in l2cap_get_conf_opt()
3316 int type, hint, olen; in l2cap_parse_conf_req() local
3328 len -= l2cap_get_conf_opt(&req, &type, &olen, &val); in l2cap_parse_conf_req()
3346 if (olen == sizeof(rfc)) in l2cap_parse_conf_req()
3347 memcpy(&rfc, (void *) val, olen); in l2cap_parse_conf_req()
3356 if (olen == sizeof(efs)) { in l2cap_parse_conf_req()
3358 memcpy(&efs, (void *) val, olen); in l2cap_parse_conf_req()
3531 int type, olen; in l2cap_parse_conf_rsp() local
3539 len -= l2cap_get_conf_opt(&rsp, &type, &olen, &val); in l2cap_parse_conf_rsp()
[all …]
/net/9p/
Dclient.c816 int inlen, int olen, int in_hdrlen, in p9_client_zc_rpc() argument
841 inlen, olen, in_hdrlen); in p9_client_zc_rpc()