Lines Matching refs:dstoffset
351 int dstoffset; /* end-of-log offset in log page */ in lmWriteRecord() local
369 dstoffset = log->eor; in lmWriteRecord()
406 if (dstoffset >= LOGPSIZE - LOGPTLRSIZE) { in lmWriteRecord()
412 dstoffset = LOGPHDRSIZE; in lmWriteRecord()
422 freespace = (LOGPSIZE - LOGPTLRSIZE) - dstoffset; in lmWriteRecord()
424 dst = (caddr_t) lp + dstoffset; in lmWriteRecord()
426 dstoffset += nbytes; in lmWriteRecord()
429 if (dstoffset < LOGPSIZE - LOGPTLRSIZE) in lmWriteRecord()
437 dstoffset = LOGPHDRSIZE; in lmWriteRecord()
447 lvd = (struct lvd *) ((caddr_t) lp + dstoffset); in lmWriteRecord()
450 dstoffset += 4; in lmWriteRecord()
470 freespace = (LOGPSIZE - LOGPTLRSIZE) - dstoffset; in lmWriteRecord()
472 dst = (caddr_t) lp + dstoffset; in lmWriteRecord()
475 dstoffset += nbytes; in lmWriteRecord()
487 log->eor = dstoffset; in lmWriteRecord()
488 bp->l_eor = dstoffset; in lmWriteRecord()
489 lsn = (log->page << L2LOGPSIZE) + dstoffset; in lmWriteRecord()
521 le16_to_cpu(lrd->type), log->bp, log->page, dstoffset); in lmWriteRecord()
524 if (dstoffset < LOGPSIZE - LOGPTLRSIZE) in lmWriteRecord()
533 dstoffset = LOGPHDRSIZE; in lmWriteRecord()