Lines Matching refs:dstoffset
344 int dstoffset; /* end-of-log offset in log page */ in lmWriteRecord() local
362 dstoffset = log->eor; in lmWriteRecord()
407 if (dstoffset >= LOGPSIZE - LOGPTLRSIZE) { in lmWriteRecord()
413 dstoffset = LOGPHDRSIZE; in lmWriteRecord()
423 freespace = (LOGPSIZE - LOGPTLRSIZE) - dstoffset; in lmWriteRecord()
425 dst = (caddr_t) lp + dstoffset; in lmWriteRecord()
427 dstoffset += nbytes; in lmWriteRecord()
430 if (dstoffset < LOGPSIZE - LOGPTLRSIZE) in lmWriteRecord()
438 dstoffset = LOGPHDRSIZE; in lmWriteRecord()
448 lvd = (struct lvd *) ((caddr_t) lp + dstoffset); in lmWriteRecord()
451 dstoffset += 4; in lmWriteRecord()
471 freespace = (LOGPSIZE - LOGPTLRSIZE) - dstoffset; in lmWriteRecord()
473 dst = (caddr_t) lp + dstoffset; in lmWriteRecord()
476 dstoffset += nbytes; in lmWriteRecord()
488 log->eor = dstoffset; in lmWriteRecord()
489 bp->l_eor = dstoffset; in lmWriteRecord()
490 lsn = (log->page << L2LOGPSIZE) + dstoffset; in lmWriteRecord()
527 le16_to_cpu(lrd->type), log->bp, log->page, dstoffset); in lmWriteRecord()
530 if (dstoffset < LOGPSIZE - LOGPTLRSIZE) in lmWriteRecord()
539 dstoffset = LOGPHDRSIZE; in lmWriteRecord()