Lines Matching refs:lsn

820 	xfs_lsn_t		*lsn,
838 return xlog_write(log, &vec, ticket, lsn, NULL, flags, false);
852 xfs_lsn_t lsn;
860 error = xlog_write_unmount_record(log, tic, &lsn, flags);
1462 * ticket to close off a running log write. Return the lsn of the commit record.
1469 xfs_lsn_t *lsn)
1485 error = xlog_write(log, &vec, ticket, lsn, iclog, XLOG_COMMIT_TRANS,
1538 * Don't pass in an lsn greater than the lsn of the last
1539 * log record known to be on disk. Use a snapshot of the last sync lsn
1552 * policy which pushes on an lsn which is further along in the log once we
2288 * B. If this is first write, save away start lsn
2366 /* start_lsn is the first lsn written to. That's all we need. */
2603 xfs_lsn_t lowest_lsn = 0, lsn;
2610 lsn = be64_to_cpu(iclog->ic_header.h_lsn);
2611 if ((lsn && !lowest_lsn) || XFS_LSN_CMP(lsn, lowest_lsn) < 0)
2612 lowest_lsn = lsn;
2692 * If this is not the lowest lsn iclog, then we will leave it
2910 /* On the 1st write to an iclog, figure out lsn. This works
3146 xfs_lsn_t lsn;
3180 lsn = be64_to_cpu(iclog->ic_header.h_lsn);
3185 if (be64_to_cpu(iclog->ic_header.h_lsn) != lsn)
3218 xfs_lsn_t lsn,
3230 while (be64_to_cpu(iclog->ic_header.h_lsn) != lsn) {
3280 * Find in-core log with lsn.
3287 * to force a given lsn to disk must wait on the queue attached to the
3299 xfs_lsn_t lsn;
3306 lsn = xlog_cil_force_seq(log, seq);
3307 if (lsn == NULLCOMMITLSN)
3310 ret = xlog_force_lsn(log, lsn, flags, log_flushed, false);
3313 ret = xlog_force_lsn(log, lsn, flags, log_flushed, true);
3814 xfs_lsn_t lsn)
3831 if (lsn == NULLCOMMITLSN)
3834 valid = xlog_valid_lsn(mp->m_log, lsn);
3842 CYCLE_LSN(lsn), BLOCK_LSN(lsn),