Lines Matching refs:avail_data
421 unsigned char *source, unsigned int avail_data)
436 if (avail_data >= space_left) {
440 avail_data -= space_left;
445 memcpy(cell_buf + buf_usage, source, avail_data);
446 instance->buf_usage = buf_usage + avail_data;
451 for (; avail_data >= stride; avail_data -= stride, source += stride)
454 if (avail_data > 0) {
457 memcpy(instance->cell_buf, source, avail_data);
458 instance->buf_usage = avail_data;