Lines Matching refs:le32_to_cpu
170 if (le32_to_cpu(sum_entry->nid) != nid) { in is_valid_ssa_node_blk()
181 le32_to_cpu(sum_entry->nid)); in is_valid_ssa_node_blk()
211 u32 nid = le32_to_cpu(sum->nid); in is_valid_summary()
232 if (le32_to_cpu(node_blk->footer.nid) != nid) in is_valid_summary()
244 if (blk_addr == le32_to_cpu(target_blk_addr)) in is_valid_summary()
287 if (le32_to_cpu(sum_entry->nid) != parent_nid || in is_valid_ssa_data_blk()
292 le32_to_cpu(sum_entry->nid)); in is_valid_ssa_data_blk()
392 nid, le32_to_cpu(node_blk->footer.nid), in sanity_check_nid()
393 le32_to_cpu(node_blk->footer.ino)); in sanity_check_nid()
396 if (ni->ino != le32_to_cpu(node_blk->footer.ino)) { in sanity_check_nid()
398 nid, ni->ino, le32_to_cpu(node_blk->footer.ino)); in sanity_check_nid()
404 nid, le32_to_cpu(node_blk->footer.nid), in sanity_check_nid()
405 le32_to_cpu(node_blk->footer.ino)); in sanity_check_nid()
409 if (le32_to_cpu(node_blk->footer.nid) != nid) { in sanity_check_nid()
412 le32_to_cpu(node_blk->footer.nid)); in sanity_check_nid()
417 u32 flag = le32_to_cpu(node_blk->footer.flag); in sanity_check_nid()
441 __check_inode_mode(nid, ftype, le32_to_cpu(node_blk->i.i_mode))) in sanity_check_nid()
481 f2fs_set_bit(le32_to_cpu(node->footer.ino), fsck->nat_area_bitmap); in sanity_check_inode()
569 ext->fofs = le32_to_cpu(i_ext->fofs); in get_extent_info()
570 ext->blk = le32_to_cpu(i_ext->blk_addr); in get_extent_info()
571 ext->len = le32_to_cpu(i_ext->len); in get_extent_info()
632 u32 i_links = le32_to_cpu(node_blk->i.i_links); in fsck_chk_inode_blk()
645 child.pp_ino = le32_to_cpu(node_blk->i.i_pino); in fsck_chk_inode_blk()
684 le32_to_cpu(node_blk->i.i_xattr_nid), blk_cnt) && in fsck_chk_inode_blk()
689 nid, le32_to_cpu(node_blk->i.i_xattr_nid)); in fsck_chk_inode_blk()
697 if (le32_to_cpu(node_blk->i.i_addr[ofs]) != 0) { in fsck_chk_inode_blk()
700 le32_to_cpu(node_blk->i.i_addr[ofs])); in fsck_chk_inode_blk()
722 if (le32_to_cpu(node_blk->i.i_addr[ofs]) != 0) { in fsck_chk_inode_blk()
725 le32_to_cpu(node_blk->i.i_addr[ofs])); in fsck_chk_inode_blk()
741 u32 nid = le32_to_cpu(node_blk->i.i_nid[idx]); in fsck_chk_inode_blk()
759 block_t blkaddr = le32_to_cpu(node_blk->i.i_addr[ofs + idx]); in fsck_chk_inode_blk()
783 nid_t i_nid = le32_to_cpu(node_blk->i.i_nid[idx]); in fsck_chk_inode_blk()
844 namelen = le32_to_cpu(node_blk->i.i_namelen); in fsck_chk_inode_blk()
865 le32_to_cpu(node_blk->footer.ino), in fsck_chk_inode_blk()
870 le32_to_cpu(node_blk->footer.ino), in fsck_chk_inode_blk()
875 le32_to_cpu(node_blk->footer.ino), en, in fsck_chk_inode_blk()
876 le32_to_cpu(node_blk->i.i_current_depth), in fsck_chk_inode_blk()
935 provided = le32_to_cpu(node_blk->i.i_inode_checksum); in fsck_chk_inode_blk()
964 child->pp_ino = le32_to_cpu(inode->i_pino); in fsck_chk_dnode_blk()
967 block_t blkaddr = le32_to_cpu(node_blk->dn.addr[idx]); in fsck_chk_dnode_blk()
1001 if (le32_to_cpu(node_blk->in.nid[i]) == 0x0) in fsck_chk_idnode_blk()
1004 le32_to_cpu(node_blk->in.nid[i]), in fsck_chk_idnode_blk()
1023 nid_t nid = le32_to_cpu(node_blk->footer.nid); in fsck_chk_idnode_blk()
1041 if (le32_to_cpu(node_blk->in.nid[i]) == 0x0) in fsck_chk_didnode_blk()
1044 le32_to_cpu(node_blk->in.nid[i]), in fsck_chk_didnode_blk()
1063 nid_t nid = le32_to_cpu(node_blk->footer.nid); in fsck_chk_didnode_blk()
1161 new, le32_to_cpu(dentry[idx].ino), in print_dentry()
1177 new, le32_to_cpu(dentry->hash_code), in f2fs_check_hash_code()
1213 le32_to_cpu(namehash) % nbucket); in f2fs_check_dirent_position()
1235 if (le32_to_cpu(dentry->ino) != child->p_ino) { in __chk_dots_dentries()
1237 le32_to_cpu(dentry->ino), child->p_ino); in __chk_dots_dentries()
1245 if (le32_to_cpu(dentry->ino) != F2FS_ROOT_INO(sbi)) { in __chk_dots_dentries()
1247 le32_to_cpu(dentry->ino)); in __chk_dots_dentries()
1251 } else if (le32_to_cpu(dentry->ino) != child->pp_ino) { in __chk_dots_dentries()
1253 le32_to_cpu(dentry->ino), child->pp_ino); in __chk_dots_dentries()
1302 ino = le32_to_cpu(dentry[i].ino); in __chk_dentries()
1322 if (!IS_VALID_NID(sbi, le32_to_cpu(dentry[i].ino))) { in __chk_dentries()
1324 i, le32_to_cpu(dentry[i].ino)); in __chk_dentries()
1327 i, le32_to_cpu(dentry[i].ino)); in __chk_dentries()
1338 le32_to_cpu(dentry[i].ino), ftype); in __chk_dentries()
1418 le32_to_cpu(dentry[i].ino), in __chk_dentries()
1427 NULL, le32_to_cpu(dentry[i].ino), in __chk_dentries()
1436 le32_to_cpu(dentry[i].ino), in __chk_dentries()
1587 entry_count = le32_to_cpu(orphan_blk->entry_count); in fsck_chk_orphan_node()
1590 nid_t ino = le32_to_cpu(orphan_blk->ino[j]); in fsck_chk_orphan_node()
1745 if (fsck->chk.sit_free_segs != le32_to_cpu(cp->free_segment_count)) { in fsck_chk_meta()
1749 le32_to_cpu(cp->free_segment_count)); in fsck_chk_meta()
1755 le32_to_cpu(cp->valid_node_count)) { in fsck_chk_meta()
1759 le32_to_cpu(cp->valid_node_count)); in fsck_chk_meta()
1769 u32 blk = le32_to_cpu(fsck->entries[i].block_addr); in fsck_chk_meta()
1770 nid_t ino = le32_to_cpu(fsck->entries[i].ino); in fsck_chk_meta()
1811 if (fsck->nat_valid_inode_cnt != le32_to_cpu(cp->valid_inode_count)) { in fsck_chk_meta()
1815 le32_to_cpu(cp->valid_inode_count)); in fsck_chk_meta()
2127 if (le32_to_cpu(F2FS_CKPT(sbi)->free_segment_count) == in fsck_verify()