Home
last modified time | relevance | path

Searched refs:dev_write_block (Results 1 – 12 of 12) sorted by relevance

/external/f2fs-tools/fsck/
Dresize.c190 ret = dev_write_block(raw, to); in migrate_main()
219 ret = dev_write_block(sum_blk, new_sum_blk_addr); in move_ssa()
253 ret = dev_write_block(zero_block, blkaddr++); in migrate_ssa()
262 ret = dev_write_block(zero_block, blkaddr--); in migrate_ssa()
361 ret = dev_write_block(nat_block, block_addr); in migrate_nat()
382 ret = dev_write_block(nat_block, block_addr); in migrate_nat()
408 ret = dev_write_block(sit_blk, get_newsb(sit_blkaddr) + index); in migrate_sit()
426 ret = dev_write_block(sit_blk, blk_addr); in migrate_sit()
440 ret = dev_write_block(sit_blk, blk_addr); in migrate_sit()
549 ret = dev_write_block(new_cp, new_cp_blk_no++); in rebuild_checkpoint()
[all …]
Ddir.c294 ret = dev_write_block(dentry_blk, dn.data_blkaddr); in f2fs_add_link()
320 ret = dev_write_block(dn.node_blk, dn.node_blkaddr); in f2fs_add_link()
370 ret = dev_write_block(dent_blk, blkaddr); in make_empty_dir()
406 ret = dev_write_block(data_blk, blkaddr); in page_symlink()
561 ret = dev_write_block(node, p_blkaddr); in convert_inline_dentry()
588 ret = dev_write_block(dentry_blk, dn.data_blkaddr); in convert_inline_dentry()
781 ret = dev_write_block(child, blkaddr); in f2fs_create()
Dsegment.c311 ASSERT(dev_write_block(dn.node_blk, in f2fs_write_ex()
336 ASSERT(dev_write_block(blk_buffer, blkaddr) >= 0); in f2fs_write_ex()
339 ASSERT(dev_write_block(buffer, blkaddr) >= 0); in f2fs_write_ex()
349 ASSERT(dev_write_block(dn.node_blk, dn.node_blkaddr) in f2fs_write_ex()
Ddefrag.c27 ret = dev_write_block(raw, to); in migrate_block()
Dfsck.c211 ret2 = dev_write_block(sum_blk, ssa_blk); in is_valid_ssa_node_blk()
341 ret2 = dev_write_block(sum_blk, ssa_blk); in is_valid_ssa_data_blk()
1126 ret = dev_write_block(node_blk, ni->blk_addr); in fsck_chk_inode_blk()
1170 ret = dev_write_block(node_blk, ni->blk_addr); in fsck_chk_dnode_blk()
1211 ret = dev_write_block(node_blk, ni.blk_addr); in fsck_chk_idnode_blk()
1254 ret = dev_write_block(node_blk, ni.blk_addr); in fsck_chk_didnode_blk()
1694 ret = dev_write_block(de_blk, blk_addr); in fsck_chk_dentry_blk()
1814 ret = dev_write_block(new_blk, start_blk + i); in fsck_chk_orphan_node()
2092 ret = dev_write_block(node_blk, ni.blk_addr); in fix_hard_links()
2211 ret = dev_write_block(cp, cp_blk_no++); in fix_checkpoint()
[all …]
Dmount.c699 ret = dev_write_block(buf, addr); in update_superblock()
1549 if (dev_write_block(nat_bits + i * F2FS_BLKSIZE, blkaddr + i)) in write_nat_bits()
1921 ret = dev_write_block(sum_blk, GET_SUM_BLKADDR(sbi, segno)); in update_sum_entry()
2028 ASSERT(dev_write_block(sit_blk, blk_addr) >= 0); in rewrite_current_sit_page()
2242 ret = dev_write_block(node_blk, ni.blk_addr); in update_data_blkaddr()
2289 ret = dev_write_block(nat_block, block_addr); in update_nat_blkaddr()
2583 ret = dev_write_block(nat_block, block_addr); in flush_nat_journal_entries()
2800 ret = dev_write_block(curseg->sum_blk, ssa_blk); in move_one_curseg_info()
2928 ret = dev_write_block(nat_block, block_addr); in nullify_nat_entry()
3025 ret = dev_write_block(cp, cp_blk_no++); in write_checkpoint()
[all …]
Dxattr.c126 ret = dev_write_block(xattr_node, blkaddr); in write_all_xattrs()
Dnode.c252 ret = dev_write_block(parent, nblk[i - 1]); in get_dnode_of_data()
/external/f2fs-tools/mkfs/
Df2fs_format.c813 if (dev_write_block(cp, cp_seg_blk)) { in f2fs_write_check_point_pack()
968 if (dev_write_block(sum_compact, cp_seg_blk)) { in f2fs_write_check_point_pack()
995 if (dev_write_block(sum, cp_seg_blk)) { in f2fs_write_check_point_pack()
1007 if (dev_write_block(sum, cp_seg_blk)) { in f2fs_write_check_point_pack()
1018 if (dev_write_block(sum, cp_seg_blk)) { in f2fs_write_check_point_pack()
1026 if (dev_write_block(cp, cp_seg_blk)) { in f2fs_write_check_point_pack()
1048 if (dev_write_block(nat_bits + i * in f2fs_write_check_point_pack()
1067 if (dev_write_block(cp, cp_seg_blk)) { in f2fs_write_check_point_pack()
1086 if (dev_write_block(cp, cp_seg_blk)) { in f2fs_write_check_point_pack()
1120 if (dev_write_block(zero_buff, index)) { in f2fs_write_super_block()
[all …]
/external/f2fs-tools/lib/
Dlibf2fs_io.c581 int dev_write_block(void *buf, __u64 blk_addr) in dev_write_block() function
Dlibf2fs.c594 return dev_write_block(inode, blkaddr); in write_inode()
/external/f2fs-tools/include/
Df2fs_fs.h1340 extern int dev_write_block(void *, __u64);