Searched refs:surplen (Results 1 – 1 of 1) sorted by relevance
1349 unsigned int surplen = rlen - packlen; in ptp_usb_getdata() local1351 if (surplen >= PTP_USB_BULK_HDR_LEN) { in ptp_usb_getdata()1352 params->response_packet = malloc(surplen); in ptp_usb_getdata()1354 (uint8_t *) &usbdata + packlen, surplen); in ptp_usb_getdata()1355 params->response_packet_size = surplen; in ptp_usb_getdata()