Lines Matching defs:thin_c
225 struct thin_c;
226 typedef void (*process_bio_fn)(struct thin_c *tc, struct bio *bio);
227 typedef void (*process_cell_fn)(struct thin_c *tc, struct dm_bio_prison_cell *cell);
339 struct thin_c {
382 struct thin_c *tc;
388 static void begin_discard(struct discard_op *op, struct thin_c *tc, struct bio *parent)
400 struct thin_c *tc = op->tc;
586 struct thin_c *tc;
610 static void error_thin_bio_list(struct thin_c *tc, struct bio_list *master,
624 static void requeue_deferred_cells(struct thin_c *tc)
640 static void requeue_io(struct thin_c *tc)
657 struct thin_c *tc;
677 static dm_block_t get_bio_block(struct thin_c *tc, struct bio *bio)
693 static void get_bio_block_range(struct thin_c *tc, struct bio *bio,
718 static void remap(struct thin_c *tc, struct bio *bio, dm_block_t block)
733 static void remap_to_origin(struct thin_c *tc, struct bio *bio)
738 static int bio_triggers_commit(struct thin_c *tc, struct bio *bio)
755 static void issue(struct thin_c *tc, struct bio *bio)
783 static void remap_to_origin_and_issue(struct thin_c *tc, struct bio *bio)
789 static void remap_and_issue(struct thin_c *tc, struct bio *bio,
815 struct thin_c *tc;
883 static void cell_defer_no_holder(struct thin_c *tc, struct dm_bio_prison_cell *cell)
900 static void thin_defer_bio(struct thin_c *tc, struct bio *bio);
903 struct thin_c *tc;
930 static void inc_remap_and_issue_cell(struct thin_c *tc,
963 static void complete_overwrite_bio(struct thin_c *tc, struct bio *bio)
997 struct thin_c *tc = m->tc;
1043 struct thin_c *tc = m->tc;
1065 struct thin_c *tc = m->tc;
1089 struct thin_c *tc = m->tc;
1153 struct thin_c *tc = m->tc;
1202 struct thin_c *tc = m->tc;
1283 static void ll_zero(struct thin_c *tc, struct dm_thin_new_mapping *m,
1295 static void remap_and_issue_overwrite(struct thin_c *tc, struct bio *bio,
1312 static void schedule_copy(struct thin_c *tc, dm_block_t virt_block,
1373 static void schedule_internal_copy(struct thin_c *tc, dm_block_t virt_block,
1382 static void schedule_zero(struct thin_c *tc, dm_block_t virt_block,
1411 static void schedule_external_copy(struct thin_c *tc, dm_block_t virt_block,
1517 static int alloc_data_block(struct thin_c *tc, dm_block_t *result)
1587 struct thin_c *tc = h->tc;
1648 static void process_discard_cell_no_passdown(struct thin_c *tc,
1668 static void break_up_discard_bio(struct thin_c *tc, dm_block_t begin, dm_block_t end,
1747 static void process_discard_cell_passdown(struct thin_c *tc, struct dm_bio_prison_cell *virt_cell)
1768 static void process_discard_bio(struct thin_c *tc, struct bio *bio)
1803 static void break_sharing(struct thin_c *tc, struct bio *bio, dm_block_t block,
1851 static void remap_and_issue_shared_cell(struct thin_c *tc,
1872 static void process_shared_bio(struct thin_c *tc, struct bio *bio,
1906 static void provision_block(struct thin_c *tc, struct bio *bio, dm_block_t block,
1955 static void process_cell(struct thin_c *tc, struct dm_bio_prison_cell *cell)
2010 static void process_bio(struct thin_c *tc, struct bio *bio)
2028 static void __process_bio_read_only(struct thin_c *tc, struct bio *bio,
2079 static void process_bio_read_only(struct thin_c *tc, struct bio *bio)
2084 static void process_cell_read_only(struct thin_c *tc, struct dm_bio_prison_cell *cell)
2089 static void process_bio_success(struct thin_c *tc, struct bio *bio)
2094 static void process_bio_fail(struct thin_c *tc, struct bio *bio)
2099 static void process_cell_success(struct thin_c *tc, struct dm_bio_prison_cell *cell)
2104 static void process_cell_fail(struct thin_c *tc, struct dm_bio_prison_cell *cell)
2122 static void __thin_bio_rb_add(struct thin_c *tc, struct bio *bio)
2145 static void __extract_sorted_bios(struct thin_c *tc)
2162 static void __sort_thin_deferred_bios(struct thin_c *tc)
2183 static void process_thin_deferred_bios(struct thin_c *tc)
2277 static void process_thin_deferred_cells(struct thin_c *tc)
2324 static void thin_get(struct thin_c *tc);
2325 static void thin_put(struct thin_c *tc);
2332 static struct thin_c *get_first_thin(struct pool *pool)
2334 struct thin_c *tc = NULL;
2338 tc = list_entry_rcu(pool->active_thins.next, struct thin_c, list);
2346 static struct thin_c *get_next_thin(struct pool *pool, struct thin_c *tc)
2348 struct thin_c *old_tc = tc;
2367 struct thin_c *tc;
2495 struct thin_c *tc;
2520 static void noflush_work(struct thin_c *tc, void (*fn)(struct work_struct *))
2676 static void thin_defer_bio(struct thin_c *tc, struct bio *bio)
2687 static void thin_defer_bio_with_throttle(struct thin_c *tc, struct bio *bio)
2696 static void thin_defer_cell(struct thin_c *tc, struct dm_bio_prison_cell *cell)
2709 static void thin_hook_bio(struct thin_c *tc, struct bio *bio)
2726 struct thin_c *tc = ti->private;
2817 struct thin_c *tc;
3605 struct thin_c *tc;
3617 struct thin_c *tc;
4138 static void thin_get(struct thin_c *tc)
4143 static void thin_put(struct thin_c *tc)
4151 struct thin_c *tc = ti->private;
4188 struct thin_c *tc;
4378 struct thin_c *tc = ti->private;
4386 struct thin_c *tc = ti->private;
4397 struct thin_c *tc = ti->private;
4415 struct thin_c *tc = ti->private;
4471 struct thin_c *tc = ti->private;
4491 struct thin_c *tc = ti->private;