Home
last modified time | relevance | path

Searched refs:dev_read_block (Results 1 – 13 of 13) sorted by relevance

/third_party/f2fs-tools/fsck/
Dsegment.c149 ASSERT(dev_read_block(inode, ni.blk_addr) >= 0); in f2fs_quota_size()
181 ASSERT(dev_read_block(inode, ni.blk_addr) >= 0); in f2fs_read()
219 ASSERT(dev_read_block(blk_buffer, blkaddr) >= 0); in f2fs_read()
223 ASSERT(dev_read_block(buffer, blkaddr) >= 0); in f2fs_read()
283 ASSERT(dev_read_block(inode, ni.blk_addr) >= 0); in f2fs_write_ex()
334 ASSERT(dev_read_block(blk_buffer, blkaddr) >= 0); in f2fs_write_ex()
397 ASSERT(dev_read_block(inode, ni.blk_addr) >= 0); in f2fs_filesize_update()
496 ASSERT(dev_read_block(inode, ni.blk_addr) >= 0); in update_largest_extent()
592 ret = dev_read_block(node_blk, ni.blk_addr); in f2fs_build_file()
621 ASSERT(dev_read_block(node_blk, ni.blk_addr) >= 0); in f2fs_build_file()
[all …]
Ddump.c66 ret = dev_read_block(node_block, ni.blk_addr); in nat_dump()
81 ret = dev_read_block(nat_block, block_addr); in nat_dump()
88 ret = dev_read_block(node_block, ni.blk_addr); in nat_dump()
286 ret = dev_read_block(buf, blkaddr); in dump_data_blk()
326 dev_read_block(node_blk, ni.blk_addr); in dump_node_blk()
563 dev_read_block(node_blk, ni.blk_addr); in dump_node()
597 ret = dev_read_block(node_blk, blk_addr); in dump_node_from_blkaddr()
640 ret = dev_read_block(node_blk, blk_addr); in dump_data_offset()
662 ret = dev_read_block(node_blk, blk_addr); in dump_node_offset()
677 ret = dev_read_block(node_blk, blk_addr); in has_dirent()
[all …]
Dxattr.c54 ret = dev_read_block(txattr_addr + inline_size, ni.blk_addr); in read_all_xattrs()
116 ret = dev_read_block(xattr_node, ni.blk_addr); in write_all_xattrs()
166 ret = dev_read_block(inode, ni.blk_addr); in f2fs_setxattr()
Dmount.c953 if (dev_read_block(buf, sb_addr)) in validate_super_block()
1121 if (dev_read_block(cp_page, cp_addr) < 0) in get_checkpoint_version()
1236 ret = dev_read_block(cur_page, cp_blk_no + i); in get_valid_checkpoint()
1488 ret = dev_read_block(nat_block, start_blk); in f2fs_late_init_nid_bitmap()
1561 ret = dev_read_block(nat_block, blkaddr); in write_nat_bits()
1617 if (dev_read_block(nat_bits + i * F2FS_BLKSIZE, blkaddr + i)) in check_nat_bits()
1827 ret = dev_read_block(kaddr, start++); in read_compacted_summaries()
1860 ret = dev_read_block(kaddr, start++); in read_compacted_summaries()
1885 ret = dev_read_block(node_blk, addr); in restore_node_summary()
1920 ret = dev_read_block(sum_blk, blk_addr); in read_normal_summaries()
[all …]
Ddir.c148 ret = dev_read_block(dentry_blk, dn.data_blkaddr); in find_in_level()
278 ret = dev_read_block(dentry_blk, dn.data_blkaddr); in f2fs_add_link()
700 ret = dev_read_block(parent, ni.blk_addr); in f2fs_create()
768 ret = dev_read_block(child, blkaddr); in f2fs_create()
846 ret = dev_read_block(parent, ni.blk_addr); in f2fs_find_path()
Dresize.c186 ret = dev_read_block(raw, from); in migrate_main()
307 ret = dev_read_block(nat_block, block_addr); in shrink_nats()
353 ret = dev_read_block(nat_block, block_addr); in migrate_nat()
561 ret = dev_read_block(buf, orphan_blk_no++); in rebuild_checkpoint()
Dfsck.c243 ret = dev_read_block(node_blk, ni.blk_addr); in is_valid_summary()
418 ret = dev_read_block(node_blk, ni->blk_addr); in sanity_check_nid()
1808 ret = dev_read_block(de_blk, blk_addr); in fsck_chk_dentry_blk()
1912 int ret = dev_read_block(orphan_blk, start_blk + i); in fsck_chk_orphan_node()
2634 err = dev_read_block(node, ni.blk_addr); in fsck_get_lpf()
2641 err = dev_read_block(node, ni.blk_addr); in fsck_get_lpf()
2671 err = dev_read_block(node, ni.blk_addr); in fsck_get_lpf()
2738 err = dev_read_block(node, ni.blk_addr); in fsck_failed_reconnect_file_dnode()
2771 err = dev_read_block(node, ni.blk_addr); in fsck_failed_reconnect_file_idnode()
2801 err = dev_read_block(node, ni.blk_addr); in fsck_failed_reconnect_file_didnode()
[all …]
Ddefrag.c23 ret = dev_read_block(raw, from); in migrate_block()
Dnode.h42 ASSERT(dev_read_block(inode_blk, ni.blk_addr) >= 0); in ADDRS_PER_PAGE()
Dnode.c291 ret = dev_read_block(dn->node_blk, ni.blk_addr); in get_dnode_of_data()
/third_party/f2fs-tools/lib/
Dlibf2fs_io.c644 int dev_read_block(void *buf, __u64 blk_addr) in dev_read_block() function
/third_party/f2fs-tools/include/
Df2fs_fs.h1433 extern int dev_read_block(void *, __u64);
/third_party/f2fs-tools/mkfs/
Df2fs_format.c1182 if (dev_read_block(raw_node, offset)) { in f2fs_discard_obsolete_dnode()