Lines Matching refs:vec

293 				// repair phase adjusted vec
314 // repair phase adjusted vec
315 generic_io_vec& vec = fDMABuffer->VecAt(fSavedVecIndex);
316 vec.base += vec.length - fSavedVecLength;
317 vec.length = fSavedVecLength;
351 // offset) as we go. If [offset, offset + vec.length) intersects with
358 const generic_io_vec& vec = vecs[i];
359 generic_addr_t base = vec.base;
360 generic_size_t length = vec.length;
417 // Copy data to bounce buffer segments, save the partial begin/end vec,
466 const generic_io_vec& vec = vecs[i];
467 generic_addr_t base = vec.base + vecOffset;
468 generic_size_t length = vec.length - vecOffset;
592 generic_io_vec& vec = vecs[i];
593 if (vec.length >= vecLength) {
595 fSavedVecLength = vec.length;
596 vec.length = vecLength;
599 vecLength -= vec.length;
606 generic_io_vec& vec = vecs[i];
607 if (vec.length >= vecLength) {
609 fSavedVecLength = vec.length;
610 vec.base += vec.length - vecLength;
611 vec.length = vecLength;
614 vecLength -= vec.length;
680 kprintf(" saved vec index: %u\n", fSavedVecIndex);
681 kprintf(" saved vec length: %u\n", fSavedVecLength);
736 generic_io_vec vec;
737 vec.base = buffer;
738 vec.length = length;
739 return Init(offset, &vec, 1, length, write, flags);
789 // find start vec
795 const generic_io_vec& vec = vecs[startVec];
796 if (vecOffset < vec.length)
799 vecOffset -= vec.length;
807 const generic_io_vec& vec = vecs[endVec];
808 if (vec.length - currentVecOffset >= remainingLength)
811 remainingLength -= vec.length - currentVecOffset;
1423 kprintf(" vec index: %" B_PRIu32 "\n", fVecIndex);
1424 kprintf(" vec offset: %" B_PRIuGENADDR "\n", fVecOffset);