Lines Matching refs:log
80 #define LOG_LOCK_INIT(log) mutex_init(&(log)->loglock) argument
81 #define LOG_LOCK(log) mutex_lock(&((log)->loglock)) argument
82 #define LOG_UNLOCK(log) mutex_unlock(&((log)->loglock)) argument
89 #define LOGGC_LOCK_INIT(log) spin_lock_init(&(log)->gclock) argument
90 #define LOGGC_LOCK(log) spin_lock_irq(&(log)->gclock) argument
91 #define LOGGC_UNLOCK(log) spin_unlock_irq(&(log)->gclock) argument
163 static int lmWriteRecord(struct jfs_log * log, struct tblock * tblk,
166 static int lmNextPage(struct jfs_log * log);
167 static int lmLogFileSystem(struct jfs_log * log, struct jfs_sb_info *sbi,
172 static int lbmLogInit(struct jfs_log * log);
173 static void lbmLogShutdown(struct jfs_log * log);
174 static struct lbuf *lbmAllocate(struct jfs_log * log, int);
177 static int lbmRead(struct jfs_log * log, int pn, struct lbuf ** bpp);
178 static void lbmWrite(struct jfs_log * log, struct lbuf * bp, int flag, int cant_block);
179 static void lbmDirectWrite(struct jfs_log * log, struct lbuf * bp, int flag);
183 static void lmGCwrite(struct jfs_log * log, int cant_block);
184 static int lmLogSync(struct jfs_log * log, int hard_sync);
201 static void write_special_inodes(struct jfs_log *log, in write_special_inodes() argument
206 list_for_each_entry(sbi, &log->sb_list, log_list) { in write_special_inodes()
225 int lmLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd, in lmLog() argument
234 log, tblk, lrd, tlck); in lmLog()
236 LOG_LOCK(log); in lmLog()
250 lsn = log->lsn; in lmLog()
252 LOGSYNC_LOCK(log, flags); in lmLog()
258 mp->log = log; in lmLog()
260 log->count++; in lmLog()
263 list_add_tail(&mp->synclist, &log->synclist); in lmLog()
287 log->count++; in lmLog()
297 logdiff(diffp, mp->lsn, log); in lmLog()
298 logdiff(difft, tblk->lsn, log); in lmLog()
308 LOGSYNC_UNLOCK(log, flags); in lmLog()
314 lsn = lmWriteRecord(log, tblk, lrd, tlck); in lmLog()
319 logdiff(diffp, lsn, log); in lmLog()
320 if (diffp >= log->nextsync) in lmLog()
321 lsn = lmLogSync(log, 0); in lmLog()
324 log->lsn = lsn; in lmLog()
326 LOG_UNLOCK(log); in lmLog()
344 lmWriteRecord(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd, in lmWriteRecord() argument
367 bp = (struct lbuf *) log->bp; in lmWriteRecord()
369 dstoffset = log->eor; in lmWriteRecord()
416 lmNextPage(log); in lmWriteRecord()
418 bp = log->bp; in lmWriteRecord()
441 lmNextPage(log); in lmWriteRecord()
443 bp = (struct lbuf *) log->bp; in lmWriteRecord()
495 log->eor = dstoffset; in lmWriteRecord()
497 lsn = (log->page << L2LOGPSIZE) + dstoffset; in lmWriteRecord()
514 LOGGC_LOCK(log); in lmWriteRecord()
518 tblk->bp = log->bp; in lmWriteRecord()
519 tblk->pn = log->page; in lmWriteRecord()
520 tblk->eor = log->eor; in lmWriteRecord()
523 list_add_tail(&tblk->cqueue, &log->cqueue); in lmWriteRecord()
525 LOGGC_UNLOCK(log); in lmWriteRecord()
529 le16_to_cpu(lrd->type), log->bp, log->page, dstoffset); in lmWriteRecord()
537 lmNextPage(log); in lmWriteRecord()
539 bp = (struct lbuf *) log->bp; in lmWriteRecord()
560 static int lmNextPage(struct jfs_log * log) in lmNextPage() argument
570 pn = log->page; in lmNextPage()
571 bp = log->bp; in lmNextPage()
575 LOGGC_LOCK(log); in lmNextPage()
581 if (list_empty(&log->cqueue)) in lmNextPage()
584 tblk = list_entry(log->cqueue.prev, struct tblock, cqueue); in lmNextPage()
600 if (log->cflag & logGC_PAGEOUT) { in lmNextPage()
608 lbmWrite(log, bp, 0, 0); in lmNextPage()
613 log->cflag |= logGC_PAGEOUT; in lmNextPage()
614 lmGCwrite(log, 0); in lmNextPage()
624 lbmWrite(log, bp, lbmWRITE | lbmRELEASE | lbmFREE, 0); in lmNextPage()
626 LOGGC_UNLOCK(log); in lmNextPage()
634 log->page = (pn == log->size - 1) ? 2 : pn + 1; in lmNextPage()
635 log->eor = LOGPHDRSIZE; /* ? valid page empty/full at logRedo() */ in lmNextPage()
638 nextbp = lbmAllocate(log, log->page); in lmNextPage()
639 nextbp->l_eor = log->eor; in lmNextPage()
640 log->bp = nextbp; in lmNextPage()
666 int lmGroupCommit(struct jfs_log * log, struct tblock * tblk) in lmGroupCommit() argument
670 LOGGC_LOCK(log); in lmGroupCommit()
677 LOGGC_UNLOCK(log); in lmGroupCommit()
680 jfs_info("lmGroup Commit: tblk = 0x%p, gcrtc = %d", tblk, log->gcrtc); in lmGroupCommit()
685 if ((!(log->cflag & logGC_PAGEOUT)) && (!list_empty(&log->cqueue)) && in lmGroupCommit()
686 (!(tblk->xflag & COMMIT_LAZY) || test_bit(log_FLUSH, &log->flag) in lmGroupCommit()
693 log->cflag |= logGC_PAGEOUT; in lmGroupCommit()
695 lmGCwrite(log, 0); in lmGroupCommit()
702 LOGGC_UNLOCK(log); in lmGroupCommit()
712 LOGGC_UNLOCK(log); in lmGroupCommit()
718 log->gcrtc++; in lmGroupCommit()
722 LOGGC_LOCK(log), LOGGC_UNLOCK(log)); in lmGroupCommit()
728 LOGGC_UNLOCK(log); in lmGroupCommit()
745 static void lmGCwrite(struct jfs_log * log, int cant_write) in lmGCwrite() argument
760 gcpn = list_entry(log->cqueue.next, struct tblock, cqueue)->pn; in lmGCwrite()
762 list_for_each_entry(tblk, &log->cqueue, cqueue) { in lmGCwrite()
785 lbmWrite(log, bp, lbmWRITE | lbmRELEASE | lbmGC, in lmGCwrite()
793 lbmWrite(log, bp, lbmWRITE | lbmGC, cant_write); in lmGCwrite()
813 struct jfs_log *log = bp->l_log; in lmPostGC() local
818 spin_lock_irqsave(&log->gclock, flags); in lmPostGC()
825 list_for_each_entry_safe(tblk, temp, &log->cqueue, cqueue) { in lmPostGC()
840 if (tblk == log->flush_tblk) { in lmPostGC()
842 clear_bit(log_FLUSH, &log->flag); in lmPostGC()
843 log->flush_tblk = NULL; in lmPostGC()
859 log->gcrtc--; in lmPostGC()
878 lbmWrite(log, bp, lbmWRITE | lbmRELEASE | lbmFREE, in lmPostGC()
891 if ((!list_empty(&log->cqueue)) && in lmPostGC()
892 ((log->gcrtc > 0) || (tblk->bp->l_wqnext != NULL) || in lmPostGC()
893 test_bit(log_FLUSH, &log->flag) || jfs_tlocks_low)) in lmPostGC()
897 lmGCwrite(log, 1); in lmPostGC()
905 log->cflag &= ~logGC_PAGEOUT; in lmPostGC()
908 spin_unlock_irqrestore(&log->gclock, flags); in lmPostGC()
929 static int lmLogSync(struct jfs_log * log, int hard_sync) in lmLogSync() argument
943 write_special_inodes(log, filemap_fdatawrite); in lmLogSync()
945 write_special_inodes(log, filemap_flush); in lmLogSync()
954 if (log->sync == log->syncpt) { in lmLogSync()
955 LOGSYNC_LOCK(log, flags); in lmLogSync()
956 if (list_empty(&log->synclist)) in lmLogSync()
957 log->sync = log->lsn; in lmLogSync()
959 lp = list_entry(log->synclist.next, in lmLogSync()
961 log->sync = lp->lsn; in lmLogSync()
963 LOGSYNC_UNLOCK(log, flags); in lmLogSync()
971 if (log->sync != log->syncpt) { in lmLogSync()
976 lrd.log.syncpt.sync = cpu_to_le32(log->sync); in lmLogSync()
977 lsn = lmWriteRecord(log, NULL, &lrd, NULL); in lmLogSync()
979 log->syncpt = log->sync; in lmLogSync()
981 lsn = log->lsn; in lmLogSync()
986 logsize = log->logsize; in lmLogSync()
988 logdiff(written, lsn, log); in lmLogSync()
1013 log->syncpt = log->sync = lsn; in lmLogSync()
1014 log->nextsync = delta; in lmLogSync()
1017 log->nextsync = written + more; in lmLogSync()
1024 if (!test_bit(log_SYNCBARRIER, &log->flag) && in lmLogSync()
1025 (written > LOGSYNC_BARRIER(logsize)) && log->active) { in lmLogSync()
1026 set_bit(log_SYNCBARRIER, &log->flag); in lmLogSync()
1028 log->syncpt); in lmLogSync()
1032 jfs_flush_journal(log, 0); in lmLogSync()
1046 void jfs_syncpt(struct jfs_log *log, int hard_sync) in jfs_syncpt() argument
1047 { LOG_LOCK(log); in jfs_syncpt()
1048 if (!test_bit(log_QUIESCE, &log->flag)) in jfs_syncpt()
1049 lmLogSync(log, hard_sync); in jfs_syncpt()
1050 LOG_UNLOCK(log); in jfs_syncpt()
1070 struct jfs_log *log; in lmLogOpen() local
1080 list_for_each_entry(log, &jfs_external_logs, journal_list) { in lmLogOpen()
1081 if (log->bdev->bd_dev == sbi->logdev) { in lmLogOpen()
1082 if (!uuid_equal(&log->uuid, &sbi->loguuid)) { in lmLogOpen()
1090 if ((rc = lmLogFileSystem(log, sbi, 1))) { in lmLogOpen()
1098 if (!(log = kzalloc(sizeof(struct jfs_log), GFP_KERNEL))) { in lmLogOpen()
1102 INIT_LIST_HEAD(&log->sb_list); in lmLogOpen()
1103 init_waitqueue_head(&log->syncwait); in lmLogOpen()
1112 log); in lmLogOpen()
1118 log->bdev = bdev; in lmLogOpen()
1119 uuid_copy(&log->uuid, &sbi->loguuid); in lmLogOpen()
1124 if ((rc = lmLogInit(log))) in lmLogOpen()
1127 list_add(&log->journal_list, &jfs_external_logs); in lmLogOpen()
1132 if ((rc = lmLogFileSystem(log, sbi, 1))) in lmLogOpen()
1136 LOG_LOCK(log); in lmLogOpen()
1137 list_add(&sbi->log_list, &log->sb_list); in lmLogOpen()
1138 sbi->log = log; in lmLogOpen()
1139 LOG_UNLOCK(log); in lmLogOpen()
1148 list_del(&log->journal_list); in lmLogOpen()
1149 lbmLogShutdown(log); in lmLogOpen()
1156 kfree(log); in lmLogOpen()
1164 struct jfs_log *log; in open_inline_log() local
1167 if (!(log = kzalloc(sizeof(struct jfs_log), GFP_KERNEL))) in open_inline_log()
1169 INIT_LIST_HEAD(&log->sb_list); in open_inline_log()
1170 init_waitqueue_head(&log->syncwait); in open_inline_log()
1172 set_bit(log_INLINELOG, &log->flag); in open_inline_log()
1173 log->bdev = sb->s_bdev; in open_inline_log()
1174 log->base = addressPXD(&JFS_SBI(sb)->logpxd); in open_inline_log()
1175 log->size = lengthPXD(&JFS_SBI(sb)->logpxd) >> in open_inline_log()
1177 log->l2bsize = sb->s_blocksize_bits; in open_inline_log()
1183 if ((rc = lmLogInit(log))) { in open_inline_log()
1184 kfree(log); in open_inline_log()
1189 list_add(&JFS_SBI(sb)->log_list, &log->sb_list); in open_inline_log()
1190 JFS_SBI(sb)->log = log; in open_inline_log()
1223 JFS_SBI(sb)->log = dummy_log; in open_dummy_log()
1248 int lmLogInit(struct jfs_log * log) in lmLogInit() argument
1258 jfs_info("lmLogInit: log:0x%p", log); in lmLogInit()
1261 LOGGC_LOCK_INIT(log); in lmLogInit()
1264 LOG_LOCK_INIT(log); in lmLogInit()
1266 LOGSYNC_LOCK_INIT(log); in lmLogInit()
1268 INIT_LIST_HEAD(&log->synclist); in lmLogInit()
1270 INIT_LIST_HEAD(&log->cqueue); in lmLogInit()
1271 log->flush_tblk = NULL; in lmLogInit()
1273 log->count = 0; in lmLogInit()
1278 if ((rc = lbmLogInit(log))) in lmLogInit()
1281 if (!test_bit(log_INLINELOG, &log->flag)) in lmLogInit()
1282 log->l2bsize = L2LOGPSIZE; in lmLogInit()
1285 if (log->no_integrity) { in lmLogInit()
1291 bp = lbmAllocate(log , 0); in lmLogInit()
1292 log->bp = bp; in lmLogInit()
1298 if ((rc = lbmRead(log, 1, &bpsuper))) in lmLogInit()
1317 if (test_bit(log_INLINELOG,&log->flag)) { in lmLogInit()
1318 if (log->size != le32_to_cpu(logsuper->size)) { in lmLogInit()
1323 log, (unsigned long long)log->base, log->size); in lmLogInit()
1325 if (!uuid_equal(&logsuper->uuid, &log->uuid)) { in lmLogInit()
1329 log->size = le32_to_cpu(logsuper->size); in lmLogInit()
1330 log->l2bsize = le32_to_cpu(logsuper->l2bsize); in lmLogInit()
1332 log, (unsigned long long)log->base, log->size); in lmLogInit()
1335 log->page = le32_to_cpu(logsuper->end) / LOGPSIZE; in lmLogInit()
1336 log->eor = le32_to_cpu(logsuper->end) - (LOGPSIZE * log->page); in lmLogInit()
1342 if ((rc = lbmRead(log, log->page, &bp))) in lmLogInit()
1348 le32_to_cpu(logsuper->end), log->page, log->eor, in lmLogInit()
1351 log->bp = bp; in lmLogInit()
1352 bp->l_pn = log->page; in lmLogInit()
1353 bp->l_eor = log->eor; in lmLogInit()
1356 if (log->eor >= LOGPSIZE - LOGPTLRSIZE) in lmLogInit()
1357 lmNextPage(log); in lmLogInit()
1373 lrd.log.syncpt.sync = 0; in lmLogInit()
1374 lsn = lmWriteRecord(log, NULL, &lrd, NULL); in lmLogInit()
1375 bp = log->bp; in lmLogInit()
1379 lbmWrite(log, bp, lbmWRITE | lbmSYNC, 0); in lmLogInit()
1387 log->serial = le32_to_cpu(logsuper->serial) + 1; in lmLogInit()
1388 logsuper->serial = cpu_to_le32(log->serial); in lmLogInit()
1389 lbmDirectWrite(log, bpsuper, lbmWRITE | lbmRELEASE | lbmSYNC); in lmLogInit()
1395 log->logsize = (log->size - 2) << L2LOGPSIZE; in lmLogInit()
1396 log->lsn = lsn; in lmLogInit()
1397 log->syncpt = lsn; in lmLogInit()
1398 log->sync = log->syncpt; in lmLogInit()
1399 log->nextsync = LOGSYNC_DELTA(log->logsize); in lmLogInit()
1402 log->lsn, log->syncpt, log->sync); in lmLogInit()
1407 log->clsn = lsn; in lmLogInit()
1415 log->wqueue = NULL; in lmLogInit()
1423 lbmLogShutdown(log); in lmLogInit()
1445 struct jfs_log *log = sbi->log; in lmLogClose() local
1449 jfs_info("lmLogClose: log:0x%p", log); in lmLogClose()
1452 LOG_LOCK(log); in lmLogClose()
1454 LOG_UNLOCK(log); in lmLogClose()
1455 sbi->log = NULL; in lmLogClose()
1463 if (test_bit(log_INLINELOG, &log->flag)) { in lmLogClose()
1467 rc = lmLogShutdown(log); in lmLogClose()
1468 kfree(log); in lmLogClose()
1472 if (!log->no_integrity) in lmLogClose()
1473 lmLogFileSystem(log, sbi, 0); in lmLogClose()
1475 if (!list_empty(&log->sb_list)) in lmLogClose()
1485 if (log->no_integrity) in lmLogClose()
1491 list_del(&log->journal_list); in lmLogClose()
1492 bdev = log->bdev; in lmLogClose()
1493 rc = lmLogShutdown(log); in lmLogClose()
1497 kfree(log); in lmLogClose()
1516 void jfs_flush_journal(struct jfs_log *log, int wait) in jfs_flush_journal() argument
1522 if (!log) in jfs_flush_journal()
1525 jfs_info("jfs_flush_journal: log:0x%p wait=%d", log, wait); in jfs_flush_journal()
1527 LOGGC_LOCK(log); in jfs_flush_journal()
1529 if (!list_empty(&log->cqueue)) { in jfs_flush_journal()
1534 target = list_entry(log->cqueue.prev, struct tblock, cqueue); in jfs_flush_journal()
1536 if (test_bit(log_FLUSH, &log->flag)) { in jfs_flush_journal()
1543 if (log->flush_tblk) in jfs_flush_journal()
1544 log->flush_tblk = target; in jfs_flush_journal()
1547 log->flush_tblk = target; in jfs_flush_journal()
1548 set_bit(log_FLUSH, &log->flag); in jfs_flush_journal()
1553 if (!(log->cflag & logGC_PAGEOUT)) { in jfs_flush_journal()
1554 log->cflag |= logGC_PAGEOUT; in jfs_flush_journal()
1555 lmGCwrite(log, 0); in jfs_flush_journal()
1559 if ((wait > 1) || test_bit(log_SYNCBARRIER, &log->flag)) { in jfs_flush_journal()
1561 set_bit(log_FLUSH, &log->flag); in jfs_flush_journal()
1562 log->flush_tblk = NULL; in jfs_flush_journal()
1570 LOGGC_UNLOCK(log); in jfs_flush_journal()
1572 LOGGC_LOCK(log); in jfs_flush_journal()
1575 LOGGC_UNLOCK(log); in jfs_flush_journal()
1580 write_special_inodes(log, filemap_fdatawrite); in jfs_flush_journal()
1586 if ((!list_empty(&log->cqueue)) || !list_empty(&log->synclist)) { in jfs_flush_journal()
1589 write_special_inodes(log, filemap_fdatawrite); in jfs_flush_journal()
1590 if (list_empty(&log->cqueue) && in jfs_flush_journal()
1591 list_empty(&log->synclist)) in jfs_flush_journal()
1595 assert(list_empty(&log->cqueue)); in jfs_flush_journal()
1598 if (!list_empty(&log->synclist)) { in jfs_flush_journal()
1602 list_for_each_entry(lp, &log->synclist, synclist) { in jfs_flush_journal()
1619 WARN_ON(!list_empty(&log->synclist)); in jfs_flush_journal()
1621 clear_bit(log_FLUSH, &log->flag); in jfs_flush_journal()
1638 int lmLogShutdown(struct jfs_log * log) in lmLogShutdown() argument
1648 jfs_info("lmLogShutdown: log:0x%p", log); in lmLogShutdown()
1650 jfs_flush_journal(log, 2); in lmLogShutdown()
1660 lrd.log.syncpt.sync = 0; in lmLogShutdown()
1662 lsn = lmWriteRecord(log, NULL, &lrd, NULL); in lmLogShutdown()
1663 bp = log->bp; in lmLogShutdown()
1666 lbmWrite(log, log->bp, lbmWRITE | lbmRELEASE | lbmSYNC, 0); in lmLogShutdown()
1667 lbmIOWait(log->bp, lbmFREE); in lmLogShutdown()
1668 log->bp = NULL; in lmLogShutdown()
1675 if ((rc = lbmRead(log, 1, &bpsuper))) in lmLogShutdown()
1681 lbmDirectWrite(log, bpsuper, lbmWRITE | lbmRELEASE | lbmSYNC); in lmLogShutdown()
1685 lsn, log->page, log->eor); in lmLogShutdown()
1691 lbmLogShutdown(log); in lmLogShutdown()
1714 static int lmLogFileSystem(struct jfs_log * log, struct jfs_sb_info *sbi, in lmLogFileSystem() argument
1726 if ((rc = lbmRead(log, 1, &bpsuper))) in lmLogFileSystem()
1768 lbmDirectWrite(log, bpsuper, lbmWRITE | lbmRELEASE | lbmSYNC); in lmLogFileSystem()
1794 static int lbmLogInit(struct jfs_log * log) in lbmLogInit() argument
1799 jfs_info("lbmLogInit: log:0x%p", log); in lbmLogInit()
1802 log->bp = NULL; in lbmLogInit()
1805 log->wqueue = NULL; in lbmLogInit()
1816 init_waitqueue_head(&log->free_wait); in lbmLogInit()
1818 log->lbuf_free = NULL; in lbmLogInit()
1840 lbuf->l_log = log; in lbmLogInit()
1843 lbuf->l_freelist = log->lbuf_free; in lbmLogInit()
1844 log->lbuf_free = lbuf; in lbmLogInit()
1852 lbmLogShutdown(log); in lbmLogInit()
1862 static void lbmLogShutdown(struct jfs_log * log) in lbmLogShutdown() argument
1866 jfs_info("lbmLogShutdown: log:0x%p", log); in lbmLogShutdown()
1868 lbuf = log->lbuf_free; in lbmLogShutdown()
1883 static struct lbuf *lbmAllocate(struct jfs_log * log, int pn) in lbmAllocate() argument
1892 LCACHE_SLEEP_COND(log->free_wait, (bp = log->lbuf_free), flags); in lbmAllocate()
1893 log->lbuf_free = bp->l_freelist; in lbmAllocate()
1902 bp->l_blkno = log->base + (pn << (L2LOGPSIZE - log->l2bsize)); in lbmAllocate()
1927 struct jfs_log *log = bp->l_log; in lbmfree() local
1934 bp->l_freelist = log->lbuf_free; in lbmfree()
1935 log->lbuf_free = bp; in lbmfree()
1937 wake_up(&log->free_wait); in lbmfree()
1969 static int lbmRead(struct jfs_log * log, int pn, struct lbuf ** bpp) in lbmRead() argument
1977 *bpp = bp = lbmAllocate(log, pn); in lbmRead()
1984 bio->bi_iter.bi_sector = bp->l_blkno << (log->l2bsize - 9); in lbmRead()
1985 bio_set_dev(bio, log->bdev); in lbmRead()
1994 if (log->no_integrity) { in lbmRead()
2022 static void lbmWrite(struct jfs_log * log, struct lbuf * bp, int flag, in lbmWrite() argument
2032 log->base + (bp->l_pn << (L2LOGPSIZE - log->l2bsize)); in lbmWrite()
2047 tail = log->wqueue; in lbmWrite()
2053 log->wqueue = bp; in lbmWrite()
2056 log->wqueue = bp; in lbmWrite()
2077 LOGGC_UNLOCK(log); in lbmWrite()
2079 LOGGC_LOCK(log); in lbmWrite()
2090 static void lbmDirectWrite(struct jfs_log * log, struct lbuf * bp, int flag) in lbmDirectWrite() argument
2102 log->base + (bp->l_pn << (L2LOGPSIZE - log->l2bsize)); in lbmDirectWrite()
2123 struct jfs_log *log = bp->l_log; in lbmStartIO() local
2128 bio->bi_iter.bi_sector = bp->l_blkno << (log->l2bsize - 9); in lbmStartIO()
2129 bio_set_dev(bio, log->bdev); in lbmStartIO()
2139 if (log->no_integrity) { in lbmStartIO()
2183 struct jfs_log *log; in lbmIODone() local
2233 log = bp->l_log; in lbmIODone()
2234 log->clsn = (bp->l_pn << L2LOGPSIZE) + bp->l_ceor; in lbmIODone()
2242 tail = log->wqueue; in lbmIODone()
2250 log->wqueue = NULL; in lbmIODone()
2364 int lmLogFormat(struct jfs_log *log, s64 logAddress, int logSize) in lmLogFormat() argument
2378 sbi = list_entry(log->sb_list.next, struct jfs_sb_info, log_list); in lmLogFormat()
2381 bp = lbmAllocate(log, 1); in lmLogFormat()
2449 lrd_ptr->log.syncpt.sync = 0; in lmLogFormat()