Lines Matching defs:lp
97 LOG *lp;
105 lp = dblp->lp;
111 nlsn = lp->chkpt_lsn;
160 nlsn.file = lp->lsn.file;
161 nlsn.offset = lp->lsn.offset - lp->len;
170 if (nlsn.file > lp->lsn.file ||
171 (nlsn.file == lp->lsn.file && nlsn.offset >= lp->lsn.offset))
181 if (nlsn.file == lp->lsn.file && nlsn.offset >= lp->w_off) {
183 p = lp->buf + (nlsn.offset - lp->w_off);
220 if (flags != DB_NEXT || nlsn.file == lp->lsn.file)
233 if (lp->b_off < sizeof(HDR) - nr)
237 memcpy((u_int8_t *)&hdr + nr, lp->buf, sizeof(HDR) - nr);
238 shortp = lp->buf + (sizeof(HDR) - nr);
252 if (lp->b_off < ((u_int8_t *)shortp - lp->buf) + len)
280 if (len - nr > sizeof(lp->buf))
283 if (lp->b_off < len - nr)
287 memcpy((u_int8_t *)tbuf + nr, lp->buf, len - nr);