Lines Matching refs:inode_buf
995 struct ext2_inode * inode_buf; in do_stat() local
1000 inode_buf = (struct ext2_inode *) in do_stat()
1002 if (!inode_buf) { in do_stat()
1008 free(inode_buf); in do_stat()
1012 if (debugfs_read_inode2(inode, inode_buf, argv[0], in do_stat()
1014 free(inode_buf); in do_stat()
1018 dump_inode(inode, inode_buf); in do_stat()
1019 free(inode_buf); in do_stat()
1135 struct ext2_inode inode_buf; in do_clri() local
1140 if (debugfs_read_inode(inode, &inode_buf, argv[0])) in do_clri()
1142 memset(&inode_buf, 0, sizeof(inode_buf)); in do_clri()
1143 if (debugfs_write_inode(inode, &inode_buf, argv[0])) in do_clri()
1864 struct ext2_inode inode_buf; in kill_file_by_inode() local
1866 if (debugfs_read_inode(inode, &inode_buf, 0)) in kill_file_by_inode()
1868 inode_buf.i_dtime = current_fs->now ? current_fs->now : time(0); in kill_file_by_inode()
1869 if (debugfs_write_inode(inode, &inode_buf, 0)) in kill_file_by_inode()
1871 if (ext2fs_inode_has_valid_blocks2(current_fs, &inode_buf)) { in kill_file_by_inode()
1878 LINUX_S_ISDIR(inode_buf.i_mode)); in kill_file_by_inode()