Home | History | Annotate | Download | only in e2fsck

Lines Matching refs:ino

62 static void deallocate_inode(e2fsck_t ctx, ext2_ino_t ino, char* block_buf);
69 static void clear_htree(e2fsck_t ctx, ext2_ino_t ino);
167 pctx.dir = dx_dir->ino;
242 clear_htree(ctx, dx_dir->ino);
331 if (db_a->ino != db_b->ino)
332 return (int) (db_a->ino - db_b->ino);
344 ext2_ino_t ino, struct problem_context *pctx)
365 dirent->inode = ino;
373 if (dirent->inode != ino) {
375 dirent->inode = ino;
405 ext2_ino_t ino, struct problem_context *pctx)
437 if (e2fsck_dir_info_set_dotdot(ctx, ino, dirent->inode)) {
626 clear_htree(cd->ctx, cd->pctx.ino);
718 ext2_ino_t ino = db->ino;
746 if (!(ext2fs_test_inode_bitmap(ctx->inode_used_map, ino)))
749 cd->pctx.ino = ino;
768 ext2fs_u32_list_test(ctx->dirs_to_hash, ino))
773 db->blockcnt, ino);
789 dx_dir = e2fsck_get_dx_dir_info(ctx, ino);
794 clear_htree(ctx, ino);
818 clear_htree(ctx, ino);
868 if (check_dot(ctx, dirent, ino, &cd->pctx))
871 ret = check_dotdot(ctx, dirent, ino, &cd->pctx);
876 } else if (dirent->inode == ino) {
959 if (e2fsck_process_bad_inode(ctx, ino,
1030 if (check_name(ctx, dirent, ino, &cd->pctx))
1033 if (check_filetype(ctx, dirent, ino, &cd->pctx))
1060 cd->pctx.ino = dirent->inode;
1075 dirent->inode, ino);
1083 pctx.ino = ino;
1089 ext2fs_u32_list_add(ctx->dirs_to_hash, ino);
1116 cd->pctx.dir = cd->pctx.ino;
1172 static void deallocate_inode(e2fsck_t ctx, ext2_ino_t ino, char* block_buf)
1179 e2fsck_read_inode(ctx, ino, &inode, "deallocate_inode");
1180 e2fsck_clear_inode(ctx, ino, &inode, 0, "deallocate_inode");
1182 pctx.ino = ino;
1188 ext2fs_inode_alloc_stats2(fs, ino, -1, LINUX_S_ISDIR(inode.i_mode));
1219 pctx.errcode = ext2fs_block_iterate2(fs, ino, 0, block_buf,
1231 static void clear_htree(e2fsck_t ctx, ext2_ino_t ino)
1235 e2fsck_read_inode(ctx, ino, &inode, "clear_htree");
1237 e2fsck_write_inode(ctx, ino, &inode, "clear_htree");
1239 ext2fs_u32_list_add(ctx->dirs_to_hash, ino);
1244 ext2_ino_t ino, char *buf)
1254 e2fsck_read_inode(ctx, ino, &inode, "process_bad_inode");
1257 pctx.ino = ino;
1288 && !e2fsck_pass1_check_symlink(fs, ino, &inode, buf)) {
1294 deallocate_inode(ctx, ino, 0);
1379 e2fsck_write_inode(ctx, ino, &inode, "process_bad_inode");
1381 ext2fs_unmark_inode_bitmap(ctx->inode_bad_map, ino);
1430 pctx->errcode = ext2fs_new_dir_block(fs, db->ino,
1450 e2fsck_read_inode(ctx, db->ino, &inode, "allocate_dir_block");
1454 e2fsck_write_inode(ctx, db->ino, &inode, "allocate_dir_block");
1460 pctx->errcode = ext2fs_bmap(fs, db->ino, &inode, 0, BMAP_SET,