| /fs/bcachefs/ |
| A D | sb-downgrade.c | 161 const u16 *errors; member 173 .errors = upgrade_##ver##_errors, \ 234 for (const u16 *e = i->errors; e < i->errors + i->nr_errors; e++) in bch2_sb_set_upgrade() 248 .errors = downgrade_##ver##_errors, \ 266 bytes += sizeof(dst->errors[0]) * 2; in downgrade_table_extra() 291 return (void *) &e->errors[le16_to_cpu(e->nr_errors)]; in downgrade_entry_next_c() 297 (void *) &_i->errors[0] <= vstruct_end(&(_d)->field) && \ 314 if ((void *) &i->errors[0] > vstruct_end(&e->field)) in bch2_sb_downgrade_validate() 359 bch2_sb_error_id_to_text(out, le16_to_cpu(i->errors[j])); in bch2_sb_downgrade_to_text() 400 dst->errors[i] = cpu_to_le16(src->errors[i]); in bch2_sb_downgrade_update() [all …]
|
| A D | sb-errors.c | 35 struct bch_sb_field_errors *e = field_to_type(f, errors); in bch2_sb_errors_validate() 60 struct bch_sb_field_errors *e = field_to_type(f, errors); in bch2_sb_errors_to_text() 140 dst = bch2_sb_field_resize(&c->disk_sb, errors, in bch2_sb_errors_from_cpu() 158 struct bch_sb_field_errors *src = bch2_sb_field_get(c->disk_sb.sb, errors); in bch2_sb_errors_to_cpu()
|
| A D | error.c | 27 switch (c->opts.errors) { in __bch2_inconsistent_error() 170 atomic64_inc(&ca->errors[type]); in bch2_io_error() 428 (c->opts.errors == BCH_ON_ERROR_continue || in bch2_fsck_err_opt() 429 c->opts.errors == BCH_ON_ERROR_fix_safe)) in bch2_fsck_err_opt() 432 if (c->opts.errors == BCH_ON_ERROR_continue && in bch2_fsck_err_opt() 515 (c->opts.errors == BCH_ON_ERROR_continue || in __bch2_fsck_err() 516 c->opts.errors == BCH_ON_ERROR_fix_safe)) { in __bch2_fsck_err() 528 if (c->opts.errors != BCH_ON_ERROR_continue || in __bch2_fsck_err()
|
| A D | sb-members.c | 241 prt_printf(out, "%s errors:\t%llu\n", bch2_member_error_strs[i], le64_to_cpu(m.errors[i])); in member_to_text() 412 m->errors[e] = cpu_to_le64(atomic64_read(&ca->errors[e])); in bch2_sb_members_from_cpu() 432 prt_printf(out, "%s:\t%llu\n", bch2_member_error_strs[i], atomic64_read(&ca->errors[i])); in bch2_dev_io_errors_to_text() 443 atomic64_read(&ca->errors[i]) - le64_to_cpu(m.errors_at_reset[i])); in bch2_dev_io_errors_to_text() 455 m->errors_at_reset[i] = cpu_to_le64(atomic64_read(&ca->errors[i])); in bch2_dev_errors_reset()
|
| A D | sb-downgrade_format.h | 9 __le16 errors[] __counted_by(nr_errors);
|
| A D | sb-members_format.h | 58 __le64 errors[BCH_MEMBER_ERROR_NR]; member
|
| A D | Makefile | 83 sb-errors.o \
|
| A D | recovery.c | 968 if (c->opts.errors == BCH_ON_ERROR_fix_safe) in bch2_fs_recovery() 969 c->opts.errors = BCH_ON_ERROR_continue; in bch2_fs_recovery()
|
| /fs/xfs/ |
| A D | xfs_dahash_test.c | 648 unsigned int errors = 0; in xfs_dahash_test() local 657 errors++; in xfs_dahash_test() 663 errors++; in xfs_dahash_test() 666 if (errors) { in xfs_dahash_test() 668 errors); in xfs_dahash_test()
|
| A D | Kconfig | 202 not cause the kernel to panic on non-fatal errors. 240 errors that BUG() the kernel by default. If you say N, ASSERT failures
|
| /fs/nfs/flexfilelayout/ |
| A D | flexfilelayout.c | 2364 INIT_LIST_HEAD(&ff_args->errors); in ff_layout_prepare_layoutreturn() 2366 &args->range, &ff_args->errors, in ff_layout_prepare_layoutreturn() 2389 struct nfs42_layout_error *errors; in ff_layout_send_layouterror() local 2398 errors = kmalloc_array(NFS42_LAYOUTERROR_MAX, sizeof(*errors), in ff_layout_send_layouterror() 2400 if (errors != NULL) { in ff_layout_send_layouterror() 2405 errors[n].offset = pos->offset; in ff_layout_send_layouterror() 2406 errors[n].length = pos->length; in ff_layout_send_layouterror() 2408 errors[n].errors[0].dev_id = pos->deviceid; in ff_layout_send_layouterror() 2409 errors[n].errors[0].status = pos->status; in ff_layout_send_layouterror() 2410 errors[n].errors[0].opnum = pos->opnum; in ff_layout_send_layouterror() [all …]
|
| A D | flexfilelayout.h | 115 struct list_head errors; member
|
| /fs/btrfs/ |
| A D | scrub.c | 974 const struct scrub_error_records *errors) in scrub_stripe_report_errors() argument 1039 if (!test_bit(sector_nr, &errors->init_error_bitmap)) in scrub_stripe_report_errors() 1091 for (int i = 0; i < errors->nr_io_errors; i++) in scrub_stripe_report_errors() 1093 for (int i = 0; i < errors->nr_csum_errors; i++) in scrub_stripe_report_errors() 1096 for (int i = 0; i < errors->nr_meta_gen_errors; in scrub_stripe_report_errors() 1106 sctx->stat.read_errors += errors->nr_io_errors; in scrub_stripe_report_errors() 1107 sctx->stat.csum_errors += errors->nr_csum_errors; in scrub_stripe_report_errors() 1108 sctx->stat.verify_errors += errors->nr_meta_errors + in scrub_stripe_report_errors() 1109 errors->nr_meta_gen_errors; in scrub_stripe_report_errors() 1137 struct scrub_error_records errors = { 0 }; in scrub_stripe_read_repair_worker() local [all …]
|
| A D | transaction.c | 1213 bool errors = false; in btrfs_wait_extents() local 1218 errors = true; in btrfs_wait_extents() 1220 if (errors && !ret) in btrfs_wait_extents() 1229 bool errors = false; in btrfs_wait_tree_log_extents() local 1237 errors = true; in btrfs_wait_tree_log_extents() 1241 errors = true; in btrfs_wait_tree_log_extents() 1243 if (errors && !ret) in btrfs_wait_tree_log_extents()
|
| /fs/exfat/ |
| A D | misc.c | 40 if (opts->errors == EXFAT_ERRORS_PANIC) { in __exfat_fs_error() 43 } else if (opts->errors == EXFAT_ERRORS_RO && !sb_rdonly(sb)) { in __exfat_fs_error()
|
| A D | super.c | 126 if (opts->errors == EXFAT_ERRORS_CONT) in exfat_show_options() 128 else if (opts->errors == EXFAT_ERRORS_PANIC) in exfat_show_options() 299 opts->errors = result.uint_32; in exfat_parse_param() 781 sbi->options.errors = EXFAT_ERRORS_RO; in exfat_init_fs_context()
|
| A D | exfat_fs.h | 235 enum exfat_error_mode errors; member
|
| /fs/squashfs/ |
| A D | super.c | 54 enum Opt_errors errors; member 139 opts->errors = result.uint_32; in squashfs_parse_param() 202 msblk->panic_on_errors = (opts->errors == Opt_errors_panic); in squashfs_fill_super() 505 msblk->panic_on_errors = (opts->errors == Opt_errors_panic); in squashfs_reconfigure()
|
| /fs/fat/ |
| A D | misc.c | 35 if (opts->errors == FAT_ERRORS_PANIC) in __fat_fs_error() 37 else if (opts->errors == FAT_ERRORS_RO && !sb_rdonly(sb)) { in __fat_fs_error()
|
| A D | inode.c | 1021 if (opts->errors == FAT_ERRORS_CONT) in fat_show_options() 1023 else if (opts->errors == FAT_ERRORS_PANIC) in fat_show_options() 1250 opts->errors = result.uint_32; in fat_parse_param() 1928 opts->errors = FAT_ERRORS_RO; in fat_init_fs_context()
|
| A D | fat.h | 39 unsigned char errors; /* On error: continue, panic, remount-ro */ member
|
| /fs/nfs/ |
| A D | nfs42proc.c | 1102 nfs4_stateid_copy(&data->args.errors[i].stateid, in nfs42_layouterror_prepare() 1133 nfs4_stateid_match(&data->args.errors[0].stateid, in nfs42_layouterror_done() 1151 nfs4_stateid_match_other(&data->args.errors[0].stateid, in nfs42_layouterror_done() 1155 &data->args.errors[0].stateid)) in nfs42_layouterror_done() 1166 trace_nfs4_layouterror(inode, &data->args.errors[0].stateid, in nfs42_layouterror_done() 1185 const struct nfs42_layout_error *errors, size_t n) in nfs42_proc_layouterror() argument 1208 data->args.errors[i] = errors[i]; in nfs42_proc_layouterror()
|
| A D | nfs42.h | 30 const struct nfs42_layout_error *errors,
|
| /fs/f2fs/ |
| A D | super.c | 1140 F2FS_CTX_INFO(ctx).errors = result.uint_32; in f2fs_parse_param() 1654 F2FS_OPTION(sbi).errors = F2FS_CTX_INFO(ctx).errors; in f2fs_apply_options() 2409 if (F2FS_OPTION(sbi).errors == MOUNT_ERRORS_READONLY) in f2fs_show_options() 2460 F2FS_OPTION(sbi).errors = MOUNT_ERRORS_CONTINUE; in default_options() 4422 memcpy(F2FS_RAW_SUPER(sbi)->s_errors, sbi->errors, in f2fs_record_stop_reason() 4443 if (!test_bit(flag, (unsigned long *)sbi->errors)) { in f2fs_save_errors() 4444 set_bit(flag, (unsigned long *)sbi->errors); in f2fs_save_errors() 4457 memcpy(F2FS_RAW_SUPER(sbi)->s_errors, sbi->errors, in f2fs_update_errors() 4497 if (!test_bit(error, (unsigned long *)sbi->errors)) in f2fs_handle_error_async() 4513 F2FS_OPTION(sbi).errors == MOUNT_ERRORS_CONTINUE; in f2fs_handle_critical_error() [all …]
|
| /fs/jffs2/ |
| A D | Kconfig | 51 write-buffer, and check for errors.
|