Lines Matching refs:elength
2338 unsigned int elength; in cdc_parse_cdc_header() local
2344 elength = buffer[0]; in cdc_parse_cdc_header()
2345 if (!elength) { in cdc_parse_cdc_header()
2347 elength = 1; in cdc_parse_cdc_header()
2350 if ((buflen < elength) || (elength < 3)) { in cdc_parse_cdc_header()
2361 if (elength < sizeof(struct usb_cdc_union_desc)) in cdc_parse_cdc_header()
2370 if (elength < sizeof(struct usb_cdc_country_functional_desc)) in cdc_parse_cdc_header()
2376 if (elength != sizeof(struct usb_cdc_header_desc)) in cdc_parse_cdc_header()
2383 if (elength < sizeof(struct usb_cdc_acm_descriptor)) in cdc_parse_cdc_header()
2389 if (elength != sizeof(struct usb_cdc_ether_desc)) in cdc_parse_cdc_header()
2396 if (elength < sizeof(struct usb_cdc_call_mgmt_descriptor)) in cdc_parse_cdc_header()
2402 if (elength < sizeof(struct usb_cdc_dmm_desc)) in cdc_parse_cdc_header()
2408 if (elength < sizeof(struct usb_cdc_mdlm_desc)) in cdc_parse_cdc_header()
2415 if (elength < sizeof(struct usb_cdc_mdlm_detail_desc)) in cdc_parse_cdc_header()
2422 if (elength < sizeof(struct usb_cdc_ncm_desc)) in cdc_parse_cdc_header()
2427 if (elength < sizeof(struct usb_cdc_mbim_desc)) in cdc_parse_cdc_header()
2433 if (elength < sizeof(struct usb_cdc_mbim_extended_desc)) in cdc_parse_cdc_header()
2447 buffer[2], elength); in cdc_parse_cdc_header()
2452 buflen -= elength; in cdc_parse_cdc_header()
2453 buffer += elength; in cdc_parse_cdc_header()