Lines Matching refs:buf_usage
424 unsigned int buf_usage = instance->buf_usage; in usbatm_extract_cells() local
429 if (buf_usage > 0) { in usbatm_extract_cells()
432 unsigned int space_left = stride - buf_usage; in usbatm_extract_cells()
434 UDSL_ASSERT(instance, buf_usage <= stride); in usbatm_extract_cells()
438 memcpy(cell_buf + buf_usage, source, space_left); in usbatm_extract_cells()
442 instance->buf_usage = 0; in usbatm_extract_cells()
445 memcpy(cell_buf + buf_usage, source, avail_data); in usbatm_extract_cells()
446 instance->buf_usage = buf_usage + avail_data; in usbatm_extract_cells()
458 instance->buf_usage = avail_data; in usbatm_extract_cells()
562 instance->buf_usage = 0; in usbatm_rx_process()
572 instance->buf_usage = 0; in usbatm_rx_process()