Lines Matching refs:scrub_parity

108 	struct scrub_parity	*sparity;
123 struct scrub_parity { struct
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, in __scrub_mark_bitmap()
2327 static inline void scrub_parity_mark_sectors_error(struct scrub_parity *sparity, in scrub_parity_mark_sectors_error()
2333 static inline void scrub_parity_mark_sectors_data(struct scrub_parity *sparity, in scrub_parity_mark_sectors_data()
2457 static int scrub_pages_for_parity(struct scrub_parity *sparity, in scrub_pages_for_parity()
2541 static int scrub_extent_for_parity(struct scrub_parity *sparity, in scrub_extent_for_parity()
2632 static void scrub_free_parity(struct scrub_parity *sparity) in scrub_free_parity()
2656 struct scrub_parity *sparity = container_of(work, struct scrub_parity, in scrub_parity_bio_endio_worker()
2666 struct scrub_parity *sparity = (struct scrub_parity *)bio->bi_private; in scrub_parity_bio_endio()
2680 static void scrub_parity_check_and_repair(struct scrub_parity *sparity) in scrub_parity_check_and_repair()
2737 static void scrub_parity_get(struct scrub_parity *sparity) in scrub_parity_get()
2742 static void scrub_parity_put(struct scrub_parity *sparity) in scrub_parity_put()
2773 struct scrub_parity *sparity; in scrub_raid56_parity()
2781 sparity = kzalloc(sizeof(struct scrub_parity) + 2 * bitmap_len, in scrub_raid56_parity()
3732 struct btrfs_workqueue *scrub_parity = NULL; in scrub_workers_put() local
3736 scrub_parity = fs_info->scrub_parity_workers; in scrub_workers_put()
3745 btrfs_destroy_workqueue(scrub_parity); in scrub_workers_put()
3757 struct btrfs_workqueue *scrub_parity = NULL; in scrub_workers_get() local
3775 scrub_parity = btrfs_alloc_workqueue(fs_info, "scrubparity", flags, in scrub_workers_get()
3777 if (!scrub_parity) in scrub_workers_get()
3787 fs_info->scrub_parity_workers = scrub_parity; in scrub_workers_get()
3797 btrfs_destroy_workqueue(scrub_parity); in scrub_workers_get()