Lines Matching refs:inode
2 * scantest.c - test the speed of the inode scan routine
95 struct ext2_inode inode;
97 printf(_("size of inode=%d\n"), sizeof(inode));
113 com_err(argv[0], retval, _("while opening inode scan"));
116 retval = ext2fs_get_next_inode(scan, &ino, &inode);
118 com_err(argv[0], retval, _("while starting inode scan"));
122 if (!inode.i_links_count)
124 printf("%lu\n", inode.i_blocks);
126 retval = ext2fs_get_next_inode(scan, &ino, &inode);
129 _("while doing inode scan"));