Lines Matching refs:inode_buf
980 struct ext2_inode * inode_buf; in do_stat() local
985 inode_buf = (struct ext2_inode *) in do_stat()
987 if (!inode_buf) { in do_stat()
993 free(inode_buf); in do_stat()
997 if (debugfs_read_inode_full(inode, inode_buf, argv[0], in do_stat()
999 free(inode_buf); in do_stat()
1003 dump_inode(inode, inode_buf); in do_stat()
1004 free(inode_buf); in do_stat()
1120 struct ext2_inode inode_buf; in do_clri() local
1125 if (debugfs_read_inode(inode, &inode_buf, argv[0])) in do_clri()
1127 memset(&inode_buf, 0, sizeof(inode_buf)); in do_clri()
1128 if (debugfs_write_inode(inode, &inode_buf, argv[0])) in do_clri()
1847 struct ext2_inode inode_buf; in kill_file_by_inode() local
1849 if (debugfs_read_inode(inode, &inode_buf, 0)) in kill_file_by_inode()
1851 inode_buf.i_dtime = current_fs->now ? current_fs->now : time(0); in kill_file_by_inode()
1852 if (debugfs_write_inode(inode, &inode_buf, 0)) in kill_file_by_inode()
1854 if (ext2fs_inode_has_valid_blocks2(current_fs, &inode_buf)) { in kill_file_by_inode()
1861 LINUX_S_ISDIR(inode_buf.i_mode)); in kill_file_by_inode()