Home
last modified time | relevance | path

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

1234

/external/e2fsprogs/lib/ext2fs/
Dext2fs.h237 struct ext2_inode *inode);
239 struct ext2_inode *inode);
373 struct ext2_inode *inode;
713 struct ext2_inode *inode, blk64_t lblk);
884 struct ext2_inode *inode);
886 struct ext2_inode *inode);
937 const struct ext2_inode *inode);
939 struct ext2_inode *inode, blk64_t blk);
940 extern errcode_t ext2fs_inode_size_set(ext2_filsys fs, struct ext2_inode *inode,
978 struct ext2_inode *inode,
[all …]
Dinode.c577 struct ext2_inode *inode, int bufsize) in ext2fs_get_next_inode_full()
721 struct ext2_inode *inode) in ext2fs_get_next_inode()
724 sizeof(struct ext2_inode)); in ext2fs_get_next_inode()
731 struct ext2_inode * inode, int bufsize) in ext2fs_read_inode_full()
748 ((bufsize == sizeof(struct ext2_inode)) || in ext2fs_read_inode_full()
749 (EXT2_INODE_SIZE(fs->super) == sizeof(struct ext2_inode)))) { in ext2fs_read_inode_full()
842 struct ext2_inode * inode) in ext2fs_read_inode()
845 sizeof(struct ext2_inode)); in ext2fs_read_inode()
849 struct ext2_inode * inode, int bufsize) in ext2fs_write_inode_full()
881 (struct ext2_inode *)w_inode, in ext2fs_write_inode_full()
[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()
279 struct ext2_inode *inode, in ext2fs_file_block_offset_too_big()
300 errcode_t ext2fs_bmap2(ext2_filsys fs, ext2_ino_t ino, struct ext2_inode *inode, in ext2fs_bmap2()
304 struct ext2_inode inode_buf; in ext2fs_bmap2()
482 errcode_t ext2fs_bmap(ext2_filsys fs, ext2_ino_t ino, struct ext2_inode *inode, in ext2fs_bmap()
Dext_attr.c331 err = ext2fs_read_inode_full(fs, ino, (struct ext2_inode *)&i, in ext2fs_free_ext_attr()
339 blk = ext2fs_file_acl_block(fs, (struct ext2_inode *)inode); in ext2fs_free_ext_attr()
371 ext2fs_file_acl_block_set(fs, (struct ext2_inode *)inode, 0); in ext2fs_free_ext_attr()
374 err = ext2fs_iblk_sub_blocks(fs, (struct ext2_inode *)inode, 1); in ext2fs_free_ext_attr()
380 err = ext2fs_write_inode_full(fs, ino, (struct ext2_inode *)&i, in ext2fs_free_ext_attr()
401 blk = ext2fs_file_acl_block(fs, (struct ext2_inode *)inode); in prep_ea_block_for_write()
435 err = ext2fs_iblk_add_blocks(fs, (struct ext2_inode *)inode, in prep_ea_block_for_write()
442 goal = ext2fs_find_inode_goal(fs, ino, (struct ext2_inode *)inode, 0); in prep_ea_block_for_write()
446 ext2fs_file_acl_block_set(fs, (struct ext2_inode *)inode, blk); in prep_ea_block_for_write()
541 (struct ext2_inode *)inode, in ext2fs_xattrs_write()
[all …]
Dswapfs.c236 (struct ext2_inode *) f); in ext2fs_swap_inode_full()
240 (struct ext2_inode *) t); in ext2fs_swap_inode_full()
297 if (bufsize < (int) (sizeof(struct ext2_inode) + sizeof(__u16))) in ext2fs_swap_inode_full()
306 sizeof(struct ext2_inode)) { in ext2fs_swap_inode_full()
331 i = sizeof(struct ext2_inode) + extra_isize + sizeof(__u32); in ext2fs_swap_inode_full()
335 eaf = (__u32 *) (((char *) f) + sizeof(struct ext2_inode) + in ext2fs_swap_inode_full()
345 eat = (__u32 *) (((char *) t) + sizeof(struct ext2_inode) + in ext2fs_swap_inode_full()
351 bufsize - sizeof(struct ext2_inode) - in ext2fs_swap_inode_full()
356 void ext2fs_swap_inode(ext2_filsys fs, struct ext2_inode *t, in ext2fs_swap_inode()
357 struct ext2_inode *f, int hostorder) in ext2fs_swap_inode()
[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()
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.c99 struct ext2_inode inode; in ext2fs_inline_data_size()
124 struct ext2_inode inode; in ext2fs_inline_data_dir_iterate()
357 struct ext2_inode *inode, char *buf, size_t size) in ext2fs_inline_data_dir_expand()
409 struct ext2_inode *inode, char *buf, size_t size) in ext2fs_inline_data_file_expand()
442 struct ext2_inode inode; in ext2fs_inline_data_expand()
512 struct ext2_inode *inode, in ext2fs_inline_data_get()
515 struct ext2_inode inode_buf; in ext2fs_inline_data_get()
544 struct ext2_inode *inode, in ext2fs_inline_data_set()
547 struct ext2_inode inode_buf; in ext2fs_inline_data_set()
607 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()
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()
/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.h287 struct ext2_inode *stashed_inode;
489 struct ext2_inode *inode,
514 struct ext2_inode *inode);
516 struct ext2_inode *inode, char *buf);
518 struct ext2_inode *inode, int restart_flag,
603 extern int inode_has_valid_blocks(struct ext2_inode *inode);
605 struct ext2_inode * inode, const char * proc);
607 struct ext2_inode *inode,
610 struct ext2_inode * inode, const char * proc);
612 struct ext2_inode * inode, int bufsize,
Dquota.c22 struct ext2_inode inode; in move_quota_inode()
55 memset(&inode, 0, sizeof(struct ext2_inode)); in move_quota_inode()
/external/e2fsprogs/debugfs/
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);
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()
198 static void rdump_symlink(ext2_ino_t ino, struct ext2_inode *inode, in rdump_symlink()
252 static void rdump_inode(ext2_ino_t ino, struct ext2_inode *inode, in rdump_inode()
313 struct ext2_inode inode; in rdump_dirent()
353 struct ext2_inode inode; in do_rdump()
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.c418 int debugfs_read_inode_full(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_read_inode_full()
431 int debugfs_read_inode(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_read_inode()
445 struct ext2_inode *inode, in debugfs_write_inode_full()
460 int debugfs_write_inode(ext2_ino_t ino, struct ext2_inode * inode, in debugfs_write_inode()
473 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()
233 struct ext2_inode inode; in do_htree_dump()
Dlogdump.c87 struct ext2_inode journal_inode; in do_logdump()
162 / sizeof(struct ext2_inode)); in do_logdump()
168 * sizeof(struct ext2_inode)); in do_logdump()
214 memset(&journal_inode, 0, sizeof(struct ext2_inode)); in do_logdump()
668 struct ext2_inode *inode; in dump_metadata_block()
674 inode = (struct ext2_inode *) (buf + inode_offset_to_dump); in dump_metadata_block()
Ddebugfs.c765 struct ext2_inode *inode, const char *prefix) in dump_fast_link()
804 ext2_ino_t inode_num, struct ext2_inode *inode, in internal_dump_inode()
955 static void dump_inode(ext2_ino_t inode_num, struct ext2_inode *inode) in dump_inode()
967 struct ext2_inode * inode_buf; in do_stat()
972 inode_buf = (struct ext2_inode *) in do_stat()
997 struct ext2_inode inode; in do_dump_extents()
1103 struct ext2_inode inode_buf; in do_clri()
1315 struct ext2_inode inode; in do_modify_inode()
1446 struct ext2_inode inode; in make_link()
1522 struct ext2_inode inode; in do_undel()
[all …]
/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()
/external/e2fsprogs/misc/
Dfuse2fs.c481 err = ext2fs_read_inode_full(fs, ino, (struct ext2_inode *)&inode, in update_ctime()
489 err = ext2fs_write_inode_full(fs, ino, (struct ext2_inode *)&inode, in update_ctime()
506 err = ext2fs_read_inode_full(fs, ino, (struct ext2_inode *)&inode, in update_atime()
523 err = ext2fs_write_inode_full(fs, ino, (struct ext2_inode *)&inode, in update_atime()
547 err = ext2fs_read_inode_full(fs, ino, (struct ext2_inode *)&inode, in update_mtime()
557 err = ext2fs_write_inode_full(fs, ino, (struct ext2_inode *)&inode, in update_mtime()
626 struct ext2_inode inode; in check_inum_access()
774 err = ext2fs_read_inode_full(fs, ino, (struct ext2_inode *)&inode, in stat_inode()
837 struct ext2_inode inode; in op_readlink()
1010 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()
Dperms.c72 struct ext2_inode inode; in set_selinux_xattr()
104 struct ext2_inode inode; in set_perms_and_caps()
145 struct ext2_inode inode; in set_timestamp()
187 struct ext2_inode inode; in is_dir()
/external/e2fsprogs/lib/support/
Dquotaio.c123 struct ext2_inode inode; in quota_inode_truncate()
142 memset(&inode, 0, sizeof(struct ext2_inode)); in quota_inode_truncate()
293 struct ext2_inode inode; in quota_inode_init_new()
308 memset(&inode, 0, sizeof(struct ext2_inode)); in quota_inode_init_new()

1234