Lines Matching refs:offset
32 off_t offset;
41 * absolute offset and reading a specific database page. All of
44 * We don't want to specify an absolute offset in our caller as we
53 if ((offset = relative) == 0)
54 offset = (off_t)pgno * pgsize;
65 "fileops: read %s: %lu bytes at offset %lu",
66 fhp->name, (u_long)io_len, (u_long)offset);
70 DB_GLOBAL(j_pread)(fhp->fd, buf, io_len, offset) :
71 pread(fhp->fd, buf, io_len, offset);
86 "fileops: write %s: %lu bytes at offset %lu",
87 fhp->name, (u_long)io_len, (u_long)offset);
91 DB_GLOBAL(j_pwrite)(fhp->fd, buf, io_len, offset) :
92 pwrite(fhp->fd, buf, io_len, offset);
140 size_t offset;
169 for (taddr = addr, offset = 0;
170 offset < len; taddr += nr, offset += (u_int32_t)nr) {
173 CHAR_STAR_CAST taddr, len - offset)) < 0 ? 1 : 0), ret);
180 P_TO_ULONG(taddr), (u_long)len - offset);
229 size_t offset;
268 for (taddr = addr, offset = 0;
269 offset < len; taddr += nw, offset += (u_int32_t)nw) {
272 CHAR_STAR_CAST taddr, len - offset)) < 0 ? 1 : 0), ret);
279 P_TO_ULONG(taddr), (u_long)len - offset);