Lines Matching refs:inode_num
613 ext2_ino_t inode_num EXT2FS_ATTR((unused)), in internal_dump_inode_extra()
774 static void dump_inline_data(FILE *out, const char *prefix, ext2_ino_t inode_num) in dump_inline_data() argument
779 retval = ext2fs_inline_data_size(current_fs, inode_num, &size); in dump_inline_data()
784 static void dump_inline_symlink(FILE *out, ext2_ino_t inode_num, in dump_inline_symlink() argument
791 retval = ext2fs_inline_data_size(current_fs, inode_num, &size); in dump_inline_symlink()
799 retval = ext2fs_inline_data_get(current_fs, inode_num, in dump_inline_symlink()
814 ext2_ino_t inode_num, struct ext2_inode *inode, in internal_dump_inode() argument
835 fprintf(out, "%sInode: %u Type: %s ", prefix, inode_num, i_type); in internal_dump_inode()
920 internal_dump_inode_extra(out, prefix, inode_num, in internal_dump_inode()
922 dump_inode_attributes(out, inode_num); in internal_dump_inode()
939 dump_inline_symlink(out, inode_num, inode, prefix); in internal_dump_inode()
958 dump_extents(out, prefix, inode_num, in internal_dump_inode()
961 dump_inline_data(out, prefix, inode_num); in internal_dump_inode()
963 dump_blocks(out, prefix, inode_num); in internal_dump_inode()
967 static void dump_inode(ext2_ino_t inode_num, struct ext2_inode *inode) in dump_inode() argument
972 internal_dump_inode(out, "", inode_num, inode, 1); in dump_inode()
1340 ext2_ino_t inode_num; in do_modify_inode() local
1350 if (common_inode_args_process(argc, argv, &inode_num, CHECK_FS_RW)) in do_modify_inode()
1355 if (debugfs_read_inode(inode_num, &inode, argv[1])) in do_modify_inode()
1409 if (debugfs_write_inode(inode_num, &inode, argv[1])) in do_modify_inode()
1868 ext2_ino_t inode_num; in do_kill_file() local
1870 if (common_inode_args_process(argc, argv, &inode_num, CHECK_FS_RW)) in do_kill_file()
1873 kill_file_by_inode(inode_num); in do_kill_file()
1880 ext2_ino_t inode_num; in do_rm() local
1887 retval = ext2fs_namei(current_fs, root, cwd, argv[1], &inode_num); in do_rm()
1893 if (debugfs_read_inode(inode_num, &inode, argv[0])) in do_rm()
1902 if (debugfs_write_inode(inode_num, &inode, argv[0])) in do_rm()
1907 kill_file_by_inode(inode_num); in do_rm()
1942 ext2_ino_t inode_num; in do_rmdir() local
1950 retval = ext2fs_namei(current_fs, root, cwd, argv[1], &inode_num); in do_rmdir()
1956 if (debugfs_read_inode(inode_num, &inode, argv[0])) in do_rmdir()
1967 retval = ext2fs_dir_iterate2(current_fs, inode_num, 0, in do_rmdir()
1979 if (debugfs_write_inode(inode_num, &inode, argv[0])) in do_rmdir()
1983 kill_file_by_inode(inode_num); in do_rmdir()