Lines Matching refs:fix_problem
293 if (!fix_problem(ctx, PR_1_SPECIAL_EXTENTS_IDATA, pctx)) in check_extents_inlinedata()
311 if (!fix_problem(ctx, PR_1_SET_IMMUTABLE, pctx)) in check_immutable()
329 if (!fix_problem(ctx, PR_1_SET_NONZSIZE, pctx)) in check_size()
361 fix_problem(ctx, PR_1_EA_ALLOC_REGION_ABORT, pctx); in check_ea_in_inode()
442 if (problem == 0 || !fix_problem(ctx, problem, pctx)) in check_ea_in_inode()
493 if (!fix_problem(ctx, PR_1_EXTRA_ISIZE, pctx)) in check_inode_extra_space()
527 if (!fix_problem(ctx, PR_1_EA_TIME_OUT_OF_RANGE, pctx)) in check_inode_extra_space()
696 if (fix_problem(ctx, PR_1_TREAT_AS_DIRECTORY, pctx)) { in check_is_really_dir()
766 if (!fix_problem(ctx, PR_1_INODE_ONLY_CSUM_INVALID, pctx)) in recheck_bad_inode_checksum()
905 fix_problem(ctx, PR_1_CLEAR_INLINE_DATA_FOR_EXTENT, pctx)) { in fix_inline_data_extents_file()
920 fix_problem(ctx, PR_1_CLEAR_EXTENT_FOR_INLINE_DATA, pctx)) { in fix_inline_data_extents_file()
931 fix_problem(ctx, PR_1_CLEAR_EXTENT_INLINE_DATA_FLAGS, pctx)) { in fix_inline_data_extents_file()
945 if (fix_problem(ctx, PR_1_CLEAR_EXTENT_INLINE_DATA_INODE, pctx)) { in fix_inline_data_extents_file()
1081 fix_problem(ctx, PR_1_PASS_HEADER, &pctx); in e2fsck_pass1()
1117 fix_problem(ctx, PR_1_ALLOCATE_IBITMAP_ERROR, &pctx); in e2fsck_pass1()
1127 fix_problem(ctx, PR_1_ALLOCATE_IBITMAP_ERROR, &pctx); in e2fsck_pass1()
1136 fix_problem(ctx, PR_1_ALLOCATE_IBITMAP_ERROR, &pctx); in e2fsck_pass1()
1145 fix_problem(ctx, PR_1_ALLOCATE_BBITMAP_ERROR, &pctx); in e2fsck_pass1()
1154 fix_problem(ctx, PR_1_ALLOCATE_BBITMAP_ERROR, &pctx); in e2fsck_pass1()
1161 fix_problem(ctx, PR_1_ALLOCATE_ICOUNT, &pctx); in e2fsck_pass1()
1177 fix_problem(ctx, PR_1_ALLOCATE_DBCOUNT, &pctx); in e2fsck_pass1()
1200 fix_problem(ctx, PR_1_CONVERT_SUBCLUSTER, &pctx); in e2fsck_pass1()
1214 fix_problem(ctx, PR_1_ISCAN_ERROR, &pctx); in e2fsck_pass1()
1262 fix_problem(ctx, PR_1_BADBLOCKS_IN_BADBLOCKS, in e2fsck_pass1()
1272 fix_problem(ctx, PR_1_ISCAN_ERROR, in e2fsck_pass1()
1280 fix_problem(ctx, PR_1_ISCAN_ERROR, in e2fsck_pass1()
1296 fix_problem(ctx, PR_1_ISCAN_ERROR, &pctx); in e2fsck_pass1()
1309 fix_problem(ctx, PR_1_INODE_IS_GARBAGE, &pctx)) { in e2fsck_pass1()
1320 fix_problem(ctx, PR_1_ICOUNT_STORE, &pctx); in e2fsck_pass1()
1345 fix_problem(ctx, PR_1_INLINE_DATA_FEATURE, &pctx)) { in e2fsck_pass1()
1349 } else if (fix_problem(ctx, PR_1_INLINE_DATA_SET, &pctx)) { in e2fsck_pass1()
1390 if (fix_problem(ctx, PR_1_INLINE_DATA_NO_ATTR, in e2fsck_pass1()
1434 fix_problem(ctx, PR_1_EXTENT_FEATURE, &pctx)) { in e2fsck_pass1()
1438 } else if (fix_problem(ctx, PR_1_EXTENTS_SET, &pctx)) { in e2fsck_pass1()
1474 (fix_problem(ctx, PR_1_UNSET_EXTENT_FL, &pctx))) { in e2fsck_pass1()
1492 fix_problem(ctx, PR_1_INVALID_BAD_INODE, &pctx)) { in e2fsck_pass1()
1503 fix_problem(ctx, PR_1_ALLOCATE_BBITMAP_ERROR, &pctx); in e2fsck_pass1()
1520 fix_problem(ctx, PR_1_BLOCK_ITERATE, &pctx); in e2fsck_pass1()
1525 if (!fix_problem(ctx, PR_1_BBINODE_BAD_METABLOCK_PROMPT, &pctx)) { in e2fsck_pass1()
1540 if (fix_problem(ctx, PR_1_ROOT_NO_DIR, &pctx)) in e2fsck_pass1()
1553 if (fix_problem(ctx, PR_1_ROOT_DTIME, &pctx)) { in e2fsck_pass1()
1564 fix_problem(ctx, PR_1_JOURNAL_BAD_MODE, in e2fsck_pass1()
1577 fix_problem(ctx, PR_1_JOURNAL_INODE_NOT_CLEAR, in e2fsck_pass1()
1591 fix_problem(ctx, PR_1_QUOTA_BAD_MODE, in e2fsck_pass1()
1604 fix_problem(ctx, PR_1_QUOTA_INODE_NOT_CLEAR, in e2fsck_pass1()
1629 if (fix_problem(ctx, problem, &pctx)) { in e2fsck_pass1()
1660 if (fix_problem(ctx, PR_1_LOW_DTIME, &pctx)) { in e2fsck_pass1()
1675 if (fix_problem(ctx, in e2fsck_pass1()
1697 if (fix_problem(ctx, PR_1_SET_DTIME, &pctx)) { in e2fsck_pass1()
1732 if (fix_problem(ctx, PR_1_SET_IMAGIC, &pctx)) { in e2fsck_pass1()
1751 fix_problem(ctx, PR_1_FAST_SYMLINK_EXTENT_FL, &pctx)) { in e2fsck_pass1()
1878 if (!fix_problem(ctx, PR_1_RESIZE_INODE_CREATE, in e2fsck_pass1()
1910 fix_problem(ctx, PR_1_DUP_BLOCKS_PREENSTOP, &pctx); in e2fsck_pass1()
2048 fix_problem(ctx, PR_1_ALLOCATE_IBITMAP_ERROR, &pctx); in mark_inode_bad()
2070 fix_problem(ctx, PR_1_ALLOCATE_ENCRYPTED_DIRLIST, &pctx); in add_encrypted_dir()
2088 fix_problem(ctx, PR_1_ALLOCATE_IBITMAP_ERROR, &pctx); in alloc_bb_map()
2108 fix_problem(ctx, PR_1_ALLOCATE_IBITMAP_ERROR, &pctx); in alloc_imagic_map()
2136 fix_problem(ctx, PR_1_ALLOCATE_BBITMAP_ERROR, in mark_block_used()
2186 fix_problem(ctx, PR_1_EXTATTR_READ_ABORT, &pctx); in adjust_extattr_refcount()
2193 if (fix_problem(ctx, PR_1_EXTATTR_REFCOUNT, &pctx)) { in adjust_extattr_refcount()
2199 fix_problem(ctx, PR_1_EXTATTR_WRITE_ABORT, in adjust_extattr_refcount()
2250 fix_problem(ctx, PR_1_ALLOCATE_BBITMAP_ERROR, pctx); in check_ext_attr()
2261 fix_problem(ctx, PR_1_ALLOCATE_REFCOUNT, pctx); in check_ext_attr()
2282 fix_problem(ctx, PR_1_ALLOCATE_REFCOUNT, pctx); in check_ext_attr()
2304 fix_problem(ctx, PR_1_READ_EA_BLOCK, pctx)) { in check_ext_attr()
2314 if (fix_problem(ctx, PR_1_BAD_EA_BLOCK, pctx)) in check_ext_attr()
2319 if (fix_problem(ctx, PR_1_EA_MULTI_BLOCK, pctx)) in check_ext_attr()
2323 if (pctx->errcode && fix_problem(ctx, PR_1_READ_EA_BLOCK, pctx)) in check_ext_attr()
2328 fix_problem(ctx, PR_1_EA_ALLOC_REGION_ABORT, pctx); in check_ext_attr()
2333 if (fix_problem(ctx, PR_1_EA_ALLOC_COLLISION, pctx)) in check_ext_attr()
2344 if (fix_problem(ctx, PR_1_EA_ALLOC_COLLISION, pctx)) in check_ext_attr()
2352 if (fix_problem(ctx, PR_1_EA_BAD_NAME, pctx)) in check_ext_attr()
2357 if (fix_problem(ctx, PR_1_EA_BAD_VALUE, pctx)) in check_ext_attr()
2361 if (fix_problem(ctx, PR_1_EA_BAD_VALUE, pctx)) in check_ext_attr()
2368 if (fix_problem(ctx, PR_1_EA_ALLOC_COLLISION, pctx)) in check_ext_attr()
2377 if (fix_problem(ctx, PR_1_ATTR_HASH, pctx)) in check_ext_attr()
2385 if (fix_problem(ctx, PR_1_EA_ALLOC_COLLISION, pctx)) in check_ext_attr()
2395 fix_problem(ctx, PR_1_EA_BLOCK_ONLY_CSUM_INVALID, pctx)) { in check_ext_attr()
2428 fix_problem(ctx, PR_1_HTREE_NODIR, pctx)) || in handle_htree()
2430 fix_problem(ctx, PR_1_HTREE_SET, pctx))) in handle_htree()
2439 if (fix_problem(ctx, PR_1_HTREE_BADROOT, pctx)) in handle_htree()
2446 if (retval && fix_problem(ctx, PR_1_HTREE_BADROOT, pctx)) in handle_htree()
2453 fix_problem(ctx, PR_1_HTREE_BADROOT, pctx)) in handle_htree()
2460 fix_problem(ctx, PR_1_HTREE_HASHV, pctx)) in handle_htree()
2464 fix_problem(ctx, PR_1_HTREE_INCOMPAT, pctx)) in handle_htree()
2469 fix_problem(ctx, PR_1_HTREE_DEPTH, pctx)) in handle_htree()
2633 fix_problem(ctx, PR_1_UNINIT_DBLOCK, pctx)) { in scan_extent_node()
2645 if (fix_problem(ctx, problem, pctx)) { in scan_extent_node()
2709 fix_problem(ctx, in scan_extent_node()
2735 if (fix_problem(ctx, problem, pctx)) { in scan_extent_node()
2801 if (fix_problem(ctx, PR_1_COLLAPSE_DBLOCK, pctx)) { in scan_extent_node()
2854 fix_problem(ctx, PR_1_MISALIGNED_CLUSTER, pctx); in scan_extent_node()
2867 fix_problem(ctx, PR_1_ADD_DBLOCK, pctx); in scan_extent_node()
2889 fix_problem(ctx, PR_1_EXTENT_ONLY_CSUM_INVALID, pctx)) { in scan_extent_node()
2916 if (fix_problem(ctx, PR_1_MISSING_EXTENT_HEADER, pctx)) in check_blocks_extents()
2926 if (fix_problem(ctx, PR_1_READ_EXTENT, pctx)) in check_blocks_extents()
2946 fix_problem(ctx, PR_1_EXTENT_BAD_MAX_DEPTH, pctx)) in check_blocks_extents()
2952 fix_problem(ctx, PR_1E_MAX_EXTENT_TREE_DEPTH, pctx); in check_blocks_extents()
2959 fix_problem(ctx, PR_1_EXTENT_ALLOC_REGION_ABORT, pctx); in check_blocks_extents()
2968 fix_problem(ctx, PR_1_EXTENT_ITERATE_FAILURE, pctx)) { in check_blocks_extents()
3034 fix_problem(ctx, PR_1_ADD_DBLOCK, pctx); in check_blocks_inline_data()
3138 fix_problem(ctx, PR_1_BLOCK_ITERATE, pctx); in check_blocks()
3164 if (fix_problem(ctx, PR_1_ZERO_LENGTH_DIR, pctx)) { in check_blocks()
3243 if (fix_problem(ctx, PR_1_BAD_I_SIZE, pctx)) { in check_blocks()
3266 if (fix_problem(ctx, PR_1_BAD_I_BLOCKS, pctx)) { in check_blocks()
3284 fix_problem(ctx, PR_1_NO_BIGALLOC_BLOCKMAP_FILES, pctx)) { in check_blocks()
3444 fix_problem(ctx, PR_1_CRITICAL_METADATA_COLLISION, pctx); in process_block()
3473 if (fix_problem(ctx, PR_1_TOO_MANY_BAD_BLOCKS, pctx)) { in process_block()
3477 if (fix_problem(ctx, PR_1_SUPPRESS_MESSAGES, pctx)) { in process_block()
3485 if (fix_problem(ctx, problem, pctx)) { in process_block()
3528 fix_problem(ctx, PR_1_MISALIGNED_CLUSTER, pctx); in process_block()
3553 fix_problem(ctx, PR_1_ADD_DBLOCK, pctx); in process_block()
3589 if (fix_problem(ctx, PR_1_BB_ILLEGAL_BLOCK_NUM, pctx)) { in process_bad_block()
3599 if (fix_problem(ctx, PR_1_BB_FS_BLOCK, pctx)) { in process_bad_block()
3606 if (fix_problem(ctx, PR_1_BBINODE_BAD_METABLOCK, in process_bad_block()
3643 if (fix_problem(ctx, in process_bad_block()
3651 fix_problem(ctx, PR_1_BAD_SUPERBLOCK, pctx); in process_bad_block()
3658 if (fix_problem(ctx, in process_bad_block()
3665 fix_problem(ctx, PR_1_BAD_GROUP_DESCRIPTORS, pctx); in process_bad_block()
3670 if (fix_problem(ctx, PR_1_BB_BAD_BLOCK, pctx)) { in process_bad_block()
3677 if (fix_problem(ctx, PR_1_IB_BAD_BLOCK, pctx)) { in process_bad_block()
3704 if (fix_problem(ctx, PR_1_BBINODE_BAD_METABLOCK, pctx)) { in process_bad_block()
3716 fix_problem(ctx, PR_1_PROGERR_CLAIMED_BLOCK, pctx); in process_bad_block()
3767 fix_problem(ctx, PR_1_RELOC_BLOCK_ALLOCATE, &pctx); in new_table_block()
3774 fix_problem(ctx, PR_1_RELOC_MEMORY_ALLOCATE, &pctx); in new_table_block()
3782 fix_problem(ctx, (old_block ? PR_1_RELOC_FROM_TO : in new_table_block()
3792 fix_problem(ctx, PR_1_RELOC_READ_ERR, &pctx); in new_table_block()
3803 fix_problem(ctx, PR_1_RELOC_WRITE_ERR, &pctx); in new_table_block()
3880 fix_problem(ctx, in mark_table_blocks()
3901 if (fix_problem(ctx, PR_1_BB_CONFLICT, &pctx)) { in mark_table_blocks()
3919 if (fix_problem(ctx, PR_1_IB_CONFLICT, &pctx)) { in mark_table_blocks()