Searched refs:elength (Results 1 – 1 of 1) sorted by relevance
2293 unsigned int elength; in cdc_parse_cdc_header() local2299 elength = buffer[0]; in cdc_parse_cdc_header()2300 if (!elength) { in cdc_parse_cdc_header()2302 elength = 1; in cdc_parse_cdc_header()2305 if ((buflen < elength) || (elength < 3)) { in cdc_parse_cdc_header()2316 if (elength < sizeof(struct usb_cdc_union_desc)) in cdc_parse_cdc_header()2325 if (elength < sizeof(struct usb_cdc_country_functional_desc)) in cdc_parse_cdc_header()2331 if (elength != sizeof(struct usb_cdc_header_desc)) in cdc_parse_cdc_header()2338 if (elength < sizeof(struct usb_cdc_acm_descriptor)) in cdc_parse_cdc_header()2344 if (elength != sizeof(struct usb_cdc_ether_desc)) in cdc_parse_cdc_header()[all …]