Lines Matching defs:scrub_parity
108 struct scrub_parity *sparity;
123 struct scrub_parity {
234 static void scrub_parity_get(struct scrub_parity *sparity);
235 static void scrub_parity_put(struct scrub_parity *sparity);
2296 static inline void __scrub_mark_bitmap(struct scrub_parity *sparity,
2327 static inline void scrub_parity_mark_sectors_error(struct scrub_parity *sparity,
2333 static inline void scrub_parity_mark_sectors_data(struct scrub_parity *sparity,
2457 static int scrub_pages_for_parity(struct scrub_parity *sparity,
2541 static int scrub_extent_for_parity(struct scrub_parity *sparity,
2632 static void scrub_free_parity(struct scrub_parity *sparity)
2656 struct scrub_parity *sparity = container_of(work, struct scrub_parity,
2666 struct scrub_parity *sparity = (struct scrub_parity *)bio->bi_private;
2680 static void scrub_parity_check_and_repair(struct scrub_parity *sparity)
2737 static void scrub_parity_get(struct scrub_parity *sparity)
2742 static void scrub_parity_put(struct scrub_parity *sparity)
2773 struct scrub_parity *sparity;
2781 sparity = kzalloc(sizeof(struct scrub_parity) + 2 * bitmap_len,
3739 struct btrfs_workqueue *scrub_parity = NULL;
3743 scrub_parity = fs_info->scrub_parity_workers;
3752 btrfs_destroy_workqueue(scrub_parity);
3764 struct btrfs_workqueue *scrub_parity = NULL;
3782 scrub_parity = btrfs_alloc_workqueue(fs_info, "scrubparity", flags,
3784 if (!scrub_parity)
3794 fs_info->scrub_parity_workers = scrub_parity;
3804 btrfs_destroy_workqueue(scrub_parity);