Lines Matching refs:inode_buf
861 struct ext2_inode * inode_buf; in do_stat() local
866 inode_buf = (struct ext2_inode *) in do_stat()
868 if (!inode_buf) { in do_stat()
874 free(inode_buf); in do_stat()
878 if (debugfs_read_inode_full(inode, inode_buf, argv[0], in do_stat()
880 free(inode_buf); in do_stat()
884 dump_inode(inode, inode_buf); in do_stat()
885 free(inode_buf); in do_stat()
997 struct ext2_inode inode_buf; in do_clri() local
1002 if (debugfs_read_inode(inode, &inode_buf, argv[0])) in do_clri()
1004 memset(&inode_buf, 0, sizeof(inode_buf)); in do_clri()
1005 if (debugfs_write_inode(inode, &inode_buf, argv[0])) in do_clri()
1896 struct ext2_inode inode_buf; in kill_file_by_inode() local
1898 if (debugfs_read_inode(inode, &inode_buf, 0)) in kill_file_by_inode()
1900 inode_buf.i_dtime = current_fs->now ? current_fs->now : time(0); in kill_file_by_inode()
1901 if (debugfs_write_inode(inode, &inode_buf, 0)) in kill_file_by_inode()
1903 if (!ext2fs_inode_has_valid_blocks2(current_fs, &inode_buf)) in kill_file_by_inode()
1910 LINUX_S_ISDIR(inode_buf.i_mode)); in kill_file_by_inode()