lrd 164 fs/jfs/jfs_logmgr.c struct lrd * lrd, struct tlock * tlck); lrd 225 fs/jfs/jfs_logmgr.c int lmLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd, lrd 234 fs/jfs/jfs_logmgr.c log, tblk, lrd, tlck); lrd 314 fs/jfs/jfs_logmgr.c lsn = lmWriteRecord(log, tblk, lrd, tlck); lrd 344 fs/jfs/jfs_logmgr.c lmWriteRecord(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd, lrd 472 fs/jfs/jfs_logmgr.c lrd->length = cpu_to_le16(len); lrd 474 fs/jfs/jfs_logmgr.c src = (caddr_t) lrd; lrd 499 fs/jfs/jfs_logmgr.c if (lrd->type & cpu_to_le16(LOG_COMMIT)) { lrd 529 fs/jfs/jfs_logmgr.c le16_to_cpu(lrd->type), log->bp, log->page, dstoffset); lrd 936 fs/jfs/jfs_logmgr.c struct lrd lrd; lrd 972 fs/jfs/jfs_logmgr.c lrd.logtid = 0; lrd 973 fs/jfs/jfs_logmgr.c lrd.backchain = 0; lrd 974 fs/jfs/jfs_logmgr.c lrd.type = cpu_to_le16(LOG_SYNCPT); lrd 975 fs/jfs/jfs_logmgr.c lrd.length = 0; lrd 976 fs/jfs/jfs_logmgr.c lrd.log.syncpt.sync = cpu_to_le32(log->sync); lrd 977 fs/jfs/jfs_logmgr.c lsn = lmWriteRecord(log, NULL, &lrd, NULL); lrd 1251 fs/jfs/jfs_logmgr.c struct lrd lrd; lrd 1369 fs/jfs/jfs_logmgr.c lrd.logtid = 0; lrd 1370 fs/jfs/jfs_logmgr.c lrd.backchain = 0; lrd 1371 fs/jfs/jfs_logmgr.c lrd.type = cpu_to_le16(LOG_SYNCPT); lrd 1372 fs/jfs/jfs_logmgr.c lrd.length = 0; lrd 1373 fs/jfs/jfs_logmgr.c lrd.log.syncpt.sync = 0; lrd 1374 fs/jfs/jfs_logmgr.c lsn = lmWriteRecord(log, NULL, &lrd, NULL); lrd 1641 fs/jfs/jfs_logmgr.c struct lrd lrd; lrd 1656 fs/jfs/jfs_logmgr.c lrd.logtid = 0; lrd 1657 fs/jfs/jfs_logmgr.c lrd.backchain = 0; lrd 1658 fs/jfs/jfs_logmgr.c lrd.type = cpu_to_le16(LOG_SYNCPT); lrd 1659 fs/jfs/jfs_logmgr.c lrd.length = 0; lrd 1660 fs/jfs/jfs_logmgr.c lrd.log.syncpt.sync = 0; lrd 1662 fs/jfs/jfs_logmgr.c lsn = lmWriteRecord(log, NULL, &lrd, NULL); lrd 2371 fs/jfs/jfs_logmgr.c struct lrd *lrd_ptr; lrd 2444 fs/jfs/jfs_logmgr.c lrd_ptr = (struct lrd *) &lp->data; lrd 339 fs/jfs/jfs_logmgr.h #define LOGRDSIZE (sizeof(struct lrd)) lrd 484 fs/jfs/jfs_mount.c struct lrd lrd; lrd 486 fs/jfs/jfs_mount.c lrd.logtid = 0; lrd 487 fs/jfs/jfs_mount.c lrd.backchain = 0; lrd 488 fs/jfs/jfs_mount.c lrd.type = cpu_to_le16(LOG_MOUNT); lrd 489 fs/jfs/jfs_mount.c lrd.length = 0; lrd 490 fs/jfs/jfs_mount.c lrd.aggregate = cpu_to_le32(new_encode_dev(sb->s_bdev->bd_dev)); lrd 491 fs/jfs/jfs_mount.c lmLog(log, NULL, &lrd, NULL); lrd 151 fs/jfs/jfs_txnmgr.c static int diLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd, lrd 153 fs/jfs/jfs_txnmgr.c static int dataLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd, lrd 155 fs/jfs/jfs_txnmgr.c static void dtLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd, lrd 157 fs/jfs/jfs_txnmgr.c static void mapLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd, lrd 166 fs/jfs/jfs_txnmgr.c static void xtLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd, lrd 1131 fs/jfs/jfs_txnmgr.c struct lrd *lrd; lrd 1159 fs/jfs/jfs_txnmgr.c lrd = &cd.lrd; lrd 1160 fs/jfs/jfs_txnmgr.c lrd->logtid = cpu_to_le32(tblk->logtid); lrd 1161 fs/jfs/jfs_txnmgr.c lrd->backchain = 0; lrd 1296 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_COMMIT); lrd 1297 fs/jfs/jfs_txnmgr.c lrd->length = 0; lrd 1298 fs/jfs/jfs_txnmgr.c lmLog(log, tblk, lrd, NULL); lrd 1374 fs/jfs/jfs_txnmgr.c struct lrd *lrd = &cd->lrd; lrd 1386 fs/jfs/jfs_txnmgr.c lrd->aggregate = cpu_to_le32(JFS_SBI(ip->i_sb)->aggregate); lrd 1387 fs/jfs/jfs_txnmgr.c lrd->log.redopage.fileset = cpu_to_le32(JFS_IP(ip)->fileset); lrd 1388 fs/jfs/jfs_txnmgr.c lrd->log.redopage.inode = cpu_to_le32(ip->i_ino); lrd 1393 fs/jfs/jfs_txnmgr.c xtLog(log, tblk, lrd, tlck); lrd 1397 fs/jfs/jfs_txnmgr.c dtLog(log, tblk, lrd, tlck); lrd 1401 fs/jfs/jfs_txnmgr.c diLog(log, tblk, lrd, tlck, cd); lrd 1405 fs/jfs/jfs_txnmgr.c mapLog(log, tblk, lrd, tlck); lrd 1409 fs/jfs/jfs_txnmgr.c dataLog(log, tblk, lrd, tlck); lrd 1425 fs/jfs/jfs_txnmgr.c static int diLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd, lrd 1436 fs/jfs/jfs_txnmgr.c lrd->log.redopage.type = cpu_to_le16(LOG_INODE); lrd 1437 fs/jfs/jfs_txnmgr.c lrd->log.redopage.l2linesize = cpu_to_le16(L2INODESLOTSIZE); lrd 1439 fs/jfs/jfs_txnmgr.c pxd = &lrd->log.redopage.pxd; lrd 1446 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_REDOPAGE); lrd 1450 fs/jfs/jfs_txnmgr.c lrd->backchain = cpu_to_le32(lmLog(log, tblk, lrd, tlck)); lrd 1472 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_NOREDOINOEXT); lrd 1480 fs/jfs/jfs_txnmgr.c lrd->log.noredoinoext.iagnum = lrd 1482 fs/jfs/jfs_txnmgr.c lrd->log.noredoinoext.inoext_idx = lrd 1487 fs/jfs/jfs_txnmgr.c lrd->backchain = cpu_to_le32(lmLog(log, tblk, lrd, NULL)); lrd 1509 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_UPDATEMAP); lrd 1514 fs/jfs/jfs_txnmgr.c lrd->log.updatemap.type = lrd 1517 fs/jfs/jfs_txnmgr.c lrd->log.updatemap.type = lrd 1519 fs/jfs/jfs_txnmgr.c lrd->log.updatemap.nxd = cpu_to_le16(1); lrd 1520 fs/jfs/jfs_txnmgr.c lrd->log.updatemap.pxd = pxdlock->pxd; lrd 1521 fs/jfs/jfs_txnmgr.c lrd->backchain = lrd 1522 fs/jfs/jfs_txnmgr.c cpu_to_le32(lmLog(log, tblk, lrd, NULL)); lrd 1538 fs/jfs/jfs_txnmgr.c static int dataLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd, lrd 1547 fs/jfs/jfs_txnmgr.c lrd->log.redopage.type = cpu_to_le16(LOG_DATA); lrd 1548 fs/jfs/jfs_txnmgr.c lrd->log.redopage.l2linesize = cpu_to_le16(L2DATASLOTSIZE); lrd 1550 fs/jfs/jfs_txnmgr.c pxd = &lrd->log.redopage.pxd; lrd 1553 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_REDOPAGE); lrd 1571 fs/jfs/jfs_txnmgr.c lrd->backchain = cpu_to_le32(lmLog(log, tblk, lrd, tlck)); lrd 1584 fs/jfs/jfs_txnmgr.c static void dtLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd, lrd 1594 fs/jfs/jfs_txnmgr.c lrd->log.redopage.type = cpu_to_le16(LOG_DTREE); lrd 1595 fs/jfs/jfs_txnmgr.c lrd->log.redopage.l2linesize = cpu_to_le16(L2DTSLOTSIZE); lrd 1597 fs/jfs/jfs_txnmgr.c pxd = &lrd->log.redopage.pxd; lrd 1600 fs/jfs/jfs_txnmgr.c lrd->log.redopage.type |= cpu_to_le16(LOG_BTROOT); lrd 1613 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_REDOPAGE); lrd 1615 fs/jfs/jfs_txnmgr.c lrd->log.redopage.type |= cpu_to_le16(LOG_EXTEND); lrd 1617 fs/jfs/jfs_txnmgr.c lrd->log.redopage.type |= cpu_to_le16(LOG_NEW); lrd 1621 fs/jfs/jfs_txnmgr.c lrd->backchain = cpu_to_le32(lmLog(log, tblk, lrd, tlck)); lrd 1646 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_REDOPAGE); lrd 1650 fs/jfs/jfs_txnmgr.c lrd->backchain = cpu_to_le32(lmLog(log, tblk, lrd, tlck)); lrd 1669 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_NOREDOPAGE); lrd 1672 fs/jfs/jfs_txnmgr.c lrd->backchain = cpu_to_le32(lmLog(log, tblk, lrd, NULL)); lrd 1687 fs/jfs/jfs_txnmgr.c static void xtLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd, lrd 1704 fs/jfs/jfs_txnmgr.c lrd->log.redopage.type = cpu_to_le16(LOG_XTREE); lrd 1705 fs/jfs/jfs_txnmgr.c lrd->log.redopage.l2linesize = cpu_to_le16(L2XTSLOTSIZE); lrd 1707 fs/jfs/jfs_txnmgr.c page_pxd = &lrd->log.redopage.pxd; lrd 1710 fs/jfs/jfs_txnmgr.c lrd->log.redopage.type |= cpu_to_le16(LOG_BTROOT); lrd 1713 fs/jfs/jfs_txnmgr.c lrd->log.redopage.type |= lrd 1736 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_REDOPAGE); lrd 1740 fs/jfs/jfs_txnmgr.c lrd->backchain = cpu_to_le32(lmLog(log, tblk, lrd, tlck)); lrd 1825 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_NOREDOPAGE); lrd 1830 fs/jfs/jfs_txnmgr.c lrd->backchain = lrd 1831 fs/jfs/jfs_txnmgr.c cpu_to_le32(lmLog(log, tblk, lrd, NULL)); lrd 1835 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_REDOPAGE); lrd 1836 fs/jfs/jfs_txnmgr.c lrd->backchain = lrd 1837 fs/jfs/jfs_txnmgr.c cpu_to_le32(lmLog(log, tblk, lrd, tlck)); lrd 1845 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_UPDATEMAP); lrd 1846 fs/jfs/jfs_txnmgr.c lrd->log.updatemap.type = cpu_to_le16(LOG_FREEXADLIST); lrd 1849 fs/jfs/jfs_txnmgr.c lrd->log.updatemap.nxd = lrd 1855 fs/jfs/jfs_txnmgr.c lrd->backchain = cpu_to_le32(lmLog(log, tblk, lrd, tlck)); lrd 1946 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_REDOPAGE); lrd 1950 fs/jfs/jfs_txnmgr.c lrd->backchain = cpu_to_le32(lmLog(log, tblk, lrd, tlck)); lrd 1963 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_UPDATEMAP); lrd 1964 fs/jfs/jfs_txnmgr.c lrd->log.updatemap.type = cpu_to_le16(LOG_FREEPXD); lrd 1965 fs/jfs/jfs_txnmgr.c lrd->log.updatemap.nxd = cpu_to_le16(1); lrd 1966 fs/jfs/jfs_txnmgr.c lrd->log.updatemap.pxd = pxdlock->pxd; lrd 1968 fs/jfs/jfs_txnmgr.c lrd->backchain = lrd 1969 fs/jfs/jfs_txnmgr.c cpu_to_le32(lmLog(log, tblk, lrd, NULL)); lrd 1980 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_UPDATEMAP); lrd 1981 fs/jfs/jfs_txnmgr.c lrd->log.updatemap.type = lrd 1985 fs/jfs/jfs_txnmgr.c lrd->log.updatemap.nxd = lrd 1991 fs/jfs/jfs_txnmgr.c lrd->backchain = lrd 1992 fs/jfs/jfs_txnmgr.c cpu_to_le32(lmLog(log, tblk, lrd, tlck)); lrd 2070 fs/jfs/jfs_txnmgr.c static void mapLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd, lrd 2088 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_NOREDOPAGE); lrd 2090 fs/jfs/jfs_txnmgr.c pxd = &lrd->log.redopage.pxd; lrd 2092 fs/jfs/jfs_txnmgr.c lrd->backchain = cpu_to_le32(lmLog(log, tblk, lrd, NULL)); lrd 2104 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_UPDATEMAP); lrd 2105 fs/jfs/jfs_txnmgr.c lrd->log.updatemap.type = cpu_to_le16(LOG_FREEPXD); lrd 2106 fs/jfs/jfs_txnmgr.c lrd->log.updatemap.nxd = cpu_to_le16(1); lrd 2107 fs/jfs/jfs_txnmgr.c lrd->log.updatemap.pxd = pxdlock->pxd; lrd 2108 fs/jfs/jfs_txnmgr.c lrd->backchain = cpu_to_le32(lmLog(log, tblk, lrd, NULL)); lrd 2127 fs/jfs/jfs_txnmgr.c lrd->type = cpu_to_le16(LOG_UPDATEMAP); lrd 2132 fs/jfs/jfs_txnmgr.c lrd->log.updatemap.type = lrd 2135 fs/jfs/jfs_txnmgr.c lrd->log.updatemap.type = lrd 2137 fs/jfs/jfs_txnmgr.c lrd->log.updatemap.nxd = cpu_to_le16(1); lrd 2138 fs/jfs/jfs_txnmgr.c lrd->log.updatemap.pxd = pxdlock->pxd; lrd 2139 fs/jfs/jfs_txnmgr.c lrd->backchain = lrd 2140 fs/jfs/jfs_txnmgr.c cpu_to_le32(lmLog(log, tblk, lrd, NULL)); lrd 270 fs/jfs/jfs_txnmgr.h struct lrd lrd; /* : log record descriptor */ lrd 291 fs/jfs/jfs_txnmgr.h extern int lmLog(struct jfs_log *, struct tblock *, struct lrd *,