Lines Matching refs:be32_to_cpu
248 &head->h_fs_uuid, be32_to_cpu(head->h_fmt));
262 ASSERT(be32_to_cpu(head->h_magicno) == XLOG_HEADER_MAGIC_NUM);
269 if (unlikely(be32_to_cpu(head->h_fmt) != XLOG_FMT)) {
295 ASSERT(be32_to_cpu(head->h_magicno) == XLOG_HEADER_MAGIC_NUM);
495 if (XLOG_HEADER_MAGIC_NUM == be32_to_cpu(head->h_magicno))
527 uint h_size = be32_to_cpu(head->h_size);
537 BTOBB(be32_to_cpu(head->h_len)) + xhdrs)
877 if (XLOG_HEADER_MAGIC_NUM == be32_to_cpu(*(__be32 *)offset)) {
895 be32_to_cpu(*(__be32 *)offset)) {
923 log->l_curr_cycle = be32_to_cpu(rhead->h_cycle);
945 int h_size = be32_to_cpu(rhead->h_size);
946 int h_version = be32_to_cpu(rhead->h_version);
960 BTOBB(be32_to_cpu(rhead->h_len))) % log->l_logBBsize;
963 be32_to_cpu(rhead->h_num_logops) == 1) {
2043 if (id != -1 && id != be32_to_cpu(ddq->d_id)) {
2048 str, ddq, id, be32_to_cpu(ddq->d_id));
2061 str, (int)be32_to_cpu(ddq->d_id), ddq);
2073 str, (int)be32_to_cpu(ddq->d_id), ddq);
2085 str, (int)be32_to_cpu(ddq->d_id), ddq);
2924 lp = dp + be32_to_cpu(rhead->h_len);
2925 num_logops = be32_to_cpu(rhead->h_num_logops);
2942 tid = be32_to_cpu(ohead->oh_tid);
2950 if (dp + be32_to_cpu(ohead->oh_len) > lp) {
2970 be32_to_cpu(ohead->oh_len));
2981 dp, be32_to_cpu(ohead->oh_len));
2993 dp += be32_to_cpu(ohead->oh_len);
3204 agino = be32_to_cpu(dip->di_next_unlinked);
3281 agino = be32_to_cpu(agi->agi_unlinked[bucket]);
3329 chksum ^= be32_to_cpu(*up);
3389 for (i = 0; i < BTOBB(be32_to_cpu(rhead->h_len)) &&
3397 for ( ; i < BTOBB(be32_to_cpu(rhead->h_len)); i++) {
3414 if (unlikely(be32_to_cpu(rhead->h_magicno) != XLOG_HEADER_MAGIC_NUM)) {
3421 (be32_to_cpu(rhead->h_version) & (~XLOG_VERSION_OKBITS))))) {
3423 __func__, be32_to_cpu(rhead->h_version));
3428 hlen = be32_to_cpu(rhead->h_len);
3490 h_size = be32_to_cpu(rhead->h_size);
3491 if ((be32_to_cpu(rhead->h_version) & XLOG_VERSION_2) &&
3529 bblks = (int)BTOBB(be32_to_cpu(rhead->h_len));
3610 bblks = (int)BTOBB(be32_to_cpu(rhead->h_len));
3688 bblks = (int)BTOBB(be32_to_cpu(rhead->h_len));
3978 freeblks += be32_to_cpu(agfp->agf_freeblks) +
3979 be32_to_cpu(agfp->agf_flcount);
3987 itotal += be32_to_cpu(agi->agi_count);
3988 ifree += be32_to_cpu(agi->agi_freecount);