Searched refs:vecLength (Results 1 - 5 of 5) sorted by relevance

/haiku/src/system/kernel/fs/
H A Dvfs_request_io.cpp175 off_t vecLength = min_c(vecs[i].length, (off_t)requestLength); local
177 find_thread(NULL), i, vecOffset, vecLength);
189 error = request->ClearData(requestOffset, vecLength);
193 requestOffset += vecLength;
194 requestLength -= vecLength;
198 while (vecLength > 0 && subRequestCount < kMaxSubRequests) {
200 "%lld\n", find_thread(NULL), vecOffset, vecLength);
203 vecLength, subRequest);
211 vecLength -= lengthProcessed;
301 generic_size_t vecLength local
358 size_t vecLength = min_c(vector.iov_len, length); local
[all...]
/haiku/src/system/kernel/device_manager/
H A Ddma_resources.cpp361 generic_size_t vecLength = vec.length; local
363 if (vecBase + vecLength == physicalBounceBuffer) {
364 vecLength += length;
365 _RestrictBoundaryAndSegmentSize(vecBase, vecLength);
367 generic_size_t lengthDiff = vecLength - vec.length;
374 vec.length = vecLength;
384 generic_addr_t vecLength = length;
385 _RestrictBoundaryAndSegmentSize(physicalBounceBuffer, vecLength);
387 buffer.AddVec(physicalBounceBuffer, vecLength);
390 physicalBounceBuffer += vecLength;
[all...]
H A DIORequest.cpp590 generic_size_t vecLength = fBlockSize; local
593 if (vec.length >= vecLength) {
596 vec.length = vecLength;
599 vecLength -= vec.length;
604 generic_size_t vecLength = fBlockSize; local
607 if (vec.length >= vecLength) {
610 vec.base += vec.length - vecLength;
611 vec.length = vecLength;
614 vecLength -= vec.length;
/haiku/src/tests/system/kernel/device_manager/
H A Ddma_resource_test.cpp407 size_t vecLength = min_c(fSourceVecs[i].length, length); local
409 for (uint32 j = 0; j < vecLength; j++) {
412 offset += vecLength;
413 length -= vecLength;
428 size_t vecLength = min_c(fSourceVecs[i].length, length); local
431 vecLength);
432 offset += vecLength;
433 length -= vecLength;
442 size_t vecLength = min_c(fSourceVecs[i].length, length); local
444 memcpy(compare, disk + offset, vecLength);
506 size_t vecLength = min_c(fSourceVecs[i].length, length); local
[all...]
/haiku/src/tests/system/kernel/file_corruption/fs/
H A DFile.cpp765 off_t vecLength = tempData->fileVecs[k].length; local
766 while (vecLength > 0 && i < blockCount) {
768 vecLength -= B_PAGE_SIZE;

Completed in 55 milliseconds