Lines Matching refs:b_off
381 *bytesp = (u_int32_t)(lp->stat.st_wc_bytes + lp->b_off);
496 else if (!lp->db_log_inmemory && lp->b_off != 0)
498 dblp->bufp, (u_int32_t)lp->b_off)) == 0)
499 lp->b_off = 0;
613 DB_ASSERT(env, lp->db_log_inmemory || lp->b_off == 0);
690 size_t b_off, nr;
711 b_off = lp->b_off;
787 b_off, &nr)) != 0)
789 if (nr != b_off) {
797 lp->b_off = b_off;
884 size_t b_off;
1008 if (lp->b_off != 0 && LOG_COMPARE(&flush_lsn, &lp->f_lsn) >= 0) {
1010 dblp->bufp, (u_int32_t)lp->b_off)) != 0) {
1015 lp->b_off = 0;
1027 b_off = lp->b_off;
1047 * lsn, f_lsn. If the buffer is empty, b_off == 0, then
1052 if (b_off == 0)
1122 __log_inmem_copyin(dblp, lp->b_off, addr, len);
1123 lp->b_off = (lp->b_off + len) % lp->buffer_size;
1134 if (lp->b_off == 0)
1141 if (lp->b_off == 0 && len >= bsize) {
1152 remain = bsize - lp->b_off;
1154 memcpy(dblp->bufp + lp->b_off, addr, nw);
1157 lp->b_off += nw;
1160 if (lp->b_off == bsize) {
1163 lp->b_off = 0;