Lines Matching defs:thin_c

222 struct thin_c;
223 typedef void (*process_bio_fn)(struct thin_c *tc, struct bio *bio);
224 typedef void (*process_cell_fn)(struct thin_c *tc, struct dm_bio_prison_cell *cell);
338 struct thin_c {
381 struct thin_c *tc;
387 static void begin_discard(struct discard_op *op, struct thin_c *tc, struct bio *parent)
399 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)
898 static void thin_defer_bio(struct thin_c *tc, struct bio *bio);
901 struct thin_c *tc;
928 static void inc_remap_and_issue_cell(struct thin_c *tc,
961 static void complete_overwrite_bio(struct thin_c *tc, struct bio *bio)
995 struct thin_c *tc = m->tc;
1041 struct thin_c *tc = m->tc;
1062 struct thin_c *tc = m->tc;
1086 struct thin_c *tc = m->tc;
1150 struct thin_c *tc = m->tc;
1207 struct thin_c *tc = m->tc;
1288 static void ll_zero(struct thin_c *tc, struct dm_thin_new_mapping *m,
1300 static void remap_and_issue_overwrite(struct thin_c *tc, struct bio *bio,
1317 static void schedule_copy(struct thin_c *tc, dm_block_t virt_block,
1378 static void schedule_internal_copy(struct thin_c *tc, dm_block_t virt_block,
1387 static void schedule_zero(struct thin_c *tc, dm_block_t virt_block,
1416 static void schedule_external_copy(struct thin_c *tc, dm_block_t virt_block,
1522 static int alloc_data_block(struct thin_c *tc, dm_block_t *result)
1592 struct thin_c *tc = h->tc;
1653 static void process_discard_cell_no_passdown(struct thin_c *tc,
1673 static void break_up_discard_bio(struct thin_c *tc, dm_block_t begin, dm_block_t end,
1736 static void process_discard_cell_passdown(struct thin_c *tc, struct dm_bio_prison_cell *virt_cell)
1757 static void process_discard_bio(struct thin_c *tc, struct bio *bio)
1786 static void break_sharing(struct thin_c *tc, struct bio *bio, dm_block_t block,
1834 static void remap_and_issue_shared_cell(struct thin_c *tc,
1855 static void process_shared_bio(struct thin_c *tc, struct bio *bio,
1889 static void provision_block(struct thin_c *tc, struct bio *bio, dm_block_t block,
1938 static void process_cell(struct thin_c *tc, struct dm_bio_prison_cell *cell)
1993 static void process_bio(struct thin_c *tc, struct bio *bio)
2011 static void __process_bio_read_only(struct thin_c *tc, struct bio *bio,
2062 static void process_bio_read_only(struct thin_c *tc, struct bio *bio)
2067 static void process_cell_read_only(struct thin_c *tc, struct dm_bio_prison_cell *cell)
2072 static void process_bio_success(struct thin_c *tc, struct bio *bio)
2077 static void process_bio_fail(struct thin_c *tc, struct bio *bio)
2082 static void process_cell_success(struct thin_c *tc, struct dm_bio_prison_cell *cell)
2087 static void process_cell_fail(struct thin_c *tc, struct dm_bio_prison_cell *cell)
2105 static void __thin_bio_rb_add(struct thin_c *tc, struct bio *bio)
2128 static void __extract_sorted_bios(struct thin_c *tc)
2145 static void __sort_thin_deferred_bios(struct thin_c *tc)
2166 static void process_thin_deferred_bios(struct thin_c *tc)
2260 static void process_thin_deferred_cells(struct thin_c *tc)
2307 static void thin_get(struct thin_c *tc);
2308 static void thin_put(struct thin_c *tc);
2315 static struct thin_c *get_first_thin(struct pool *pool)
2317 struct thin_c *tc = NULL;
2321 tc = list_entry_rcu(pool->active_thins.next, struct thin_c, list);
2329 static struct thin_c *get_next_thin(struct pool *pool, struct thin_c *tc)
2331 struct thin_c *old_tc = tc;
2350 struct thin_c *tc;
2477 struct thin_c *tc;
2500 static void noflush_work(struct thin_c *tc, void (*fn)(struct work_struct *))
2661 static void thin_defer_bio(struct thin_c *tc, struct bio *bio)
2672 static void thin_defer_bio_with_throttle(struct thin_c *tc, struct bio *bio)
2681 static void thin_defer_cell(struct thin_c *tc, struct dm_bio_prison_cell *cell)
2694 static void thin_hook_bio(struct thin_c *tc, struct bio *bio)
2711 struct thin_c *tc = ti->private;
2802 struct thin_c *tc;
3600 struct thin_c *tc;
3612 struct thin_c *tc;
4128 static void thin_get(struct thin_c *tc)
4133 static void thin_put(struct thin_c *tc)
4141 struct thin_c *tc = ti->private;
4178 struct thin_c *tc;
4366 struct thin_c *tc = ti->private;
4374 struct thin_c *tc = ti->private;
4385 struct thin_c *tc = ti->private;
4403 struct thin_c *tc = ti->private;
4455 struct thin_c *tc = ti->private;
4475 struct thin_c *tc = ti->private;