Lines Matching refs:to_read
2513 +static u64 read_data_extent(u64 logical_start, u64 to_read, char *pos)
2519 + while (to_read) {
2525 + if (length > to_read)
2526 + length = to_read;
2539 + to_read -= length;
2905 + int to_read;
2949 + to_read = bytes - ioff;
2950 + if (to_read > len)
2951 + to_read = len;
2961 + to_read,
2969 + to_read);
2971 + to_read, filepos);
2978 + to_read = bytes - ioff;
2979 + if (to_read > len)
2980 + to_read = len;
2986 + ret = read_data_extent(from, to_read, pos);
2998 + len -= to_read;
2999 + pos += to_read;
3000 + filepos += to_read;