Lines Matching refs:elength
2335 unsigned int elength; in cdc_parse_cdc_header() local
2341 elength = buffer[0]; in cdc_parse_cdc_header()
2342 if (!elength) { in cdc_parse_cdc_header()
2344 elength = 1; in cdc_parse_cdc_header()
2347 if ((buflen < elength) || (elength < 3)) { in cdc_parse_cdc_header()
2358 if (elength < sizeof(struct usb_cdc_union_desc)) in cdc_parse_cdc_header()
2367 if (elength < sizeof(struct usb_cdc_country_functional_desc)) in cdc_parse_cdc_header()
2373 if (elength != sizeof(struct usb_cdc_header_desc)) in cdc_parse_cdc_header()
2380 if (elength < sizeof(struct usb_cdc_acm_descriptor)) in cdc_parse_cdc_header()
2386 if (elength != sizeof(struct usb_cdc_ether_desc)) in cdc_parse_cdc_header()
2393 if (elength < sizeof(struct usb_cdc_call_mgmt_descriptor)) in cdc_parse_cdc_header()
2399 if (elength < sizeof(struct usb_cdc_dmm_desc)) in cdc_parse_cdc_header()
2405 if (elength < sizeof(struct usb_cdc_mdlm_desc)) in cdc_parse_cdc_header()
2412 if (elength < sizeof(struct usb_cdc_mdlm_detail_desc)) in cdc_parse_cdc_header()
2419 if (elength < sizeof(struct usb_cdc_ncm_desc)) in cdc_parse_cdc_header()
2424 if (elength < sizeof(struct usb_cdc_mbim_desc)) in cdc_parse_cdc_header()
2430 if (elength < sizeof(struct usb_cdc_mbim_extended_desc)) in cdc_parse_cdc_header()
2444 buffer[2], elength); in cdc_parse_cdc_header()
2449 buflen -= elength; in cdc_parse_cdc_header()
2450 buffer += elength; in cdc_parse_cdc_header()