Lines Matching refs:olen
2946 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()
3558 if (olen == sizeof(rfc)) in l2cap_parse_conf_rsp()
3559 memcpy(&rfc, (void *)val, olen); in l2cap_parse_conf_rsp()
3578 if (olen == sizeof(efs)) { in l2cap_parse_conf_rsp()
3579 memcpy(&efs, (void *)val, olen); in l2cap_parse_conf_rsp()
3699 int type, olen; in l2cap_conf_rfc_get() local
3719 len -= l2cap_get_conf_opt(&rsp, &type, &olen, &val); in l2cap_conf_rfc_get()
3723 if (olen == sizeof(rfc)) in l2cap_conf_rfc_get()
3724 memcpy(&rfc, (void *)val, olen); in l2cap_conf_rfc_get()