fs/jfs/jfs_logmgr.c
1240
struct lrd lrd;
fs/jfs/jfs_logmgr.c
1359
lrd.logtid = 0;
fs/jfs/jfs_logmgr.c
1360
lrd.backchain = 0;
fs/jfs/jfs_logmgr.c
1361
lrd.type = cpu_to_le16(LOG_SYNCPT);
fs/jfs/jfs_logmgr.c
1362
lrd.length = 0;
fs/jfs/jfs_logmgr.c
1363
lrd.log.syncpt.sync = 0;
fs/jfs/jfs_logmgr.c
1364
lsn = lmWriteRecord(log, NULL, &lrd, NULL);
fs/jfs/jfs_logmgr.c
158
struct lrd * lrd, struct tlock * tlck);
fs/jfs/jfs_logmgr.c
1631
struct lrd lrd;
fs/jfs/jfs_logmgr.c
1646
lrd.logtid = 0;
fs/jfs/jfs_logmgr.c
1647
lrd.backchain = 0;
fs/jfs/jfs_logmgr.c
1648
lrd.type = cpu_to_le16(LOG_SYNCPT);
fs/jfs/jfs_logmgr.c
1649
lrd.length = 0;
fs/jfs/jfs_logmgr.c
1650
lrd.log.syncpt.sync = 0;
fs/jfs/jfs_logmgr.c
1652
lsn = lmWriteRecord(log, NULL, &lrd, NULL);
fs/jfs/jfs_logmgr.c
223
int lmLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
fs/jfs/jfs_logmgr.c
232
log, tblk, lrd, tlck);
fs/jfs/jfs_logmgr.c
2356
struct lrd *lrd_ptr;
fs/jfs/jfs_logmgr.c
2429
lrd_ptr = (struct lrd *) &lp->data;
fs/jfs/jfs_logmgr.c
312
lsn = lmWriteRecord(log, tblk, lrd, tlck);
fs/jfs/jfs_logmgr.c
342
lmWriteRecord(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
fs/jfs/jfs_logmgr.c
462
lrd->length = cpu_to_le16(len);
fs/jfs/jfs_logmgr.c
464
src = (caddr_t) lrd;
fs/jfs/jfs_logmgr.c
489
if (lrd->type & cpu_to_le16(LOG_COMMIT)) {
fs/jfs/jfs_logmgr.c
519
le16_to_cpu(lrd->type), log->bp, log->page, dstoffset);
fs/jfs/jfs_logmgr.c
926
struct lrd lrd;
fs/jfs/jfs_logmgr.c
962
lrd.logtid = 0;
fs/jfs/jfs_logmgr.c
963
lrd.backchain = 0;
fs/jfs/jfs_logmgr.c
964
lrd.type = cpu_to_le16(LOG_SYNCPT);
fs/jfs/jfs_logmgr.c
965
lrd.length = 0;
fs/jfs/jfs_logmgr.c
966
lrd.log.syncpt.sync = cpu_to_le32(log->sync);
fs/jfs/jfs_logmgr.c
967
lsn = lmWriteRecord(log, NULL, &lrd, NULL);
fs/jfs/jfs_logmgr.h
339
#define LOGRDSIZE (sizeof(struct lrd))
fs/jfs/jfs_mount.c
492
struct lrd lrd;
fs/jfs/jfs_mount.c
494
lrd.logtid = 0;
fs/jfs/jfs_mount.c
495
lrd.backchain = 0;
fs/jfs/jfs_mount.c
496
lrd.type = cpu_to_le16(LOG_MOUNT);
fs/jfs/jfs_mount.c
497
lrd.length = 0;
fs/jfs/jfs_mount.c
498
lrd.aggregate = cpu_to_le32(new_encode_dev(sb->s_bdev->bd_dev));
fs/jfs/jfs_mount.c
499
lmLog(log, NULL, &lrd, NULL);
fs/jfs/jfs_txnmgr.c
1138
struct lrd *lrd;
fs/jfs/jfs_txnmgr.c
1166
lrd = &cd.lrd;
fs/jfs/jfs_txnmgr.c
1167
lrd->logtid = cpu_to_le32(tblk->logtid);
fs/jfs/jfs_txnmgr.c
1168
lrd->backchain = 0;
fs/jfs/jfs_txnmgr.c
1302
lrd->type = cpu_to_le16(LOG_COMMIT);
fs/jfs/jfs_txnmgr.c
1303
lrd->length = 0;
fs/jfs/jfs_txnmgr.c
1304
lmLog(log, tblk, lrd, NULL);
fs/jfs/jfs_txnmgr.c
1379
struct lrd *lrd = &cd->lrd;
fs/jfs/jfs_txnmgr.c
1391
lrd->aggregate = cpu_to_le32(JFS_SBI(ip->i_sb)->aggregate);
fs/jfs/jfs_txnmgr.c
1392
lrd->log.redopage.fileset = cpu_to_le32(JFS_IP(ip)->fileset);
fs/jfs/jfs_txnmgr.c
1393
lrd->log.redopage.inode = cpu_to_le32(ip->i_ino);
fs/jfs/jfs_txnmgr.c
1398
xtLog(log, tblk, lrd, tlck);
fs/jfs/jfs_txnmgr.c
1402
dtLog(log, tblk, lrd, tlck);
fs/jfs/jfs_txnmgr.c
1406
diLog(log, tblk, lrd, tlck, cd);
fs/jfs/jfs_txnmgr.c
1410
mapLog(log, tblk, lrd, tlck);
fs/jfs/jfs_txnmgr.c
1414
dataLog(log, tblk, lrd, tlck);
fs/jfs/jfs_txnmgr.c
1430
static void diLog(struct jfs_log *log, struct tblock *tblk, struct lrd *lrd,
fs/jfs/jfs_txnmgr.c
1440
lrd->log.redopage.type = cpu_to_le16(LOG_INODE);
fs/jfs/jfs_txnmgr.c
1441
lrd->log.redopage.l2linesize = cpu_to_le16(L2INODESLOTSIZE);
fs/jfs/jfs_txnmgr.c
1443
pxd = &lrd->log.redopage.pxd;
fs/jfs/jfs_txnmgr.c
1450
lrd->type = cpu_to_le16(LOG_REDOPAGE);
fs/jfs/jfs_txnmgr.c
1454
lrd->backchain = cpu_to_le32(lmLog(log, tblk, lrd, tlck));
fs/jfs/jfs_txnmgr.c
1476
lrd->type = cpu_to_le16(LOG_NOREDOINOEXT);
fs/jfs/jfs_txnmgr.c
1484
lrd->log.noredoinoext.iagnum =
fs/jfs/jfs_txnmgr.c
1486
lrd->log.noredoinoext.inoext_idx =
fs/jfs/jfs_txnmgr.c
1491
lrd->backchain = cpu_to_le32(lmLog(log, tblk, lrd, NULL));
fs/jfs/jfs_txnmgr.c
1508
static void dataLog(struct jfs_log *log, struct tblock *tblk, struct lrd *lrd,
fs/jfs/jfs_txnmgr.c
151
static void diLog(struct jfs_log *log, struct tblock *tblk, struct lrd *lrd,
fs/jfs/jfs_txnmgr.c
1517
lrd->log.redopage.type = cpu_to_le16(LOG_DATA);
fs/jfs/jfs_txnmgr.c
1518
lrd->log.redopage.l2linesize = cpu_to_le16(L2DATASLOTSIZE);
fs/jfs/jfs_txnmgr.c
1520
pxd = &lrd->log.redopage.pxd;
fs/jfs/jfs_txnmgr.c
1523
lrd->type = cpu_to_le16(LOG_REDOPAGE);
fs/jfs/jfs_txnmgr.c
153
static void dataLog(struct jfs_log *log, struct tblock *tblk, struct lrd *lrd,
fs/jfs/jfs_txnmgr.c
1541
lrd->backchain = cpu_to_le32(lmLog(log, tblk, lrd, tlck));
fs/jfs/jfs_txnmgr.c
155
static void dtLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
fs/jfs/jfs_txnmgr.c
1554
static void dtLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
fs/jfs/jfs_txnmgr.c
1564
lrd->log.redopage.type = cpu_to_le16(LOG_DTREE);
fs/jfs/jfs_txnmgr.c
1565
lrd->log.redopage.l2linesize = cpu_to_le16(L2DTSLOTSIZE);
fs/jfs/jfs_txnmgr.c
1567
pxd = &lrd->log.redopage.pxd;
fs/jfs/jfs_txnmgr.c
157
static void mapLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
fs/jfs/jfs_txnmgr.c
1570
lrd->log.redopage.type |= cpu_to_le16(LOG_BTROOT);
fs/jfs/jfs_txnmgr.c
1583
lrd->type = cpu_to_le16(LOG_REDOPAGE);
fs/jfs/jfs_txnmgr.c
1585
lrd->log.redopage.type |= cpu_to_le16(LOG_EXTEND);
fs/jfs/jfs_txnmgr.c
1587
lrd->log.redopage.type |= cpu_to_le16(LOG_NEW);
fs/jfs/jfs_txnmgr.c
1591
lrd->backchain = cpu_to_le32(lmLog(log, tblk, lrd, tlck));
fs/jfs/jfs_txnmgr.c
1616
lrd->type = cpu_to_le16(LOG_REDOPAGE);
fs/jfs/jfs_txnmgr.c
1620
lrd->backchain = cpu_to_le32(lmLog(log, tblk, lrd, tlck));
fs/jfs/jfs_txnmgr.c
1639
lrd->type = cpu_to_le16(LOG_NOREDOPAGE);
fs/jfs/jfs_txnmgr.c
1642
lrd->backchain = cpu_to_le32(lmLog(log, tblk, lrd, NULL));
fs/jfs/jfs_txnmgr.c
1657
static void xtLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
fs/jfs/jfs_txnmgr.c
166
static void xtLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
fs/jfs/jfs_txnmgr.c
1674
lrd->log.redopage.type = cpu_to_le16(LOG_XTREE);
fs/jfs/jfs_txnmgr.c
1675
lrd->log.redopage.l2linesize = cpu_to_le16(L2XTSLOTSIZE);
fs/jfs/jfs_txnmgr.c
1677
page_pxd = &lrd->log.redopage.pxd;
fs/jfs/jfs_txnmgr.c
1680
lrd->log.redopage.type |= cpu_to_le16(LOG_BTROOT);
fs/jfs/jfs_txnmgr.c
1683
lrd->log.redopage.type |=
fs/jfs/jfs_txnmgr.c
1706
lrd->type = cpu_to_le16(LOG_REDOPAGE);
fs/jfs/jfs_txnmgr.c
1710
lrd->backchain = cpu_to_le32(lmLog(log, tblk, lrd, tlck));
fs/jfs/jfs_txnmgr.c
1795
lrd->type = cpu_to_le16(LOG_NOREDOPAGE);
fs/jfs/jfs_txnmgr.c
1800
lrd->backchain =
fs/jfs/jfs_txnmgr.c
1801
cpu_to_le32(lmLog(log, tblk, lrd, NULL));
fs/jfs/jfs_txnmgr.c
1805
lrd->type = cpu_to_le16(LOG_REDOPAGE);
fs/jfs/jfs_txnmgr.c
1806
lrd->backchain =
fs/jfs/jfs_txnmgr.c
1807
cpu_to_le32(lmLog(log, tblk, lrd, tlck));
fs/jfs/jfs_txnmgr.c
1815
lrd->type = cpu_to_le16(LOG_UPDATEMAP);
fs/jfs/jfs_txnmgr.c
1816
lrd->log.updatemap.type = cpu_to_le16(LOG_FREEXADLIST);
fs/jfs/jfs_txnmgr.c
1819
lrd->log.updatemap.nxd =
fs/jfs/jfs_txnmgr.c
1825
lrd->backchain = cpu_to_le32(lmLog(log, tblk, lrd, tlck));
fs/jfs/jfs_txnmgr.c
1916
lrd->type = cpu_to_le16(LOG_REDOPAGE);
fs/jfs/jfs_txnmgr.c
1920
lrd->backchain = cpu_to_le32(lmLog(log, tblk, lrd, tlck));
fs/jfs/jfs_txnmgr.c
1933
lrd->type = cpu_to_le16(LOG_UPDATEMAP);
fs/jfs/jfs_txnmgr.c
1934
lrd->log.updatemap.type = cpu_to_le16(LOG_FREEPXD);
fs/jfs/jfs_txnmgr.c
1935
lrd->log.updatemap.nxd = cpu_to_le16(1);
fs/jfs/jfs_txnmgr.c
1936
lrd->log.updatemap.pxd = pxdlock->pxd;
fs/jfs/jfs_txnmgr.c
1938
lrd->backchain =
fs/jfs/jfs_txnmgr.c
1939
cpu_to_le32(lmLog(log, tblk, lrd, NULL));
fs/jfs/jfs_txnmgr.c
1950
lrd->type = cpu_to_le16(LOG_UPDATEMAP);
fs/jfs/jfs_txnmgr.c
1951
lrd->log.updatemap.type =
fs/jfs/jfs_txnmgr.c
1955
lrd->log.updatemap.nxd =
fs/jfs/jfs_txnmgr.c
1961
lrd->backchain =
fs/jfs/jfs_txnmgr.c
1962
cpu_to_le32(lmLog(log, tblk, lrd, tlck));
fs/jfs/jfs_txnmgr.c
2040
static void mapLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
fs/jfs/jfs_txnmgr.c
2058
lrd->type = cpu_to_le16(LOG_NOREDOPAGE);
fs/jfs/jfs_txnmgr.c
2060
pxd = &lrd->log.redopage.pxd;
fs/jfs/jfs_txnmgr.c
2062
lrd->backchain = cpu_to_le32(lmLog(log, tblk, lrd, NULL));
fs/jfs/jfs_txnmgr.c
2074
lrd->type = cpu_to_le16(LOG_UPDATEMAP);
fs/jfs/jfs_txnmgr.c
2075
lrd->log.updatemap.type = cpu_to_le16(LOG_FREEPXD);
fs/jfs/jfs_txnmgr.c
2076
lrd->log.updatemap.nxd = cpu_to_le16(1);
fs/jfs/jfs_txnmgr.c
2077
lrd->log.updatemap.pxd = pxdlock->pxd;
fs/jfs/jfs_txnmgr.c
2078
lrd->backchain = cpu_to_le32(lmLog(log, tblk, lrd, NULL));
fs/jfs/jfs_txnmgr.c
2097
lrd->type = cpu_to_le16(LOG_UPDATEMAP);
fs/jfs/jfs_txnmgr.c
2102
lrd->log.updatemap.type =
fs/jfs/jfs_txnmgr.c
2105
lrd->log.updatemap.type =
fs/jfs/jfs_txnmgr.c
2107
lrd->log.updatemap.nxd = cpu_to_le16(1);
fs/jfs/jfs_txnmgr.c
2108
lrd->log.updatemap.pxd = pxdlock->pxd;
fs/jfs/jfs_txnmgr.c
2109
lrd->backchain =
fs/jfs/jfs_txnmgr.c
2110
cpu_to_le32(lmLog(log, tblk, lrd, NULL));
fs/jfs/jfs_txnmgr.h
270
struct lrd lrd; /* : log record descriptor */
fs/jfs/jfs_txnmgr.h
291
extern int lmLog(struct jfs_log *, struct tblock *, struct lrd *,