Home
last modified time | relevance | path

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

123

/external/e2fsprogs/lib/ext2fs/
Dswapfs.c156 (struct ext2_inode *) f); in ext2fs_swap_inode_full()
160 (struct ext2_inode *) t); in ext2fs_swap_inode_full()
214 if (bufsize < (int) (sizeof(struct ext2_inode) + sizeof(__u16))) in ext2fs_swap_inode_full()
223 sizeof(struct ext2_inode)) { in ext2fs_swap_inode_full()
228 i = sizeof(struct ext2_inode) + extra_isize + sizeof(__u32); in ext2fs_swap_inode_full()
232 eaf = (__u32 *) (((char *) f) + sizeof(struct ext2_inode) + in ext2fs_swap_inode_full()
238 eat = (__u32 *) (((char *) t) + sizeof(struct ext2_inode) + in ext2fs_swap_inode_full()
244 bufsize - sizeof(struct ext2_inode) - in ext2fs_swap_inode_full()
249 void ext2fs_swap_inode(ext2_filsys fs, struct ext2_inode *t, in ext2fs_swap_inode()
250 struct ext2_inode *f, int hostorder) in ext2fs_swap_inode()
[all …]
Dinode.c385 struct ext2_inode *inode, int bufsize) in ext2fs_get_next_inode_full()
466 *inode = *((struct ext2_inode *) scan->temp_buffer); in ext2fs_get_next_inode_full()
495 struct ext2_inode *inode) in ext2fs_get_next_inode()
498 sizeof(struct ext2_inode)); in ext2fs_get_next_inode()
505 struct ext2_inode * inode, int bufsize) in ext2fs_read_inode_full()
528 if (bufsize == sizeof(struct ext2_inode)) { in ext2fs_read_inode_full()
604 struct ext2_inode * inode) in ext2fs_read_inode()
607 sizeof(struct ext2_inode)); in ext2fs_read_inode()
611 struct ext2_inode * inode, int bufsize) in ext2fs_write_inode_full()
724 struct ext2_inode *inode) in ext2fs_write_inode()
[all …]
Dext2fs.h224 struct ext2_inode *inode);
226 struct ext2_inode *inode);
603 struct ext2_inode *inode,
730 struct ext2_inode *inode,
813 struct ext2_inode *inode,
819 struct ext2_inode *inode);
832 struct ext2_inode * inode,
835 struct ext2_inode * inode);
837 struct ext2_inode * inode,
840 struct ext2_inode * inode);
[all …]
Dmkdir.c37 struct ext2_inode parent_inode, inode; in ext2fs_mkdir()
82 memset(&inode, 0, sizeof(struct ext2_inode)); in ext2fs_mkdir()
Dinode_io.c39 struct ext2_inode inode;
75 struct ext2_inode *inode, in ext2fs_inode_io_intern2()
91 memcpy(&data->inode, inode, sizeof(struct ext2_inode)); in ext2fs_inode_io_intern2()
Dbmap.c28 struct ext2_inode *inode,
137 errcode_t ext2fs_bmap(ext2_filsys fs, ext2_ino_t ino, struct ext2_inode *inode, in ext2fs_bmap()
141 struct ext2_inode inode_buf; in ext2fs_bmap()
Dbmove.c26 struct ext2_inode * inode;
96 struct ext2_inode inode; in ext2fs_move_blocks()
Dfileio.c25 struct ext2_inode inode;
36 struct ext2_inode *inode, in ext2fs_file_open2()
61 memcpy(&file->inode, inode, sizeof(struct ext2_inode)); in ext2fs_file_open2()
Dvalid_blk.c27 int ext2fs_inode_has_valid_blocks(struct ext2_inode *inode) in ext2fs_inode_has_valid_blocks()
Dext2fsP.h76 struct ext2_inode inode;
/external/grub/stage2/
Dfsys_ext2fs.c97 struct ext2_inode struct
211 ((struct ext2_inode *)((int)GROUP_DESC + EXT2_BLOCK_SIZE(SUPERBLOCK)))
213 ((int)((int)INODE + sizeof(struct ext2_inode)))
294 i < ((unsigned char *) INODE + sizeof (struct ext2_inode)); in ext2fs_block_map()
403 i < ((unsigned char *) INODE + sizeof (struct ext2_inode)); in ext2fs_read()
508 struct ext2_inode *raw_inode; /* inode info corresponding to current_ino */ in ext2fs_dir()
556 >> log2 (EXT2_BLOCK_SIZE (SUPERBLOCK) / sizeof (struct ext2_inode))); in ext2fs_dir()
570 & (EXT2_BLOCK_SIZE (SUPERBLOCK) / sizeof (struct ext2_inode) - 1)); in ext2fs_dir()
573 (EXT2_BLOCK_SIZE (SUPERBLOCK) / sizeof (struct ext2_inode)), in ext2fs_dir()
574 sizeof (struct ext2_inode)); in ext2fs_dir()
[all …]
/external/e2fsprogs/debugfs/
Ddebugfs.h45 extern int debugfs_read_inode(ext2_ino_t ino, struct ext2_inode * inode,
47 extern int debugfs_read_inode_full(ext2_ino_t ino, struct ext2_inode * inode,
49 extern int debugfs_write_inode(ext2_ino_t ino, struct ext2_inode * inode,
51 extern int debugfs_write_new_inode(ext2_ino_t ino, struct ext2_inode * inode,
87 struct ext2_inode *, int);
Ddump.c67 static void fix_perms(const char *cmd, const struct ext2_inode *inode, in fix_perms()
104 struct ext2_inode inode; in dump_file()
189 static void rdump_symlink(ext2_ino_t ino, struct ext2_inode *inode, in rdump_symlink()
243 static void rdump_inode(ext2_ino_t ino, struct ext2_inode *inode, in rdump_inode()
300 struct ext2_inode inode; in rdump_dirent()
318 struct ext2_inode inode; in do_rdump()
Dutil.c348 int debugfs_read_inode_full(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_read_inode_full()
361 int debugfs_read_inode(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_read_inode()
374 int debugfs_write_inode(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_write_inode()
387 int debugfs_write_new_inode(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_write_new_inode()
Dhtree.c30 struct ext2_inode *inode, in htree_dump_leaf_node()
97 struct ext2_inode *inode,
103 struct ext2_inode *inode, in htree_dump_int_node()
146 struct ext2_inode *inode, in htree_dump_int_block()
186 struct ext2_inode inode; in do_htree_dump()
Dlogdump.c85 struct ext2_inode journal_inode; in do_logdump()
156 / sizeof(struct ext2_inode)); in do_logdump()
162 * sizeof(struct ext2_inode)); in do_logdump()
208 memset(&journal_inode, 0, sizeof(struct ext2_inode)); in do_logdump()
626 struct ext2_inode *inode; in dump_metadata_block()
632 inode = (struct ext2_inode *) (buf + inode_offset_to_dump); in dump_metadata_block()
Ddebugfs.c522 ext2_ino_t inode_num, struct ext2_inode *inode, in internal_dump_inode()
619 static void dump_inode(ext2_ino_t inode_num, struct ext2_inode *inode) in dump_inode()
631 struct ext2_inode * inode_buf; in do_stat()
636 inode_buf = (struct ext2_inode *) in do_stat()
678 struct ext2_inode inode_buf; in do_clri()
851 struct ext2_inode inode; in do_modify_inode()
1013 struct ext2_inode inode; in make_link()
1087 struct ext2_inode inode; in do_undel()
1295 struct ext2_inode inode; in do_write()
1368 struct ext2_inode inode; in do_mknod()
[all …]
Dls.c51 struct ext2_inode inode; in list_dir_proc()
87 memset(&inode, 0, sizeof(struct ext2_inode)); in list_dir_proc()
/external/e2fsprogs/ext2ed/
Dinode_com.c46 …try_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode); in type_ext2_inode___prev()
52 device_offset-=sizeof (struct ext2_inode)*mult; in type_ext2_inode___prev()
94 …try_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode); in type_ext2_inode___next()
100 device_offset+=sizeof (struct ext2_inode)*mult; in type_ext2_inode___next()
121 struct ext2_inode *inode_ptr; in type_ext2_inode___show()
136 …try_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode); in type_ext2_inode___show()
302 …try_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode); in type_ext2_inode___entry()
412 …entry_num=(inode_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode in inode_offset_to_inode_num()
433 …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.h256 struct ext2_inode *stashed_inode;
429 struct ext2_inode *inode);
431 struct ext2_inode *inode, char *buf);
477 extern int inode_has_valid_blocks(struct ext2_inode *inode);
479 struct ext2_inode * inode, const char * proc);
481 struct ext2_inode * inode, const char * proc);
483 struct ext2_inode * inode, int bufsize,
Dswapfs.c26 struct ext2_inode *inode;
81 struct ext2_inode *inode) in swap_inode_blocks()
118 struct ext2_inode * inode; in swap_inodes()
143 inode = (struct ext2_inode *) buf; in swap_inodes()
Dpass1.c88 struct ext2_inode *inode;
96 struct ext2_inode inode;
132 struct ext2_inode *inode) in e2fsck_pass1_check_device_inode()
166 int e2fsck_pass1_check_symlink(ext2_filsys fs, struct ext2_inode *inode, in e2fsck_pass1_check_symlink()
231 struct ext2_inode *inode = pctx->inode; in check_size()
319 e2fsck_write_inode_full(ctx, pctx->ino, (struct ext2_inode *) inode, in check_ea_in_inode()
376 struct ext2_inode *inode = pctx->inode; in check_is_really_dir()
472 struct ext2_inode *inode; in e2fsck_pass1()
563 inode = (struct ext2_inode *) in e2fsck_pass1()
1051 struct ext2_inode *old_stashed_inode; in process_inodes()
[all …]
Dpass4.c29 struct ext2_inode inode; in disconnect_inode()
86 struct ext2_inode inode; in e2fsck_pass4()
Dpass3.c158 struct ext2_inode inode; in check_root()
373 struct ext2_inode inode; in e2fsck_get_lost_and_found()
519 struct ext2_inode inode; in e2fsck_reconnect_file()
568 struct ext2_inode inode; in e2fsck_adjust_inode_count()
769 struct ext2_inode inode; in e2fsck_expand_directory()
Dutil.c354 struct ext2_inode * inode, const char *proc) in e2fsck_read_inode()
367 struct ext2_inode * inode, int bufsize, in e2fsck_write_inode_full()
381 struct ext2_inode * inode, const char *proc) in e2fsck_write_inode()

123