XLOG_HEADER_MAGIC_NUM
if (be32_to_cpu(*(__be32 *)ptr) == XLOG_HEADER_MAGIC_NUM)
cpu_to_be32(XLOG_HEADER_MAGIC_NUM);
if (++cycle == XLOG_HEADER_MAGIC_NUM)
if (log->l_curr_cycle == XLOG_HEADER_MAGIC_NUM)
if (rhead->h_magicno != cpu_to_be32(XLOG_HEADER_MAGIC_NUM))
if (*(__be32 *)ptr == cpu_to_be32(XLOG_HEADER_MAGIC_NUM))
recp->h_magicno = cpu_to_be32(XLOG_HEADER_MAGIC_NUM);
ASSERT(head->h_magicno == cpu_to_be32(XLOG_HEADER_MAGIC_NUM));
ASSERT(head->h_magicno == cpu_to_be32(XLOG_HEADER_MAGIC_NUM));
rhead->h_magicno != cpu_to_be32(XLOG_HEADER_MAGIC_NUM)))
if (head->h_magicno == cpu_to_be32(XLOG_HEADER_MAGIC_NUM))
if (*(__be32 *) offset == cpu_to_be32(XLOG_HEADER_MAGIC_NUM)) {
cpu_to_be32(XLOG_HEADER_MAGIC_NUM)) {
if (*(__be32 *) offset == cpu_to_be32(XLOG_HEADER_MAGIC_NUM)) {
cpu_to_be32(XLOG_HEADER_MAGIC_NUM)) {