Home
last modified time | relevance | path

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

/Linux-v4.19/fs/xfs/libxfs/
Dxfs_log_format.h26 #define XLOG_HEADER_MAGIC_NUM 0xFEEDbabe /* Invalid cycle number */ macro
67 if (be32_to_cpu(*(__be32 *)ptr) == XLOG_HEADER_MAGIC_NUM) in xlog_get_cycle()
/Linux-v4.19/fs/xfs/
Dxfs_log_recover.c319 ASSERT(head->h_magicno == cpu_to_be32(XLOG_HEADER_MAGIC_NUM)); in xlog_header_check_recover()
352 ASSERT(head->h_magicno == cpu_to_be32(XLOG_HEADER_MAGIC_NUM)); in xlog_header_check_mount()
564 if (head->h_magicno == cpu_to_be32(XLOG_HEADER_MAGIC_NUM)) in xlog_find_verify_log_record()
921 if (*(__be32 *) offset == cpu_to_be32(XLOG_HEADER_MAGIC_NUM)) { in xlog_rseek_logrec_hdr()
941 cpu_to_be32(XLOG_HEADER_MAGIC_NUM)) { in xlog_rseek_logrec_hdr()
995 if (*(__be32 *) offset == cpu_to_be32(XLOG_HEADER_MAGIC_NUM)) { in xlog_seek_logrec_hdr()
1014 cpu_to_be32(XLOG_HEADER_MAGIC_NUM)) { in xlog_seek_logrec_hdr()
1640 recp->h_magicno = cpu_to_be32(XLOG_HEADER_MAGIC_NUM); in xlog_add_record()
5266 if (unlikely(rhead->h_magicno != cpu_to_be32(XLOG_HEADER_MAGIC_NUM))) { in xlog_valid_rec_header()
Dxfs_log.c1546 head->h_magicno = cpu_to_be32(XLOG_HEADER_MAGIC_NUM); in xlog_alloc_log()
1903 if (++cycle == XLOG_HEADER_MAGIC_NUM) in xlog_sync()
3280 if (log->l_curr_cycle == XLOG_HEADER_MAGIC_NUM) in xlog_state_switch_iclogs()
3846 if (iclog->ic_header.h_magicno != cpu_to_be32(XLOG_HEADER_MAGIC_NUM)) in xlog_verify_iclog()
3852 if (*(__be32 *)ptr == cpu_to_be32(XLOG_HEADER_MAGIC_NUM)) in xlog_verify_iclog()