Home
last modified time | relevance | path

Searched refs:scrub_ctx (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/edac/
H A Dscrub.c160 struct edac_scrub_context *scrub_ctx; in scrub_create_desc() local
172 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()
/linux/fs/btrfs/
H A Dscrub.c40 struct scrub_ctx;
138 struct scrub_ctx *sctx;
193 struct scrub_ctx { struct
396 static void scrub_put_ctx(struct scrub_ctx *sctx);
430 static noinline_for_stack void scrub_free_ctx(struct scrub_ctx *sctx) in scrub_free_ctx()
443 static void scrub_put_ctx(struct scrub_ctx *sctx) in scrub_put_ctx()
449 static noinline_for_stack struct scrub_ctx *scrub_setup_ctx( in scrub_setup_ctx()
452 struct scrub_ctx *sctx; in scrub_setup_ctx()
662 static int fill_writer_pointer_gap(struct scrub_ctx *sctx, u64 physical) in fill_writer_pointer_gap()
998 static void scrub_stripe_report_errors(struct scrub_ctx *sctx, in scrub_stripe_report_errors()
[all …]
H A Dvolumes.h192 struct scrub_ctx *scrub_ctx; member