Lines Matching refs:bytelen
18 static void raw_read_queue(void *buf, daddr_t blkpos, size_t bytelen);
31 RAW_READ(void *buf, daddr_t blkpos, size_t bytelen)
34 if (pread(fd, buf, bytelen, (off_t)dbtob(blkpos)) != (ssize_t) bytelen)
36 buf, (int) blkpos, bytelen);
48 raw_read_queue(void *buf, daddr_t blkpos, size_t bytelen)
49 /* bytelen: must be DEV_BSIZE aligned */
55 if (bytelen && blkpos == rq_start + (ssize_t) btodb(rq_len)
57 rq_len += bytelen;
69 rq_len = bytelen;