Lines Matching refs:lsn

228 	int lsn;  in lmLog()  local
250 lsn = log->lsn; in lmLog()
257 if (mp->lsn == 0) { in lmLog()
259 mp->lsn = lsn; in lmLog()
284 if (tblk->lsn == 0) { in lmLog()
286 tblk->lsn = mp->lsn; in lmLog()
297 logdiff(diffp, mp->lsn, log); in lmLog()
298 logdiff(difft, tblk->lsn, log); in lmLog()
301 tblk->lsn = mp->lsn; in lmLog()
314 lsn = lmWriteRecord(log, tblk, lrd, tlck); in lmLog()
319 logdiff(diffp, lsn, log); in lmLog()
321 lsn = lmLogSync(log, 0); in lmLog()
324 log->lsn = lsn; in lmLog()
329 return lsn; in lmLog()
347 int lsn = 0; /* end-of-log address */ in lmWriteRecord() local
497 lsn = (log->page << L2LOGPSIZE) + dstoffset; in lmWriteRecord()
500 tblk->clsn = lsn; in lmWriteRecord()
533 return lsn; in lmWriteRecord()
545 return lsn; in lmWriteRecord()
937 int lsn; in lmLogSync() local
957 log->sync = log->lsn; in lmLogSync()
961 log->sync = lp->lsn; in lmLogSync()
977 lsn = lmWriteRecord(log, NULL, &lrd, NULL); in lmLogSync()
981 lsn = log->lsn; in lmLogSync()
988 logdiff(written, lsn, log); in lmLogSync()
1013 log->syncpt = log->sync = lsn; in lmLogSync()
1027 jfs_info("log barrier on: lsn=0x%x syncpt=0x%x", lsn, in lmLogSync()
1035 return lsn; in lmLogSync()
1256 int lsn = 0; in lmLogInit() local
1375 lsn = lmWriteRecord(log, NULL, &lrd, NULL); in lmLogInit()
1397 log->lsn = lsn; in lmLogInit()
1398 log->syncpt = lsn; in lmLogInit()
1403 log->lsn, log->syncpt, log->sync); in lmLogInit()
1408 log->clsn = lsn; in lmLogInit()
1643 int lsn; in lmLogShutdown() local
1663 lsn = lmWriteRecord(log, NULL, &lrd, NULL); in lmLogShutdown()
1681 logsuper->end = cpu_to_le32(lsn); in lmLogShutdown()
1686 lsn, log->page, log->eor); in lmLogShutdown()