Home
last modified time | relevance | path

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

1234

/external/e2fsprogs/lib/ext2fs/
Dext2fs.h243 struct ext2_inode *inode);
245 struct ext2_inode *inode);
379 struct ext2_inode *inode;
723 struct ext2_inode *inode, blk64_t lblk);
894 struct ext2_inode *inode);
896 struct ext2_inode *inode);
947 const struct ext2_inode *inode);
949 struct ext2_inode *inode, blk64_t blk);
950 extern errcode_t ext2fs_inode_size_set(ext2_filsys fs, struct ext2_inode *inode,
988 struct ext2_inode *inode,
[all …]
Dinode.c577 struct ext2_inode *inode, int bufsize) in ext2fs_get_next_inode_full()
722 struct ext2_inode *inode) in ext2fs_get_next_inode()
725 sizeof(struct ext2_inode)); in ext2fs_get_next_inode()
732 struct ext2_inode * inode, int bufsize) in ext2fs_read_inode_full()
749 ((bufsize == sizeof(struct ext2_inode)) || in ext2fs_read_inode_full()
750 (EXT2_INODE_SIZE(fs->super) == sizeof(struct ext2_inode)))) { in ext2fs_read_inode_full()
843 struct ext2_inode * inode) in ext2fs_read_inode()
846 sizeof(struct ext2_inode)); in ext2fs_read_inode()
850 struct ext2_inode * inode, int bufsize) in ext2fs_write_inode_full()
882 (struct ext2_inode *)w_inode, in ext2fs_write_inode_full()
[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 …]
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()
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()
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()
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()
Dswapfs.c328 if (bufsize < (int) (sizeof(struct ext2_inode) + sizeof(__u16))) in ext2fs_swap_inode_full()
337 sizeof(struct ext2_inode)) { in ext2fs_swap_inode_full()
364 i = sizeof(struct ext2_inode) + extra_isize + sizeof(__u32); in ext2fs_swap_inode_full()
368 eaf = (__u32 *) (((char *) f) + sizeof(struct ext2_inode) + in ext2fs_swap_inode_full()
378 eat = (__u32 *) (((char *) t) + sizeof(struct ext2_inode) + in ext2fs_swap_inode_full()
384 bufsize - sizeof(struct ext2_inode) - in ext2fs_swap_inode_full()
389 void ext2fs_swap_inode(ext2_filsys fs, struct ext2_inode *t, in ext2fs_swap_inode()
390 struct ext2_inode *f, int hostorder) in ext2fs_swap_inode()
394 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()
/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.h302 struct ext2_inode *stashed_inode;
509 struct ext2_inode *inode,
535 struct ext2_inode *inode);
537 struct ext2_inode *inode, char *buf);
539 struct ext2_inode *inode, int restart_flag,
620 extern int inode_has_valid_blocks(struct ext2_inode *inode);
622 struct ext2_inode * inode, const char * proc);
624 struct ext2_inode *inode,
627 struct ext2_inode * inode, const char * proc);
629 struct ext2_inode * inode, int bufsize,
/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_inode_full(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_inode_full(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.c92 struct ext2_inode inode; in list_dir_proc()
124 memset(&inode, 0, sizeof(struct ext2_inode)); in list_dir_proc()
144 memset(&inode, 0, sizeof(struct ext2_inode)); in list_dir_proc()
195 struct ext2_inode inode; in do_list_dir()
Dutil.c423 int debugfs_read_inode_full(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_read_inode_full()
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_inode_full()
465 int debugfs_write_inode(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_write_inode()
478 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()
129 struct ext2_inode *inode,
135 struct ext2_inode *inode, in htree_dump_int_node()
193 struct ext2_inode *inode, in htree_dump_int_block()
234 struct ext2_inode inode; in do_htree_dump()
/external/u-boot/fs/ext4/
Dext4_common.h51 struct ext2_inode *inode);
71 int ext4fs_iget(int inode_no, struct ext2_inode *inode);
72 void ext4fs_allocate_blocks(struct ext2_inode *file_inode,
Dext4_journal.c334 struct ext2_inode inode_journal; in recover_transaction()
348 (struct ext2_inode *)&inode_journal); in recover_transaction()
349 blknr = read_allocated_block((struct ext2_inode *) in recover_transaction()
403 struct ext2_inode inode_journal; in ext4fs_check_journal_state()
558 struct ext2_inode inode_journal; in update_descriptor_block()
611 struct ext2_inode inode_journal; in update_commit_block()
643 struct ext2_inode inode_journal; in ext4fs_update_journal()
Dext4_write.c135 static void delete_single_indirect_block(struct ext2_inode *inode) in delete_single_indirect_block()
183 static void delete_double_indirect_block(struct ext2_inode *inode) in delete_double_indirect_block()
280 static void delete_triple_indirect_block(struct ext2_inode *inode) in delete_triple_indirect_block()
436 struct ext2_inode inode; in ext4fs_delete_file()
453 struct ext2_inode *inode_buffer = NULL; in ext4fs_delete_file()
544 inode_buffer = (struct ext2_inode *)read_buffer; in ext4fs_delete_file()
686 struct ext2_inode inode_journal; in ext4fs_deinit()
754 static int ext4fs_write_file(struct ext2_inode *file_inode, in ext4fs_write_file()
837 struct ext2_inode *file_inode = NULL; in ext4fs_write()
911 file_inode = (struct ext2_inode *)inode_buffer; in ext4fs_write()
Dext4_common.c45 struct ext2_inode *g_parent_inode;
628 static int search_dir(struct ext2_inode *parent_inode, char *dirname) in search_dir()
736 int ext4fs_iget(int inode_no, struct ext2_inode *inode) in ext4fs_iget()
761 struct ext2_inode *parent_inode = NULL; in ext4fs_get_parent_inode_num()
762 struct ext2_inode *first_inode = NULL; in ext4fs_get_parent_inode_num()
763 struct ext2_inode temp_inode; in ext4fs_get_parent_inode_num()
788 parent_inode = zalloc(sizeof(struct ext2_inode)); in ext4fs_get_parent_inode_num()
791 first_inode = zalloc(sizeof(struct ext2_inode)); in ext4fs_get_parent_inode_num()
794 memcpy(parent_inode, ext4fs_root->inode, sizeof(struct ext2_inode)); in ext4fs_get_parent_inode_num()
795 memcpy(first_inode, parent_inode, sizeof(struct ext2_inode)); in ext4fs_get_parent_inode_num()
[all …]
/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.c488 err = ext2fs_read_inode_full(fs, ino, (struct ext2_inode *)&inode, in update_ctime()
496 err = ext2fs_write_inode_full(fs, ino, (struct ext2_inode *)&inode, in update_ctime()
513 err = ext2fs_read_inode_full(fs, ino, (struct ext2_inode *)&inode, in update_atime()
530 err = ext2fs_write_inode_full(fs, ino, (struct ext2_inode *)&inode, in update_atime()
554 err = ext2fs_read_inode_full(fs, ino, (struct ext2_inode *)&inode, in update_mtime()
564 err = ext2fs_write_inode_full(fs, ino, (struct ext2_inode *)&inode, in update_mtime()
633 struct ext2_inode inode; in check_inum_access()
781 err = ext2fs_read_inode_full(fs, ino, (struct ext2_inode *)&inode, in stat_inode()
844 struct ext2_inode inode; in op_readlink()
1017 err = ext2fs_write_new_inode(fs, child, (struct ext2_inode *)&inode); in op_mknod()
[all …]
/external/e2fsprogs/contrib/android/
Dfsmap.c30 struct ext2_inode inode; in ino_iter_blocks()
50 struct ext2_inode inode; in is_dir()
65 struct ext2_inode inode; in walk_ext_dir()
/external/u-boot/include/
Dext_common.h158 struct ext2_inode { struct
198 struct ext2_inode inode; argument
206 struct ext2_inode *inode;

1234