Lines Matching refs:READ_SIZE
184 char buf[READ_SIZE]; in rk29_fread()
214 sz = pread(fd, buf, READ_SIZE, offset); in rk29_fread()
215 if (sz < READ_SIZE) in rk29_fread()
217 count = min(end, offset + READ_SIZE) - begin; in rk29_fread()
220 offset += READ_SIZE; in rk29_fread()
223 for (; offset < (end & ~READ_MASK); offset += READ_SIZE) { in rk29_fread()
224 sz = pread(fd, buf, READ_SIZE, offset); in rk29_fread()
225 if (sz < READ_SIZE) in rk29_fread()
227 count += READ_SIZE; in rk29_fread()
228 memcpy(p, buf, READ_SIZE); in rk29_fread()
229 p += READ_SIZE; in rk29_fread()
234 sz = pread(fd, buf, READ_SIZE, offset); in rk29_fread()
235 if (sz < READ_SIZE) in rk29_fread()