Home | History | Annotate | Download | only in e2fsck

Lines Matching full:inode

6  * than one inode.
16 * Pass1D is a reconciliation pass. For each inode with duplicate
62 ext2_ino_t inode;
72 * This structure stores information about a particular inode which
81 struct ext2_inode inode;
119 struct ext2_inode *inode)
138 sizeof(struct inode_el), "inode element");
139 ino_el->inode = ino;
149 sizeof(struct dup_inode), "duplicate inode header");
158 di->inode = *inode;
170 * Free a duplicate inode record
220 _("multiply claimed inode map"), &inode_dup_map);
260 struct ext2_inode *inode;
268 struct ext2_inode inode;
284 ctx->stashed_inode = &inode;
289 pctx.errcode = ext2fs_get_next_inode(scan, &ino, &inode);
306 pb.inode = &inode;
308 if (ext2fs_inode_has_valid_blocks(&inode) ||
313 if (inode.i_file_acl)
314 process_pass1b_block(fs, &inode.i_file_acl,
355 add_dupe(ctx, p->ino, *block_nr, p->inode);
384 if (dirent->inode > sd->max_inode)
385 /* Should abort this inode, but not everything */
388 if ((dirent->inode < sd->first_inode) || (entry < DIRENT_OTHER_FILE) ||
389 !ext2fs_test_inode_bitmap(inode_dup_map, dirent->inode))
392 n = dict_lookup(&ino_dict, INT_TO_VOIDPTR(dirent->inode));
418 * (by searching for the containing directory for that inode.)
452 "Shared inode list");
464 * belonging to this inode, and then search each block
482 * if an inode is already in shared[], don't
486 if (r->inode == ino)
489 if (shared[i] == r->inode)
492 shared[shared_len++] = r->inode;
498 * Report the inode that we are working on
500 pctx.inode = &p->inode;
518 * Report the inode that we are sharing with
520 pctx.inode = &t->inode;
596 struct ext2_inode inode;
606 e2fsck_read_inode(ctx, ino, &inode, "delete_file");
607 if (ext2fs_inode_has_valid_blocks(&inode))
614 ext2fs_inode_alloc_stats2(fs, ino, -1, LINUX_S_ISDIR(inode.i_mode));
616 /* Inode may have changed by block_iterate, so reread it */
617 e2fsck_read_inode(ctx, ino, &inode, "delete_file");
618 e2fsck_clear_inode(ctx, ino, &inode, 0, "delete_file");
619 if (inode.i_file_acl &&
622 pctx.errcode = ext2fs_adjust_ea_refcount(fs, inode.i_file_acl,
629 pctx.blk = inode.i_file_acl;
640 inode.i_file_acl))
641 delete_file_block(fs, &inode.i_file_acl,
746 if (ext2fs_inode_has_valid_blocks(&dp->inode))
761 /* The inode may have changed on disk, so we have to re-read it */
762 e2fsck_read_inode(ctx, ino, &dp->inode, "clone file EA");
763 blk = dp->inode.i_file_acl;
764 if (blk && (clone_file_block(fs, &dp->inode.i_file_acl,
767 e2fsck_write_inode(ctx, ino, &dp->inode, "clone file EA");
783 if (ino_el->inode == ino)
785 n = dict_lookup(&ino_dict, INT_TO_VOIDPTR(ino_el->inode));
789 "inode record for %u"),
790 ino_el->inode);
795 if (di->inode.i_file_acl == blk) {
796 di->inode.i_file_acl = dp->inode.i_file_acl;
797 e2fsck_write_inode(ctx, ino_el->inode,
798 &di->inode, "clone file EA");
811 * group descriptors, inode bitmaps, or block bitmaps.
829 /* Check the inode table */