Lines Matching refs:ino
609 static void dump_extents(FILE *f, const char *prefix, ext2_ino_t ino,
619 errcode = ext2fs_extent_open(current_fs, ino, &handle);
892 ext2_ino_t ino;
922 ino = string_to_inode(argv[optind]);
923 if (ino == 0)
926 if (debugfs_read_inode(ino, &inode, argv[0]))
944 dump_extents(out, "", ino, flags, logical_width, physical_width);
1339 ext2_ino_t ino;
1348 ino = string_to_inode(sourcename);
1349 if (!ino)
1380 if (debugfs_read_inode(ino, &inode, sourcename))
1383 retval = ext2fs_link(current_fs, dir, dest, ino,
1415 ext2_ino_t ino;
1423 ino = string_to_inode(argv[1]);
1424 if (!ino)
1427 if (debugfs_read_inode(ino, &inode, argv[1]))
1430 if (ext2fs_test_inode_bitmap2(current_fs->inode_map, ino)) {
1442 if (debugfs_write_inode(ino, &inode, argv[0]))
1445 ext2fs_block_iterate3(current_fs, ino, BLOCK_FLAG_READ_ONLY, NULL,
1448 ext2fs_inode_alloc_stats2(current_fs, ino, +1, 0);
2090 ext2_ino_t ino;
2099 ino = string_to_inode(argv[1]);
2100 if (!ino)
2106 errcode = ext2fs_bmap2(current_fs, ino, 0, 0, 0, blk, 0, &pblk);
2117 ext2_ino_t ino;
2123 ino = string_to_inode(argv[1]);
2124 if (!ino)
2127 group = (ino - 1) / EXT2_INODES_PER_GROUP(current_fs->super);
2128 offset = ((ino - 1) % EXT2_INODES_PER_GROUP(current_fs->super)) *
2141 "\tlocated at block %lu, offset 0x%04lx\n", ino, group,
2236 ext2_ino_t ino;
2246 ino = string_to_inode(argv[1]);
2247 if (!ino)
2259 errcode = ext2fs_punch(current_fs, ino, 0, 0, start, end);
2263 "while truncating inode %u from %llu to %llu\n", ino,