Lines Matching refs:toread
380 size_t toread = 1 << (ffs(0x4 + (offset & 0x03)) - 1);
381 if (toread > size)
382 toread = size;
385 &toread);
389 offset += toread;
390 data = (char*)data + toread;
391 size -= toread;
392 *bytes_read += toread;
498 size_t toread;
563 toread = sizeof(reg);
565 &toread);
570 if (toread != sizeof(reg)) {
592 toread = sizeof(reg);
594 &toread);
599 if (toread != sizeof(reg)) {
607 toread = sizeof(reg);
609 (char*)®, &toread);
614 if (toread != sizeof(reg)) {