Searched refs:scrub_ctx (Results 1 – 2 of 2) sorted by relevance
160 struct edac_scrub_context *scrub_ctx; in scrub_create_desc() local172 scrub_ctx = devm_kzalloc(scrub_dev, sizeof(*scrub_ctx), GFP_KERNEL); in scrub_create_desc()173 if (!scrub_ctx) in scrub_create_desc()176 group = &scrub_ctx->group; in scrub_create_desc()178 memcpy(&scrub_ctx->scrub_dev_attr[i], &dev_attr[i], sizeof(dev_attr[i])); in scrub_create_desc()179 sysfs_attr_init(&scrub_ctx->scrub_dev_attr[i].dev_attr.attr); in scrub_create_desc()180 scrub_ctx->scrub_attrs[i] = &scrub_ctx->scrub_dev_attr[i].dev_attr.attr; in scrub_create_desc()182 sprintf(scrub_ctx->name, "%s%d", "scrub", instance); in scrub_create_desc()183 group->name = scrub_ctx->name; in scrub_create_desc()184 group->attrs = scrub_ctx->scrub_attrs; in scrub_create_desc()
41 struct scrub_ctx;139 struct scrub_ctx *sctx;194 struct scrub_ctx { struct398 static void scrub_put_ctx(struct scrub_ctx *sctx);432 static noinline_for_stack void scrub_free_ctx(struct scrub_ctx *sctx) in scrub_free_ctx()445 static void scrub_put_ctx(struct scrub_ctx *sctx) in scrub_put_ctx()451 static noinline_for_stack struct scrub_ctx *scrub_setup_ctx( in scrub_setup_ctx()454 struct scrub_ctx *sctx; in scrub_setup_ctx()664 static int fill_writer_pointer_gap(struct scrub_ctx *sctx, u64 physical) in fill_writer_pointer_gap()1001 static void scrub_stripe_report_errors(struct scrub_ctx *sctx, in scrub_stripe_report_errors()[all …]