Lines Matching defs:inode
2 * scantest.c - test the speed of the inode scan routine
98 struct ext2_inode inode;
100 printf(_("size of inode=%d\n"), sizeof(inode));
116 com_err(argv[0], retval, _("while opening inode scan"));
119 retval = ext2fs_get_next_inode(scan, &ino, &inode);
121 com_err(argv[0], retval, _("while starting inode scan"));
125 if (!inode.i_links_count)
127 printf("%lu\n", inode.i_blocks);
129 retval = ext2fs_get_next_inode(scan, &ino, &inode);
132 _("while doing inode scan"));