Lines Matching refs:lsn
708 xfs_lsn_t lsn = -1; in xlog_recover_get_buf_lsn() local
728 lsn = be64_to_cpu(btb->bb_u.s.bb_lsn); in xlog_recover_get_buf_lsn()
736 lsn = be64_to_cpu(btb->bb_u.l.bb_lsn); in xlog_recover_get_buf_lsn()
741 lsn = be64_to_cpu(((struct xfs_agf *)blk)->agf_lsn); in xlog_recover_get_buf_lsn()
745 lsn = be64_to_cpu(((struct xfs_agfl *)blk)->agfl_lsn); in xlog_recover_get_buf_lsn()
749 lsn = be64_to_cpu(((struct xfs_agi *)blk)->agi_lsn); in xlog_recover_get_buf_lsn()
753 lsn = be64_to_cpu(((struct xfs_dsymlink_hdr *)blk)->sl_lsn); in xlog_recover_get_buf_lsn()
759 lsn = be64_to_cpu(((struct xfs_dir3_blk_hdr *)blk)->lsn); in xlog_recover_get_buf_lsn()
779 lsn = be64_to_cpu(((struct xfs_dsb *)blk)->sb_lsn); in xlog_recover_get_buf_lsn()
789 if (lsn != (xfs_lsn_t)-1) { in xlog_recover_get_buf_lsn()
792 return lsn; in xlog_recover_get_buf_lsn()
801 lsn = be64_to_cpu(((struct xfs_da3_blkinfo *)blk)->lsn); in xlog_recover_get_buf_lsn()
808 if (lsn != (xfs_lsn_t)-1) { in xlog_recover_get_buf_lsn()
811 return lsn; in xlog_recover_get_buf_lsn()
876 xfs_lsn_t lsn; in xlog_recover_buf_commit_pass2() local
923 lsn = xlog_recover_get_buf_lsn(mp, bp); in xlog_recover_buf_commit_pass2()
924 if (lsn && lsn != -1 && XFS_LSN_CMP(lsn, current_lsn) >= 0) { in xlog_recover_buf_commit_pass2()