Lines Matching refs:buf_index
229 u8 buf_index, FragmentCount = 0;
235 buf_index = pDes->buffer_start_index;
266 src_buffer = pDes->buffer_address[buf_index];
268 if (CopySize >= pDes->buffer_size[buf_index]) {
269 CopyLeft = pDes->buffer_size[buf_index];
272 buf_index++;
273 buf_index %= MAX_DESCRIPTOR_BUFFER_INDEX;
275 u8 *pctmp = pDes->buffer_address[buf_index];
277 pDes->buffer_address[buf_index] = pctmp;
278 pDes->buffer_size[buf_index] -= CopySize;