Lines Matching refs:be32_to_cpu
255 if (be32_to_cpu(node->hdr.info.forw) == addblk->blkno) {
269 if (be32_to_cpu(node->hdr.info.back) == addblk->blkno) {
479 ((be32_to_cpu(node2->btree[0].hashval) < be32_to_cpu(node1->btree[0].hashval)) ||
480 (be32_to_cpu(node2->btree[be16_to_cpu(node2->hdr.count)-1].hashval) <
481 be32_to_cpu(node1->btree[be16_to_cpu(node1->hdr.count)-1].hashval)))) {
557 blk1->hashval = be32_to_cpu(node1->btree[be16_to_cpu(node1->hdr.count)-1].hashval);
558 blk2->hashval = be32_to_cpu(node2->btree[be16_to_cpu(node2->hdr.count)-1].hashval);
608 oldblk->hashval = be32_to_cpu(node->btree[be16_to_cpu(node->hdr.count)-1 ].hashval);
731 child = be32_to_cpu(oldroot->btree[0].before);
820 forward = (be32_to_cpu(info->forw) < be32_to_cpu(info->back));
823 blkno = be32_to_cpu(info->forw);
825 blkno = be32_to_cpu(info->back);
916 if (be32_to_cpu(btree->hashval) == lasthash)
923 lasthash = be32_to_cpu(node->btree[be16_to_cpu(node->hdr.count)-1].hashval);
964 drop_blk->hashval = be32_to_cpu(btree->hashval);
990 if ((be32_to_cpu(drop_node->btree[0].hashval) < be32_to_cpu(save_node->btree[ 0 ].hashval)) ||
991 (be32_to_cpu(drop_node->btree[be16_to_cpu(drop_node->hdr.count)-1].hashval) <
992 be32_to_cpu(save_node->btree[be16_to_cpu(save_node->hdr.count)-1].hashval)))
1024 save_blk->hashval = be32_to_cpu(save_node->btree[be16_to_cpu(save_node->hdr.count)-1].hashval);
1087 blk->hashval = be32_to_cpu(node->btree[max-1].hashval);
1097 btreehashval = be32_to_cpu(btree->hashval);
1106 ASSERT((span <= 4) || (be32_to_cpu(btree->hashval) == hashval));
1112 while ((probe > 0) && (be32_to_cpu(btree->hashval) >= hashval)) {
1116 while ((probe < max) && (be32_to_cpu(btree->hashval) < hashval)) {
1126 blkno = be32_to_cpu(node->btree[max-1].before);
1129 blkno = be32_to_cpu(btree->before);
1230 be32_to_cpu(old_info->back),
1237 ASSERT(be32_to_cpu(tmp_info->forw) == old_blk->blkno);
1251 be32_to_cpu(old_info->forw),
1258 ASSERT(be32_to_cpu(tmp_info->back) == old_blk->blkno);
1284 ((be32_to_cpu(node2->btree[0].hashval) <
1285 be32_to_cpu(node1->btree[0].hashval)) ||
1286 (be32_to_cpu(node2->btree[be16_to_cpu(node2->hdr.count)-1].hashval) <
1287 be32_to_cpu(node1->btree[be16_to_cpu(node1->hdr.count)-1].hashval)))) {
1307 return be32_to_cpu(node->btree[be16_to_cpu(node->hdr.count)-1].hashval);
1335 ASSERT((be32_to_cpu(save_info->forw) == drop_blk->blkno) ||
1336 (be32_to_cpu(save_info->back) == drop_blk->blkno));
1337 ASSERT((be32_to_cpu(drop_info->forw) == save_blk->blkno) ||
1338 (be32_to_cpu(drop_info->back) == save_blk->blkno));
1343 if (be32_to_cpu(save_info->back) == drop_blk->blkno) {
1347 be32_to_cpu(drop_info->back),
1354 ASSERT(be32_to_cpu(tmp_info->forw) == drop_blk->blkno);
1364 be32_to_cpu(drop_info->forw),
1371 ASSERT(be32_to_cpu(tmp_info->back) == drop_blk->blkno);
1418 blkno = be32_to_cpu(node->btree[blk->index].before);
1422 blkno = be32_to_cpu(node->btree[blk->index].before);
1460 blk->hashval = be32_to_cpu(node->btree[be16_to_cpu(node->hdr.count)-1].hashval);
1465 blkno = be32_to_cpu(node->btree[blk->index].before);
1710 dead_hash = be32_to_cpu(dead_leaf2->ents[be16_to_cpu(dead_leaf2->hdr.count) - 1].hashval);
1715 dead_hash = be32_to_cpu(dead_node->btree[be16_to_cpu(dead_node->hdr.count) - 1].hashval);
1721 if ((sib_blkno = be32_to_cpu(dead_info->back))) {
1726 be32_to_cpu(sib_info->forw) != last_blkno ||
1743 if ((sib_blkno = be32_to_cpu(dead_info->forw))) {
1748 be32_to_cpu(sib_info->back) != last_blkno ||
1782 be32_to_cpu(par_node->btree[entno].hashval) < dead_hash;
1791 par_blkno = be32_to_cpu(par_node->btree[entno].before);
1804 be32_to_cpu(par_node->btree[entno].before) != last_blkno;
1809 par_blkno = be32_to_cpu(par_node->hdr.info.forw);
2092 magic1 = be32_to_cpu(data->hdr.magic);
2100 (be32_to_cpu(free->hdr.magic) != XFS_DIR2_FREE_MAGIC),