Searched refs:len_part (Results 1 – 1 of 1) sorted by relevance
205 int len_part; in scratch_put() local211 len_part = scratch_buf_size - usbvision->scratch_write_ptr; in scratch_put()212 memcpy(usbvision->scratch + usbvision->scratch_write_ptr, data, len_part); in scratch_put()213 if (len == len_part) { in scratch_put()216 memcpy(usbvision->scratch, data + len_part, len - len_part); in scratch_put()217 usbvision->scratch_write_ptr = len - len_part; in scratch_put()241 int len_part; in scratch_get_extra() local247 len_part = scratch_buf_size - *ptr; in scratch_get_extra()248 memcpy(data, usbvision->scratch + *ptr, len_part); in scratch_get_extra()249 if (len == len_part) { in scratch_get_extra()[all …]