Home
last modified time | relevance | path

Searched refs:EXT2_INODE (Results 1 – 9 of 9) sorted by relevance

/external/e2fsprogs/e2fsck/
Dpass4.c37 e2fsck_read_inode_full(ctx, i, EXT2_INODE(inode), in disconnect_inode()
45 pctx.inode = EXT2_INODE(inode); in disconnect_inode()
59 e2fsck_clear_inode(ctx, i, EXT2_INODE(inode), 0, in disconnect_inode()
101 e2fsck_read_inode_full(ctx, i, EXT2_INODE(inode), in check_ea_inode()
118 ref_count = ext2fs_get_ea_inode_ref(EXT2_INODE(inode)); in check_ea_inode()
131 ext2fs_set_ea_inode_ref(EXT2_INODE(inode), actual_refs); in check_ea_inode()
132 e2fsck_write_inode(ctx, i, EXT2_INODE(inode), "pass4"); in check_ea_inode()
240 e2fsck_read_inode_full(ctx, i, EXT2_INODE(inode), in e2fsck_pass4()
243 pctx.inode = EXT2_INODE(inode); in e2fsck_pass4()
259 EXT2_INODE(inode), in e2fsck_pass4()
Dpass1b.c309 ctx->stashed_inode = EXT2_INODE(&inode); in pass1b()
319 EXT2_INODE(&inode), sizeof(inode)); in pass1b()
343 if (ext2fs_inode_has_valid_blocks2(fs, EXT2_INODE(&inode)) || in pass1b()
350 ext2fs_file_acl_block(fs, EXT2_INODE(&inode))) { in pass1b()
351 blk64_t blk = ext2fs_file_acl_block(fs, EXT2_INODE(&inode)); in pass1b()
354 ext2fs_file_acl_block_set(fs, EXT2_INODE(&inode), blk); in pass1b()
570 pctx.inode = EXT2_INODE(&p->inode); in pass1d()
590 pctx.inode = EXT2_INODE(&t->inode); in pass1d()
699 if (ext2fs_inode_has_valid_blocks2(fs, EXT2_INODE(&dp->inode))) in delete_file()
714 e2fsck_read_inode_full(ctx, ino, EXT2_INODE(&dp->inode), in delete_file()
[all …]
Dextents.c223 e2fsck_read_inode_full(ctx, ino, EXT2_INODE(&inode), sizeof(inode), in rebuild_extent_tree()
256 retval = ext2fs_iblk_sub_blocks(ctx->fs, EXT2_INODE(&inode), in rebuild_extent_tree()
262 retval = ext2fs_extent_open2(ctx->fs, ino, EXT2_INODE(&inode), &handle); in rebuild_extent_tree()
267 start_val = ext2fs_inode_i_blocks(ctx->fs, EXT2_INODE(&inode)); in rebuild_extent_tree()
305 delta = ext2fs_inode_i_blocks(ctx->fs, EXT2_INODE(&inode)) - start_val; in rebuild_extent_tree()
319 e2fsck_write_inode(ctx, ino, EXT2_INODE(&inode), "rebuild_extents"); in rebuild_extent_tree()
Dpass3.c409 retval = ext2fs_read_inode_full(fs, ino, EXT2_INODE(&inode), in e2fsck_get_lost_and_found()
522 ext2fs_iblk_set(fs, EXT2_INODE(&inode), 1); in e2fsck_get_lost_and_found()
528 pctx.errcode = ext2fs_write_new_inode(fs, ino, EXT2_INODE(&inode)); in e2fsck_get_lost_and_found()
893 EXT2_INODE(&inode), sizeof(inode)); in e2fsck_expand_directory()
898 retval = ext2fs_inode_size_set(fs, EXT2_INODE(&inode), sz); in e2fsck_expand_directory()
901 ext2fs_iblk_add_blocks(fs, EXT2_INODE(&inode), es.newblocks); in e2fsck_expand_directory()
905 e2fsck_write_inode_full(ctx, dir, EXT2_INODE(&inode), in e2fsck_expand_directory()
Dsuper.c198 if (!ext2fs_inode_has_valid_blocks2(fs, EXT2_INODE(inode))) in release_inode_blocks()
232 e2fsck_read_inode_full(ctx, ino, EXT2_INODE(inode), sizeof(*inode), in release_inode_blocks()
236 ext2fs_iblk_sub_blocks(fs, EXT2_INODE(inode), in release_inode_blocks()
239 blk = ext2fs_file_acl_block(fs, EXT2_INODE(inode)); in release_inode_blocks()
260 ext2fs_file_acl_block_set(fs, EXT2_INODE(inode), 0); in release_inode_blocks()
369 e2fsck_read_inode_full(ctx, ino, EXT2_INODE(&inode), in release_orphan_inodes()
373 pctx.inode = EXT2_INODE(&inode); in release_orphan_inodes()
401 e2fsck_write_inode_full(ctx, ino, EXT2_INODE(&inode), in release_orphan_inodes()
/external/e2fsprogs/lib/ext2fs/
Dext_attr.c714 err = ext2fs_read_inode_full(fs, handle->ino, EXT2_INODE(inode), in ext2fs_xattrs_write()
757 !ext2fs_file_acl_block(fs, EXT2_INODE(inode))) in ext2fs_xattrs_write()
786 blk = ext2fs_file_acl_block(fs, EXT2_INODE(inode)); in ext2fs_xattrs_write()
801 err = ext2fs_write_inode_full(fs, handle->ino, EXT2_INODE(inode), in ext2fs_xattrs_write()
1274 ref_count = ext2fs_get_ea_inode_ref(EXT2_INODE(&inode)); in xattr_inode_dec_ref()
1276 ext2fs_set_ea_inode_ref(EXT2_INODE(&inode), ref_count); in xattr_inode_dec_ref()
Dswapfs.c256 fast_symlink = ext2fs_is_fast_symlink(EXT2_INODE(f)); in ext2fs_swap_inode_full()
277 fast_symlink = ext2fs_is_fast_symlink(EXT2_INODE(t)); in ext2fs_swap_inode_full()
Dext2_fs.h533 struct ext2_inode *EXT2_INODE(struct ext2_inode_large *large_inode) in EXT2_INODE() function
/external/e2fsprogs/lib/support/
Dmkquota.c494 EXT2_INODE(inode), inode_size); in quota_compute_usage()
507 EXT2_INODE(inode)) << 9; in quota_compute_usage()