• Home
  • Raw
  • Download

Lines Matching refs:le32_to_cpu

184 	if (le32_to_cpu(sum_entry->nid) != nid) {  in is_valid_ssa_node_blk()
195 le32_to_cpu(sum_entry->nid)); in is_valid_ssa_node_blk()
225 u32 nid = le32_to_cpu(sum->nid); in is_valid_summary()
246 if (le32_to_cpu(node_blk->footer.nid) != nid) in is_valid_summary()
262 if (blk_addr == le32_to_cpu(target_blk_addr)) in is_valid_summary()
309 if (le32_to_cpu(sum_entry->nid) != parent_nid || in is_valid_ssa_data_blk()
314 le32_to_cpu(sum_entry->nid)); in is_valid_ssa_data_blk()
424 nid, le32_to_cpu(node_blk->footer.nid), in sanity_check_nid()
425 le32_to_cpu(node_blk->footer.ino)); in sanity_check_nid()
428 if (ni->ino != le32_to_cpu(node_blk->footer.ino)) { in sanity_check_nid()
430 nid, ni->ino, le32_to_cpu(node_blk->footer.ino)); in sanity_check_nid()
436 nid, le32_to_cpu(node_blk->footer.nid), in sanity_check_nid()
437 le32_to_cpu(node_blk->footer.ino)); in sanity_check_nid()
441 if (le32_to_cpu(node_blk->footer.nid) != nid) { in sanity_check_nid()
444 le32_to_cpu(node_blk->footer.nid)); in sanity_check_nid()
449 u32 flag = le32_to_cpu(node_blk->footer.flag); in sanity_check_nid()
607 ext->fofs = le32_to_cpu(i_ext->fofs); in get_extent_info()
608 ext->blk = le32_to_cpu(i_ext->blk_addr); in get_extent_info()
609 ext->len = le32_to_cpu(i_ext->len); in get_extent_info()
682 u32 nid = le32_to_cpu(node_blk->in.nid[i]); in fsck_reada_all_direct_node_blocks()
752 u32 i_links = le32_to_cpu(node_blk->i.i_links); in fsck_chk_inode_blk()
756 u32 i_flags = le32_to_cpu(node_blk->i.i_flags); in fsck_chk_inode_blk()
760 nid_t i_xattr_nid = le32_to_cpu(node_blk->i.i_xattr_nid); in fsck_chk_inode_blk()
792 child.pp_ino = le32_to_cpu(node_blk->i.i_pino); in fsck_chk_inode_blk()
800 namelen = le32_to_cpu(node_blk->i.i_namelen); in fsck_chk_inode_blk()
925 block_t blkaddr = le32_to_cpu(node_blk->i.i_addr[ofs]); in fsck_chk_inode_blk()
968 block_t blkaddr = le32_to_cpu(node_blk->i.i_addr[ofs]); in fsck_chk_inode_blk()
1003 block_t blkaddr = le32_to_cpu(node_blk->i.i_addr[ofs + idx]); in fsck_chk_inode_blk()
1052 u32 nid = le32_to_cpu(node_blk->i.i_nid[idx]); in fsck_chk_inode_blk()
1058 nid_t i_nid = le32_to_cpu(node_blk->i.i_nid[idx]); in fsck_chk_inode_blk()
1131 namelen = le32_to_cpu(node_blk->i.i_namelen); in fsck_chk_inode_blk()
1151 le32_to_cpu(node_blk->footer.ino), in fsck_chk_inode_blk()
1156 le32_to_cpu(node_blk->footer.ino), in fsck_chk_inode_blk()
1161 le32_to_cpu(node_blk->footer.ino), en, in fsck_chk_inode_blk()
1162 le32_to_cpu(node_blk->i.i_current_depth), in fsck_chk_inode_blk()
1197 le32_to_cpu(node_blk->footer.ino), en, in fsck_chk_inode_blk()
1237 provided = le32_to_cpu(node_blk->i.i_inode_checksum); in fsck_chk_inode_blk()
1267 child->pp_ino = le32_to_cpu(inode->i_pino); in fsck_chk_dnode_blk()
1268 u32 i_flags = le32_to_cpu(inode->i_flags); in fsck_chk_dnode_blk()
1274 block_t blkaddr = le32_to_cpu(node_blk->dn.addr[idx]); in fsck_chk_dnode_blk()
1334 if (le32_to_cpu(node_blk->in.nid[i]) == 0x0) in fsck_chk_idnode_blk()
1337 le32_to_cpu(node_blk->in.nid[i]), in fsck_chk_idnode_blk()
1357 nid_t nid = le32_to_cpu(node_blk->footer.nid); in fsck_chk_idnode_blk()
1377 if (le32_to_cpu(node_blk->in.nid[i]) == 0x0) in fsck_chk_didnode_blk()
1380 le32_to_cpu(node_blk->in.nid[i]), in fsck_chk_didnode_blk()
1400 nid_t nid = le32_to_cpu(node_blk->footer.nid); in fsck_chk_didnode_blk()
1502 if (dump_node(sbi, le32_to_cpu(dentry[idx].ino), 0)) in print_dentry()
1510 new, le32_to_cpu(dentry[idx].ino), in print_dentry()
1530 new, le32_to_cpu(dentry->hash_code), in f2fs_check_hash_code()
1566 le32_to_cpu(dentry->hash_code) % nbucket); in f2fs_check_dirent_position()
1590 if (le32_to_cpu(dentry->ino) != child->p_ino) { in __chk_dots_dentries()
1592 le32_to_cpu(dentry->ino), child->p_ino); in __chk_dots_dentries()
1600 if (le32_to_cpu(dentry->ino) != F2FS_ROOT_INO(sbi)) { in __chk_dots_dentries()
1602 le32_to_cpu(dentry->ino)); in __chk_dots_dentries()
1606 } else if (le32_to_cpu(dentry->ino) != child->pp_ino) { in __chk_dots_dentries()
1608 le32_to_cpu(dentry->ino), child->pp_ino); in __chk_dots_dentries()
1659 ino = le32_to_cpu(dentry[i].ino); in __chk_dentries()
1679 if (!IS_VALID_NID(sbi, le32_to_cpu(dentry[i].ino))) { in __chk_dentries()
1681 i, le32_to_cpu(dentry[i].ino)); in __chk_dentries()
1684 i, le32_to_cpu(dentry[i].ino)); in __chk_dentries()
1695 le32_to_cpu(dentry[i].ino), ftype); in __chk_dentries()
1778 le32_to_cpu(dentry[i].ino), in __chk_dentries()
1789 NULL, le32_to_cpu(dentry[i].ino), in __chk_dentries()
1798 le32_to_cpu(dentry[i].ino), in __chk_dentries()
1979 entry_count = le32_to_cpu(orphan_blk->entry_count); in fsck_chk_orphan_node()
1982 nid_t ino = le32_to_cpu(orphan_blk->ino[j]); in fsck_chk_orphan_node()
2155 if (fsck->chk.sit_free_segs != le32_to_cpu(cp->free_segment_count)) { in fsck_chk_meta()
2159 le32_to_cpu(cp->free_segment_count)); in fsck_chk_meta()
2165 le32_to_cpu(cp->valid_node_count)) { in fsck_chk_meta()
2169 le32_to_cpu(cp->valid_node_count)); in fsck_chk_meta()
2179 u32 blk = le32_to_cpu(fsck->entries[i].block_addr); in fsck_chk_meta()
2180 nid_t ino = le32_to_cpu(fsck->entries[i].ino); in fsck_chk_meta()
2221 if (fsck->nat_valid_inode_cnt != le32_to_cpu(cp->valid_inode_count)) { in fsck_chk_meta()
2225 le32_to_cpu(cp->valid_inode_count)); in fsck_chk_meta()
2743 c.lpf_ino = le32_to_cpu(node->footer.ino); in fsck_get_lpf()
2756 nid_t ino = le32_to_cpu(fnode->footer.ino); in fsck_do_reconnect_file()
2770 get_node_info(sbi, le32_to_cpu(lpf->footer.ino), &ni); in fsck_do_reconnect_file()
2783 get_node_info(sbi, le32_to_cpu(fnode->footer.ino), &ni); in fsck_do_reconnect_file()
2812 addr = le32_to_cpu(node->dn.addr[i]); in fsck_failed_reconnect_file_dnode()
2845 tmp = le32_to_cpu(node->in.nid[i]); in fsck_failed_reconnect_file_idnode()
2875 tmp = le32_to_cpu(node->in.nid[i]); in fsck_failed_reconnect_file_didnode()
2912 nid = le32_to_cpu(node->i.i_xattr_nid); in fsck_failed_reconnect_file()
2923 block_t addr = le32_to_cpu(node->i.i_addr[ofs + i]); in fsck_failed_reconnect_file()
2934 nid = le32_to_cpu(node->i.i_nid[i]); in fsck_failed_reconnect_file()
3363 if (le32_to_cpu(F2FS_CKPT(sbi)->free_segment_count) == in fsck_verify()