Lines Matching refs:numBlocks
235 size_t numBlocks = originalNumBlocks;
255 if (numBlocks > 0x100)
256 numBlocks = 0x100;
266 numBlocks = min_c(numBlocks, 0x100000 - pos);
269 numBytes = numBlocks * blockSize;
270 if (numBlocks != originalNumBlocks)
287 if (offset + numBlocks < 0x200000LL && numBlocks <= 0x100) {
297 cmd->length = numBlocks;
300 } else if (offset + numBlocks < 0x100000000LL && numBlocks <= 0x10000) {
311 cmd->length = B_HOST_TO_BENDIAN_INT16(numBlocks);
314 } else if (offset + numBlocks < 0x100000000LL && numBlocks <= 0x10000000) {
323 cmd->length = B_HOST_TO_BENDIAN_INT32(numBlocks);
335 cmd->length = B_HOST_TO_BENDIAN_INT32(numBlocks);
517 uint64 offset, size_t numBlocks, physical_entry* vecs, size_t vecCount,
520 return read_write(device, request, NULL, offset, numBlocks, vecs, vecCount,