Home
last modified time | relevance | path

Searched refs:BLOCK_LSN (Results 1 – 3 of 3) sorted by relevance

/fs/xfs/
Dxfs_log.h24 #define BLOCK_LSN(lsn) ((uint)(lsn)) macro
39 if (BLOCK_LSN(lsn1) != BLOCK_LSN(lsn2)) in _lsn_cmp()
40 return (BLOCK_LSN(lsn1)<BLOCK_LSN(lsn2))? -999 : 999; in _lsn_cmp()
Dxfs_log.c161 (void *)((unsigned long)BLOCK_LSN(log->l_tail_lsn)), in xlog_trace_loggrant()
988 tail_bytes = BBTOB(BLOCK_LSN(log->l_tail_lsn)); in xlog_space_left()
1419 threshold_block = BLOCK_LSN(tail_lsn) + free_threshold; in xlog_grant_push_ail()
1526 XFS_BUF_SET_ADDR(bp, BLOCK_LSN(be64_to_cpu(iclog->ic_header.h_lsn))); in xlog_sync()
2607 ASSERT(log->l_grant_write_bytes <= BBTOB(BLOCK_LSN(tail_lsn))); in xlog_grant_log_space()
2741 ASSERT(log->l_grant_write_bytes <= BBTOB(BLOCK_LSN(tail_lsn))); in xlog_regrant_write_log_space()
3385 log->l_logBBsize - (log->l_prev_block - BLOCK_LSN(tail_lsn)); in xlog_verify_tail_lsn()
3391 if (BLOCK_LSN(tail_lsn) == log->l_prev_block) in xlog_verify_tail_lsn()
3394 blocks = BLOCK_LSN(tail_lsn) - log->l_prev_block; in xlog_verify_tail_lsn()
Dxfs_log_recover.c869 *tail_blk = BLOCK_LSN(be64_to_cpu(rhead->h_tail_lsn)); in xlog_find_tail()
1230 tail_block = BLOCK_LSN(tail_lsn); in xlog_clear_stale_blocks()