Home
last modified time | relevance | path

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

123

/external/e2fsprogs/lib/ext2fs/
Dinode.c405 struct ext2_inode *inode, int bufsize) in ext2fs_get_next_inode_full()
485 *inode = *((struct ext2_inode *) scan->temp_buffer); in ext2fs_get_next_inode_full()
513 struct ext2_inode *inode) in ext2fs_get_next_inode()
516 sizeof(struct ext2_inode)); in ext2fs_get_next_inode()
523 struct ext2_inode * inode, int bufsize) in ext2fs_read_inode_full()
536 ((bufsize == sizeof(struct ext2_inode)) || in ext2fs_read_inode_full()
537 (EXT2_INODE_SIZE(fs->super) == sizeof(struct ext2_inode)))) { in ext2fs_read_inode_full()
551 if (bufsize == sizeof(struct ext2_inode)) { in ext2fs_read_inode_full()
625 struct ext2_inode * inode) in ext2fs_read_inode()
628 sizeof(struct ext2_inode)); in ext2fs_read_inode()
[all …]
Dswapfs.c227 (struct ext2_inode *) f); in ext2fs_swap_inode_full()
231 (struct ext2_inode *) t); in ext2fs_swap_inode_full()
282 if (bufsize < (int) (sizeof(struct ext2_inode) + sizeof(__u16))) in ext2fs_swap_inode_full()
291 sizeof(struct ext2_inode)) { in ext2fs_swap_inode_full()
311 i = sizeof(struct ext2_inode) + extra_isize + sizeof(__u32); in ext2fs_swap_inode_full()
315 eaf = (__u32 *) (((char *) f) + sizeof(struct ext2_inode) + in ext2fs_swap_inode_full()
325 eat = (__u32 *) (((char *) t) + sizeof(struct ext2_inode) + in ext2fs_swap_inode_full()
331 bufsize - sizeof(struct ext2_inode) - in ext2fs_swap_inode_full()
336 void ext2fs_swap_inode(ext2_filsys fs, struct ext2_inode *t, in ext2fs_swap_inode()
337 struct ext2_inode *f, int hostorder) in ext2fs_swap_inode()
[all …]
Dext2fs.h229 struct ext2_inode *inode);
231 struct ext2_inode *inode);
817 struct ext2_inode *inode);
819 struct ext2_inode *inode);
868 const struct ext2_inode *inode);
870 struct ext2_inode *inode, blk64_t blk);
907 struct ext2_inode *inode,
911 struct ext2_inode *inode,
915 struct ext2_inode *inode, blk64_t lblk,
1088 struct ext2_inode *inode,
[all …]
Dbmap.c29 struct ext2_inode *inode,
133 struct ext2_inode *inode,
140 struct ext2_inode *inode, in implied_cluster_alloc()
177 struct ext2_inode *inode, blk64_t lblk, in ext2fs_map_cluster_block()
205 struct ext2_inode *inode, in extent_bmap()
270 struct ext2_inode *inode, in ext2fs_file_block_offset_too_big()
291 errcode_t ext2fs_bmap2(ext2_filsys fs, ext2_ino_t ino, struct ext2_inode *inode, in ext2fs_bmap2()
295 struct ext2_inode inode_buf; in ext2fs_bmap2()
444 errcode_t ext2fs_bmap(ext2_filsys fs, ext2_ino_t ino, struct ext2_inode *inode, in ext2fs_bmap()
Di_block.c29 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()
78 errcode_t ext2fs_iblk_set(ext2_filsys fs, struct ext2_inode *inode, blk64_t b) in ext2fs_iblk_set()
Dvalid_blk.c26 int ext2fs_inode_has_valid_blocks2(ext2_filsys fs, struct ext2_inode *inode) in ext2fs_inode_has_valid_blocks2()
57 int ext2fs_inode_has_valid_blocks(struct ext2_inode *inode) in ext2fs_inode_has_valid_blocks()
Dpunch.c47 static errcode_t ind_punch(ext2_filsys fs, struct ext2_inode *inode, in ind_punch()
102 static errcode_t ext2fs_punch_ind(ext2_filsys fs, struct ext2_inode *inode, in ext2fs_punch_ind()
181 struct ext2_inode *inode, in punch_extent_blocks()
249 struct ext2_inode *inode, in ext2fs_punch_extent()
413 struct ext2_inode *inode, in ext2fs_punch()
418 struct ext2_inode inode_buf; in ext2fs_punch()
Dsymlink.c35 struct ext2_inode inode; in ext2fs_symlink()
77 memset(&inode, 0, sizeof(struct ext2_inode)); in ext2fs_symlink()
Dmkdir.c38 struct ext2_inode parent_inode, inode; in ext2fs_mkdir()
83 memset(&inode, 0, sizeof(struct ext2_inode)); in ext2fs_mkdir()
Dext2fsP.h78 struct ext2_inode inode;
146 struct ext2_inode *inode,
Dinode_io.c39 struct ext2_inode inode;
83 struct ext2_inode *inode, in ext2fs_inode_io_intern2()
99 memcpy(&data->inode, inode, sizeof(struct ext2_inode)); in ext2fs_inode_io_intern2()
Dbmove.c30 struct ext2_inode * inode;
102 struct ext2_inode inode; in ext2fs_move_blocks()
/external/e2fsprogs/debugfs/
Ddebugfs.h50 extern int debugfs_read_inode(ext2_ino_t ino, struct ext2_inode * inode,
52 extern int debugfs_read_inode_full(ext2_ino_t ino, struct ext2_inode * inode,
54 extern int debugfs_write_inode(ext2_ino_t ino, struct ext2_inode * inode,
56 extern int debugfs_write_inode_full(ext2_ino_t ino, struct ext2_inode * inode,
58 extern int debugfs_write_new_inode(ext2_ino_t ino, struct ext2_inode * inode,
122 struct ext2_inode *, int);
Ddump.c69 static void fix_perms(const char *cmd, const struct ext2_inode *inode, in fix_perms()
106 struct ext2_inode inode; in dump_file()
200 static void rdump_symlink(ext2_ino_t ino, struct ext2_inode *inode, in rdump_symlink()
254 static void rdump_inode(ext2_ino_t ino, struct ext2_inode *inode, in rdump_inode()
315 struct ext2_inode inode; in rdump_dirent()
332 struct ext2_inode inode; in do_rdump()
Dutil.c386 int debugfs_read_inode_full(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_read_inode_full()
399 int debugfs_read_inode(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_read_inode()
413 struct ext2_inode *inode, in debugfs_write_inode_full()
428 int debugfs_write_inode(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_write_inode()
441 int debugfs_write_new_inode(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_write_new_inode()
Dhtree.c32 struct ext2_inode *inode, in htree_dump_leaf_node()
109 struct ext2_inode *inode,
115 struct ext2_inode *inode, in htree_dump_int_node()
158 struct ext2_inode *inode, in htree_dump_int_block()
198 struct ext2_inode inode; in do_htree_dump()
Dls.c52 struct ext2_inode inode; in list_dir_proc()
80 memset(&inode, 0, sizeof(struct ext2_inode)); in list_dir_proc()
99 memset(&inode, 0, sizeof(struct ext2_inode)); in list_dir_proc()
Dlogdump.c86 struct ext2_inode journal_inode; in do_logdump()
157 / sizeof(struct ext2_inode)); in do_logdump()
163 * sizeof(struct ext2_inode)); in do_logdump()
209 memset(&journal_inode, 0, sizeof(struct ext2_inode)); in do_logdump()
633 struct ext2_inode *inode; in dump_metadata_block()
639 inode = (struct ext2_inode *) (buf + inode_offset_to_dump); in dump_metadata_block()
/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/lib/quota/
Dmkquota.h47 void quota_data_inodes(quota_ctx_t qctx, struct ext2_inode *inode, ext2_ino_t ino,
49 void quota_data_add(quota_ctx_t qctx, struct ext2_inode *inode, ext2_ino_t ino,
51 void quota_data_sub(quota_ctx_t qctx, struct ext2_inode *inode, ext2_ino_t ino,
Dmkquota.c28 static void print_inode(struct ext2_inode *inode) in print_inode()
194 static inline qid_t get_qid(struct ext2_inode *inode, int qtype) in get_qid()
291 void quota_data_add(quota_ctx_t qctx, struct ext2_inode *inode, ext2_ino_t ino, in quota_data_add()
317 void quota_data_sub(quota_ctx_t qctx, struct ext2_inode *inode, ext2_ino_t ino, in quota_data_sub()
342 void quota_data_inodes(quota_ctx_t qctx, struct ext2_inode *inode, in quota_data_inodes()
369 struct ext2_inode inode; in quota_compute_usage()
Dquotaio.c114 struct ext2_inode inode; in quota_inode_truncate()
128 memset(&inode, 0, sizeof(struct ext2_inode)); in quota_inode_truncate()
248 struct ext2_inode inode; in quota_inode_init_new()
260 memset(&inode, 0, sizeof(struct ext2_inode)); in quota_inode_init_new()
/external/e2fsprogs/e2fsck/
De2fsck.h282 struct ext2_inode *stashed_inode;
471 struct ext2_inode *inode);
473 struct ext2_inode *inode, char *buf);
475 struct ext2_inode *inode, int restart_flag,
537 extern int inode_has_valid_blocks(struct ext2_inode *inode);
539 struct ext2_inode * inode, const char * proc);
541 struct ext2_inode *inode,
544 struct ext2_inode * inode, const char * proc);
546 struct ext2_inode * inode, int bufsize,
Dquota.c23 struct ext2_inode inode; in move_quota_inode()
46 memset(&inode, 0, sizeof(struct ext2_inode)); in move_quota_inode()
/external/toybox/toys/pending/
Dmke2fs.c229 inodes = TT.blocksize/sizeof(struct ext2_inode); in get_inodespg()
276 sb->inode_size = SWAP_LE16(sizeof(struct ext2_inode)); in init_superblock()
329 / (TT.blocksize/sizeof(struct ext2_inode)); in group_overhead()
363 static void fill_inode(struct ext2_inode *in, struct dirtree *that) in fill_inode()
502 struct ext2_inode *in = (struct ext2_inode *)toybuf; in mke2fs_main()
511 itable = (TT.inodespg*sizeof(struct ext2_inode))/TT.blocksize; in mke2fs_main()
554 temp = TT.inodespg/(TT.blocksize/sizeof(struct ext2_inode)) + 2; in mke2fs_main()
604 slot = j % (TT.blocksize/sizeof(struct ext2_inode)); in mke2fs_main()

123