Searched refs:b_off (Results 1 – 6 of 6) sorted by relevance
303 if (lp->b_off != 0 && log_compare(lsn, &lp->f_lsn) >= 0) {304 if ((ret = __log_write(dblp, lp->buf, lp->b_off)) != 0)307 lp->b_off = 0;374 if (lp->b_off == 0)381 if (lp->b_off == 0 && len >= sizeof(lp->buf)) {392 remain = sizeof(lp->buf) - lp->b_off;394 memcpy(lp->buf + lp->b_off, addr, nw);397 lp->b_off += nw;400 if (lp->b_off == sizeof(lp->buf)) {404 lp->b_off = 0;
233 if (lp->b_off < sizeof(HDR) - nr)252 if (lp->b_off < ((u_int8_t *)shortp - lp->buf) + len)283 if (lp->b_off < len - nr)
238 lp->b_off = 0;
178 size_t b_off; /* Current offset in the buffer. */ member
805 uint64_t b_off, e_off; in get_blkno() local868 b_off = 0; in get_blkno()870 e_off = b_off + de[i].len; in get_blkno()872 bno = de[i].blkno + ((off - b_off) >> l2b); in get_blkno()879 b_off = e_off; in get_blkno()
3815 int b_off; /* Offset into buffer for start of bcopy */ in kobj_read_file() local3882 b_off = B_OFFSET(file, off); in kobj_read_file()3883 c_size = b_size - b_off; in kobj_read_file()3895 bcopy(file->_base+b_off, buf, c_size); in kobj_read_file()