Lines Matching refs:to_read
1445 s64 old_pos, to_read, i, br = 0;
1452 to_read = (ofs + count + fd->geo_sector_size - 1) &
1455 if (to_read > 0x80000000) {
1456 int delta = to_read - count;
1457 to_read = 0x80000000;
1458 count = to_read - delta;
1461 "ofs = %i, to_read = 0x%llx.\n", fd, b,
1463 (long long)to_read);
1468 alignedbuffer = (BYTE *)VirtualAlloc(NULL, to_read, MEM_COMMIT,
1484 to_read -= br;
1497 fd->pos & ~(s64)(fd->geo_sector_size - 1), to_read,