Searched refs:tail_block (Results 1 – 1 of 1) sorted by relevance
1104 int tail_block) in xlog_add_record() argument1114 ASSIGN_ANY_LSN(recp->h_tail_lsn, tail_cycle, tail_block, ARCH_CONVERT); in xlog_add_record()1126 int tail_block) in xlog_write_log_records() argument1180 tail_cycle, tail_block); in xlog_write_log_records()1215 int tail_block, head_block; in xlog_clear_stale_blocks() local1221 tail_block = BLOCK_LSN(tail_lsn, ARCH_NOCONVERT); in xlog_clear_stale_blocks()1239 if (unlikely(head_block < tail_block || head_block >= log->l_logBBsize)) { in xlog_clear_stale_blocks()1244 tail_distance = tail_block + (log->l_logBBsize - head_block); in xlog_clear_stale_blocks()1251 if (unlikely(head_block >= tail_block || head_cycle != (tail_cycle + 1))){ in xlog_clear_stale_blocks()1256 tail_distance = tail_block - head_block; in xlog_clear_stale_blocks()[all …]