Lines Matching refs:vecs

116 	const generic_io_vec* vecs, uint32 count, generic_size_t length, uint32 flags)  in SetVecs()  argument
118 memcpy(fVecs, vecs, sizeof(generic_io_vec) * count); in SetVecs()
130 fUser = !fPhysical && IS_USER_ADDRESS(vecs[0].base); in SetVecs()
379 const generic_io_vec* vecs = fDMABuffer->Vecs(); in Finish() local
392 const generic_io_vec& vec = vecs[i]; in Finish()
461 const generic_io_vec* vecs = fDMABuffer->Vecs(); in Prepare() local
473 if (vecs[i].length <= toSkip) { in Prepare()
474 toSkip -= vecs[i].length; in Prepare()
489 if (vecs[vecCount - 1].length <= toSkip) { in Prepare()
490 toSkip -= vecs[vecCount - 1].length; in Prepare()
500 const generic_io_vec& vec = vecs[i]; in Prepare()
622 generic_io_vec* vecs = fDMABuffer->Vecs(); in _PrepareVecs() local
626 generic_io_vec& vec = vecs[i]; in _PrepareVecs()
636 generic_io_vec* vecs = fDMABuffer->Vecs(); in _PrepareVecs() local
640 generic_io_vec& vec = vecs[i]; in _PrepareVecs()
779 generic_size_t lastVecSize, const generic_io_vec* vecs, size_t count, in Init() argument
788 fBuffer->SetVecs(firstVecOffset, lastVecSize, vecs, count, length, flags); in Init()
825 generic_io_vec* vecs = fBuffer->Vecs(); in CreateSubRequest() local
829 const generic_io_vec& vec = vecs[startVec]; in CreateSubRequest()
841 const generic_io_vec& vec = vecs[endVec]; in CreateSubRequest()
855 vecs + startVec, endVec - startVec + 1, length, fIsWrite, in CreateSubRequest()
1149 generic_io_vec* vecs = fBuffer->Vecs(); in Advance() local
1152 && vecs[fVecIndex].length - fVecOffset <= bySize) { in Advance()
1153 bySize -= vecs[fVecIndex].length - fVecOffset; in Advance()
1234 generic_io_vec* vecs = fBuffer->Vecs(); in ClearData() local
1238 if (vecs[0].length > skipBytes) { in ClearData()
1243 skipBytes -= vecs[0].length; in ClearData()
1244 vecs++; in ClearData()
1249 generic_size_t toClear = min_c(size, vecs[0].length - vecOffset); in ClearData()
1250 status_t error = clearFunction(vecs[0].base + vecOffset, toClear, in ClearData()
1256 vecs++; in ClearData()
1290 generic_io_vec* vecs = fBuffer->Vecs(); in _CopyData() local
1294 if (vecs[0].length > skipBytes) { in _CopyData()
1299 skipBytes -= vecs[0].length; in _CopyData()
1300 vecs++; in _CopyData()
1305 generic_size_t toCopy = min_c(size, vecs[0].length - vecOffset); in _CopyData()
1306 status_t error = copyFunction(buffer, vecs[0].base + vecOffset, toCopy, in _CopyData()
1313 vecs++; in _CopyData()