Lines Matching refs:work
108 struct btrfs_work work; member
128 struct btrfs_work work; member
150 struct btrfs_work work; member
213 struct btrfs_work work; member
231 struct btrfs_work work; member
278 static void scrub_bio_end_io_worker(struct btrfs_work *work);
295 static void scrub_wr_bio_end_io_worker(struct btrfs_work *work);
302 static void copy_nocow_pages_worker(struct btrfs_work *work);
483 btrfs_init_work(&sbio->work, btrfs_scrub_helper, in scrub_setup_ctx()
789 static void scrub_fixup_nodatasum(struct btrfs_work *work) in scrub_fixup_nodatasum() argument
798 fixup = container_of(work, struct scrub_fixup_nodatasum, work); in scrub_fixup_nodatasum()
1062 btrfs_init_work(&fixup_nodatasum->work, btrfs_scrub_helper, in scrub_handle_errored_block()
1065 &fixup_nodatasum->work); in scrub_handle_errored_block()
1747 btrfs_init_work(&sbio->work, btrfs_scrubwrc_helper, in scrub_wr_bio_end_io()
1749 btrfs_queue_work(fs_info->scrub_wr_completion_workers, &sbio->work); in scrub_wr_bio_end_io()
1752 static void scrub_wr_bio_end_io_worker(struct btrfs_work *work) in scrub_wr_bio_end_io_worker() argument
1754 struct scrub_bio *sbio = container_of(work, struct scrub_bio, work); in scrub_wr_bio_end_io_worker()
2131 btrfs_queue_work(fs_info->scrub_workers, &sblock->work); in scrub_missing_raid56_end_io()
2134 static void scrub_missing_raid56_worker(struct btrfs_work *work) in scrub_missing_raid56_worker() argument
2136 struct scrub_block *sblock = container_of(work, struct scrub_block, work); in scrub_missing_raid56_worker()
2223 btrfs_init_work(&sblock->work, btrfs_scrub_helper, in scrub_missing_raid56_pages()
2337 btrfs_queue_work(fs_info->scrub_workers, &sbio->work); in scrub_bio_end_io()
2340 static void scrub_bio_end_io_worker(struct btrfs_work *work) in scrub_bio_end_io_worker() argument
2342 struct scrub_bio *sbio = container_of(work, struct scrub_bio, work); in scrub_bio_end_io_worker()
2735 static void scrub_parity_bio_endio_worker(struct btrfs_work *work) in scrub_parity_bio_endio_worker() argument
2737 struct scrub_parity *sparity = container_of(work, struct scrub_parity, in scrub_parity_bio_endio_worker()
2738 work); in scrub_parity_bio_endio_worker()
2755 btrfs_init_work(&sparity->work, btrfs_scrubparity_helper, in scrub_parity_bio_endio()
2758 &sparity->work); in scrub_parity_bio_endio()
4093 btrfs_init_work(&nocow_ctx->work, btrfs_scrubnc_helper, in copy_nocow_pages()
4097 &nocow_ctx->work); in copy_nocow_pages()
4119 static void copy_nocow_pages_worker(struct btrfs_work *work) in copy_nocow_pages_worker() argument
4122 container_of(work, struct scrub_copy_nocow_ctx, work); in copy_nocow_pages_worker()