Home
last modified time | relevance | path

Searched refs:ext2_inode (Results 1 – 25 of 88) sorted by relevance

1234

/external/e2fsprogs/lib/ext2fs/
Dext2fs.h245 struct ext2_inode *inode);
247 struct ext2_inode *inode);
383 struct ext2_inode *inode;
739 struct ext2_inode *inode, blk64_t lblk);
910 struct ext2_inode *inode);
912 struct ext2_inode *inode);
963 const struct ext2_inode *inode);
965 struct ext2_inode *inode, blk64_t blk);
966 extern errcode_t ext2fs_inode_size_set(ext2_filsys fs, struct ext2_inode *inode,
1004 struct ext2_inode *inode,
[all …]
Dinode.c589 struct ext2_inode *inode, int bufsize) in ext2fs_get_next_inode_full()
734 struct ext2_inode *inode) in ext2fs_get_next_inode()
737 sizeof(struct ext2_inode)); in ext2fs_get_next_inode()
744 struct ext2_inode * inode, int bufsize, in ext2fs_read_inode2()
763 ((bufsize == sizeof(struct ext2_inode)) || in ext2fs_read_inode2()
764 (EXT2_INODE_SIZE(fs->super) == sizeof(struct ext2_inode)))) { in ext2fs_read_inode2()
862 struct ext2_inode * inode, int bufsize) in ext2fs_read_inode_full()
868 struct ext2_inode * inode) in ext2fs_read_inode()
871 sizeof(struct ext2_inode), 0); in ext2fs_read_inode()
875 struct ext2_inode * inode, int bufsize, in ext2fs_write_inode2()
[all …]
Dext_attr.c30 struct ext2_inode inode; in read_ea_inode_hash()
132 __u32 ext2fs_get_ea_inode_hash(struct ext2_inode *inode) in ext2fs_get_ea_inode_hash()
137 void ext2fs_set_ea_inode_hash(struct ext2_inode *inode, __u32 hash) in ext2fs_set_ea_inode_hash()
142 __u64 ext2fs_get_ea_inode_ref(struct ext2_inode *inode) in ext2fs_get_ea_inode_ref()
147 void ext2fs_set_ea_inode_ref(struct ext2_inode *inode, __u64 ref_count) in ext2fs_set_ea_inode_ref()
385 err = ext2fs_read_inode_full(fs, ino, (struct ext2_inode *)&i, in ext2fs_free_ext_attr()
393 blk = ext2fs_file_acl_block(fs, (struct ext2_inode *)inode); in ext2fs_free_ext_attr()
425 ext2fs_file_acl_block_set(fs, (struct ext2_inode *)inode, 0); in ext2fs_free_ext_attr()
428 err = ext2fs_iblk_sub_blocks(fs, (struct ext2_inode *)inode, 1); in ext2fs_free_ext_attr()
434 err = ext2fs_write_inode_full(fs, ino, (struct ext2_inode *)&i, in ext2fs_free_ext_attr()
[all …]
Di_block.c30 errcode_t ext2fs_iblk_add_blocks(ext2_filsys fs, struct ext2_inode *inode, in ext2fs_iblk_add_blocks()
53 errcode_t ext2fs_iblk_sub_blocks(ext2_filsys fs, struct ext2_inode *inode, in ext2fs_iblk_sub_blocks()
77 errcode_t ext2fs_iblk_set(ext2_filsys fs, struct ext2_inode *inode, blk64_t b) in ext2fs_iblk_set()
Dbmap.c30 struct ext2_inode *inode,
134 struct ext2_inode *inode,
141 struct ext2_inode *inode, in implied_cluster_alloc()
177 struct ext2_inode *inode, blk64_t lblk, in ext2fs_map_cluster_block()
204 struct ext2_inode *inode, in extent_bmap()
281 struct ext2_inode *inode, in ext2fs_file_block_offset_too_big()
302 errcode_t ext2fs_bmap2(ext2_filsys fs, ext2_ino_t ino, struct ext2_inode *inode, in ext2fs_bmap2()
306 struct ext2_inode inode_buf; in ext2fs_bmap2()
484 errcode_t ext2fs_bmap(ext2_filsys fs, ext2_ino_t ino, struct ext2_inode *inode, in ext2fs_bmap()
Dvalid_blk.c27 int ext2fs_inode_has_valid_blocks2(ext2_filsys fs, struct ext2_inode *inode) in ext2fs_inode_has_valid_blocks2()
65 int ext2fs_inode_has_valid_blocks(struct ext2_inode *inode) in ext2fs_inode_has_valid_blocks()
Dpunch.c49 static errcode_t ind_punch(ext2_filsys fs, struct ext2_inode *inode, in ind_punch()
105 static errcode_t ext2fs_punch_ind(ext2_filsys fs, struct ext2_inode *inode, in ext2fs_punch_ind()
194 struct ext2_inode *inode, in punch_extent_blocks()
262 struct ext2_inode *inode, in ext2fs_punch_extent()
449 struct ext2_inode *inode, in ext2fs_punch_inline_data()
478 struct ext2_inode *inode, in ext2fs_punch()
483 struct ext2_inode inode_buf; in ext2fs_punch()
Dinline_data.c94 struct ext2_inode inode; in ext2fs_inline_data_size()
119 struct ext2_inode inode; in ext2fs_inline_data_dir_iterate()
347 struct ext2_inode *inode, char *buf, size_t size) in ext2fs_inline_data_dir_expand()
399 struct ext2_inode *inode, char *buf, size_t size) in ext2fs_inline_data_file_expand()
432 struct ext2_inode inode; in ext2fs_inline_data_expand()
502 struct ext2_inode *inode, in ext2fs_inline_data_get()
505 struct ext2_inode inode_buf; in ext2fs_inline_data_get()
534 struct ext2_inode *inode, in ext2fs_inline_data_set()
537 struct ext2_inode inode_buf; in ext2fs_inline_data_set()
597 struct ext2_inode inode; in file_test()
Dswapfs.c331 if (bufsize < (int) (sizeof(struct ext2_inode) + sizeof(__u16))) in ext2fs_swap_inode_full()
340 sizeof(struct ext2_inode)) { in ext2fs_swap_inode_full()
367 i = sizeof(struct ext2_inode) + extra_isize + sizeof(__u32); in ext2fs_swap_inode_full()
371 eaf = (__u32 *) (((char *) f) + sizeof(struct ext2_inode) + in ext2fs_swap_inode_full()
381 eat = (__u32 *) (((char *) t) + sizeof(struct ext2_inode) + in ext2fs_swap_inode_full()
387 bufsize - sizeof(struct ext2_inode) - in ext2fs_swap_inode_full()
392 void ext2fs_swap_inode(ext2_filsys fs, struct ext2_inode *t, in ext2fs_swap_inode()
393 struct ext2_inode *f, int hostorder) in ext2fs_swap_inode()
397 sizeof(struct ext2_inode)); in ext2fs_swap_inode()
Dsymlink.c51 struct ext2_inode inode; in ext2fs_symlink()
79 memset(&inode, 0, sizeof(struct ext2_inode)); in ext2fs_symlink()
200 int ext2fs_is_fast_symlink(struct ext2_inode *inode) in ext2fs_is_fast_symlink()
Dblknum.c69 struct ext2_inode *inode) in ext2fs_inode_data_blocks2()
81 struct ext2_inode *inode) in ext2fs_inode_i_blocks()
498 blk64_t ext2fs_file_acl_block(ext2_filsys fs, const struct ext2_inode *inode) in ext2fs_file_acl_block()
510 void ext2fs_file_acl_block_set(ext2_filsys fs, struct ext2_inode *inode, in ext2fs_file_acl_block_set()
521 errcode_t ext2fs_inode_size_set(ext2_filsys fs, struct ext2_inode *inode, in ext2fs_inode_size_set()
Dmkdir.c40 struct ext2_inode parent_inode, inode; in ext2fs_mkdir()
70 memset(&inode, 0, sizeof(struct ext2_inode)); in ext2fs_mkdir()
/external/e2fsprogs/ext2ed/
Dinode_com.c47 …try_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode); in type_ext2_inode___prev()
53 device_offset-=sizeof (struct ext2_inode)*mult; in type_ext2_inode___prev()
95 …try_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode); in type_ext2_inode___next()
101 device_offset+=sizeof (struct ext2_inode)*mult; in type_ext2_inode___next()
122 struct ext2_inode *inode_ptr; in type_ext2_inode___show()
137 …try_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode); in type_ext2_inode___show()
303 …try_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode); in type_ext2_inode___entry()
413 …entry_num=(inode_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode in inode_offset_to_inode_num()
434 …inode_offset=desc.bg_inode_table*file_system_info.block_size+inode_entry*sizeof (struct ext2_inode in inode_num_to_inode_offset()
/external/e2fsprogs/e2fsck/
De2fsck.h305 struct ext2_inode *stashed_inode;
479 struct ext2_inode *inode, int num_blocks);
514 struct ext2_inode *inode,
540 struct ext2_inode *inode);
542 struct ext2_inode *inode, char *buf);
544 struct ext2_inode *inode, int restart_flag,
625 extern int inode_has_valid_blocks(struct ext2_inode *inode);
627 struct ext2_inode * inode, const char * proc);
629 struct ext2_inode *inode,
632 struct ext2_inode * inode, const char * proc);
[all …]
Dquota.c22 struct ext2_inode inode; in move_quota_inode()
64 memset(&inode, 0, sizeof(struct ext2_inode)); in move_quota_inode()
/external/e2fsprogs/debugfs/
Ddump.c70 static void fix_perms(const char *cmd, const struct ext2_inode *inode, in fix_perms()
104 struct ext2_inode inode; in dump_file()
199 static void rdump_symlink(ext2_ino_t ino, struct ext2_inode *inode, in rdump_symlink()
251 static void rdump_inode(ext2_ino_t ino, struct ext2_inode *inode, in rdump_inode()
312 struct ext2_inode inode; in rdump_dirent()
353 struct ext2_inode inode; in do_rdump()
Ddebugfs.h55 extern int debugfs_read_inode(ext2_ino_t ino, struct ext2_inode * inode,
57 extern int debugfs_read_inode2(ext2_ino_t ino, struct ext2_inode * inode,
59 extern int debugfs_write_inode(ext2_ino_t ino, struct ext2_inode * inode,
61 extern int debugfs_write_inode2(ext2_ino_t ino, struct ext2_inode * inode,
63 extern int debugfs_write_new_inode(ext2_ino_t ino, struct ext2_inode * inode,
127 struct ext2_inode *, int);
Dls.c83 struct ext2_inode inode; in list_dir_proc()
115 memset(&inode, 0, sizeof(struct ext2_inode)); in list_dir_proc()
135 memset(&inode, 0, sizeof(struct ext2_inode)); in list_dir_proc()
183 struct ext2_inode inode; in do_list_dir()
Dutil.c423 int debugfs_read_inode2(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_read_inode2()
436 int debugfs_read_inode(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_read_inode()
450 struct ext2_inode *inode, in debugfs_write_inode2()
464 int debugfs_write_inode(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_write_inode()
477 int debugfs_write_new_inode(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_write_new_inode()
Dhtree.c33 struct ext2_inode *inode, in htree_dump_leaf_node()
131 struct ext2_inode *inode,
137 struct ext2_inode *inode, in htree_dump_int_node()
195 struct ext2_inode *inode, in htree_dump_int_block()
236 struct ext2_inode inode; in do_htree_dump()
Dlogdump.c88 struct ext2_inode journal_inode; in do_logdump()
167 / sizeof(struct ext2_inode)); in do_logdump()
173 * sizeof(struct ext2_inode)); in do_logdump()
219 memset(&journal_inode, 0, sizeof(struct ext2_inode)); in do_logdump()
679 struct ext2_inode *inode; in dump_metadata_block()
685 inode = (struct ext2_inode *) (buf + inode_offset_to_dump); in dump_metadata_block()
/external/toybox/toys/pending/
Dmke2fs.c180 struct ext2_inode { struct
365 inodes = TT.blocksize/sizeof(struct ext2_inode); in get_inodespg()
412 sb->inode_size = SWAP_LE16(sizeof(struct ext2_inode)); in init_superblock()
465 / (TT.blocksize/sizeof(struct ext2_inode)); in group_overhead()
499 static void fill_inode(struct ext2_inode *in, struct dirtree *that) in fill_inode()
639 struct ext2_inode *in = (struct ext2_inode *)toybuf; in mke2fs_main()
648 itable = (TT.inodespg*sizeof(struct ext2_inode))/TT.blocksize; in mke2fs_main()
691 temp = TT.inodespg/(TT.blocksize/sizeof(struct ext2_inode)) + 2; in mke2fs_main()
741 slot = j % (TT.blocksize/sizeof(struct ext2_inode)); in mke2fs_main()
/external/e2fsprogs/misc/
Dfuse2fs.c489 err = ext2fs_read_inode_full(fs, ino, (struct ext2_inode *)&inode, in update_ctime()
497 err = ext2fs_write_inode_full(fs, ino, (struct ext2_inode *)&inode, in update_ctime()
514 err = ext2fs_read_inode_full(fs, ino, (struct ext2_inode *)&inode, in update_atime()
531 err = ext2fs_write_inode_full(fs, ino, (struct ext2_inode *)&inode, in update_atime()
555 err = ext2fs_read_inode_full(fs, ino, (struct ext2_inode *)&inode, in update_mtime()
565 err = ext2fs_write_inode_full(fs, ino, (struct ext2_inode *)&inode, in update_mtime()
635 struct ext2_inode inode; in check_inum_access()
783 err = ext2fs_read_inode_full(fs, ino, (struct ext2_inode *)&inode, in stat_inode()
846 struct ext2_inode inode; in op_readlink()
1019 err = ext2fs_write_new_inode(fs, child, (struct ext2_inode *)&inode); in op_mknod()
[all …]
/external/e2fsprogs/contrib/android/
Dfsmap.c69 struct ext2_inode inode; in ino_iter_blocks()
100 struct ext2_inode inode; in is_dir()
115 struct ext2_inode inode; in walk_ext_dir()
/external/e2fsprogs/lib/support/
Dquotaio.c110 struct ext2_inode inode; in quota_inode_truncate()
129 memset(&inode, 0, sizeof(struct ext2_inode)); in quota_inode_truncate()
273 struct ext2_inode inode; in quota_inode_init_new()
288 memset(&inode, 0, sizeof(struct ext2_inode)); in quota_inode_init_new()

1234