Home | History | Annotate | Download | only in e2fsck

Lines Matching full:pctx

338 	struct problem_context pctx;
414 clear_problem_context(&pctx);
415 pctx.ino = fs->super->s_free_inodes_count;
416 pctx.ino2 = ctx->free_inodes;
417 if ((pctx.ino != pctx.ino2) &&
419 fix_problem(ctx, PR_0_FREE_INODE_COUNT, &pctx)) {
423 clear_problem_context(&pctx);
424 pctx.blk = ext2fs_free_blocks_count(fs->super);
425 pctx.blk2 = ctx->free_blocks;
426 if ((pctx.blk != pctx.blk2) &&
428 fix_problem(ctx, PR_0_FREE_BLOCK_COUNT, &pctx)) {
1152 struct problem_context pctx;
1155 clear_problem_context(&pctx);
1203 if (fix_problem(ctx, PR_0_MMP_INVALID_BLK, &pctx)) {
1221 if (fix_problem(ctx, PR_0_MMP_INVALID_MAGIC, &pctx)) {
1226 if (fix_problem(ctx, PR_0_MMP_CSUM_INVALID, &pctx)) {
1334 struct problem_context pctx;
1344 clear_problem_context(&pctx);
1449 pctx.errcode = retval;
1450 fix_problem(ctx, PR_0_OPEN_FAILED, &pctx);
1453 pctx.errcode = retval2;
1454 fix_problem(ctx, PR_0_CHECK_DESC_FAILED, &pctx);
1456 pctx.errcode = 0;
1516 fix_problem(ctx, PR_0_SB_CORRUPT, &pctx);
1541 fix_problem(ctx, PR_0_SB_CORRUPT, &pctx);
1565 pctx.errcode = ext2fs_get_device_size2(ctx->filesystem_name,
1575 if (pctx.errcode == EBUSY) {
1578 pctx.errcode =
1583 if (pctx.errcode == EXT2_ET_UNIMPLEMENTED)
1585 else if (pctx.errcode) {
1586 fix_problem(ctx, PR_0_GETSIZE_ERROR, &pctx);
1794 clear_problem_context(&pctx);
1795 pctx.errcode = quota_init_context(&ctx->qctx, ctx->fs,
1797 if (pctx.errcode) {
1798 fix_problem(ctx, PR_0_QUOTA_INIT_CTX, &pctx);
1808 if (fix_problem(ctx, PR_6_RECREATE_JOURNAL, &pctx)) {
1848 pctx.num = qtype;
1852 fix_problem(ctx, PR_6_UPDATE_QUOTAS, &pctx)) {
1853 pctx.errcode = quota_write_inode(ctx->qctx,
1855 if (pctx.errcode)
1857 PR_6_WRITE_QUOTAS, &pctx);
1894 pctx.errcode = ext2fs_set_gdt_csum(ctx->fs);
1895 if (pctx.errcode)
1896 fix_problem(ctx, PR_6_SET_BG_CHECKSUM, &pctx);
1902 pctx.errcode = ext2fs_flush(ctx->fs);
1903 if (pctx.errcode)
1904 fix_problem(ctx, PR_6_FLUSH_FILESYSTEM, &pctx);
1906 pctx.errcode = io_channel_flush(ctx->fs->io);
1907 if (pctx.errcode)
1908 fix_problem(ctx, PR_6_IO_FLUSH, &pctx);