Lines Matching defs:tc
386 static int issue_discard(struct thin_c *tc, dm_block_t data_b, dm_block_t data_e, in issue_discard()
542 struct thin_c *tc; member
566 static void error_thin_bio_list(struct thin_c *tc, struct bio_list *master, int error) in error_thin_bio_list()
580 static void requeue_deferred_cells(struct thin_c *tc) in requeue_deferred_cells()
597 static void requeue_io(struct thin_c *tc) in requeue_io()
615 struct thin_c *tc; in error_retry_list_with_code() local
635 static dm_block_t get_bio_block(struct thin_c *tc, struct bio *bio) in get_bio_block()
651 static void get_bio_block_range(struct thin_c *tc, struct bio *bio, in get_bio_block_range()
676 static void remap(struct thin_c *tc, struct bio *bio, dm_block_t block) in remap()
691 static void remap_to_origin(struct thin_c *tc, struct bio *bio) in remap_to_origin()
696 static int bio_triggers_commit(struct thin_c *tc, struct bio *bio) in bio_triggers_commit()
713 static void issue(struct thin_c *tc, struct bio *bio) in issue()
742 static void remap_to_origin_and_issue(struct thin_c *tc, struct bio *bio) in remap_to_origin_and_issue()
748 static void remap_and_issue(struct thin_c *tc, struct bio *bio, in remap_and_issue()
774 struct thin_c *tc; member
842 static void cell_defer_no_holder(struct thin_c *tc, struct dm_bio_prison_cell *cell) in cell_defer_no_holder()
857 struct thin_c *tc; member
884 static void inc_remap_and_issue_cell(struct thin_c *tc, in inc_remap_and_issue_cell()
919 struct thin_c *tc = m->tc; in process_prepared_mapping() local
965 struct thin_c *tc = m->tc; in free_discard_mapping() local
986 struct thin_c *tc = m->tc; in process_prepared_discard_no_passdown() local
1007 struct thin_c *tc = m->tc; in passdown_double_checking_shared_status() local
1048 struct thin_c *tc = m->tc; in process_prepared_discard_passdown() local
1133 static void ll_zero(struct thin_c *tc, struct dm_thin_new_mapping *m, in ll_zero()
1150 static void remap_and_issue_overwrite(struct thin_c *tc, struct bio *bio, in remap_and_issue_overwrite()
1167 static void schedule_copy(struct thin_c *tc, dm_block_t virt_block, in schedule_copy()
1240 static void schedule_internal_copy(struct thin_c *tc, dm_block_t virt_block, in schedule_internal_copy()
1249 static void schedule_zero(struct thin_c *tc, dm_block_t virt_block, in schedule_zero()
1278 static void schedule_external_copy(struct thin_c *tc, dm_block_t virt_block, in schedule_external_copy()
1352 static int alloc_data_block(struct thin_c *tc, dm_block_t *result) in alloc_data_block()
1406 struct thin_c *tc = h->tc; in retry_on_resume() local
1467 static void process_discard_cell_no_passdown(struct thin_c *tc, in process_discard_cell_no_passdown()
1498 static void break_up_discard_bio(struct thin_c *tc, dm_block_t begin, dm_block_t end, in break_up_discard_bio()
1561 static void process_discard_cell_passdown(struct thin_c *tc, struct dm_bio_prison_cell *virt_cell) in process_discard_cell_passdown()
1582 static void process_discard_bio(struct thin_c *tc, struct bio *bio) in process_discard_bio()
1611 static void break_sharing(struct thin_c *tc, struct bio *bio, dm_block_t block, in break_sharing()
1659 static void remap_and_issue_shared_cell(struct thin_c *tc, in remap_and_issue_shared_cell()
1680 static void process_shared_bio(struct thin_c *tc, struct bio *bio, in process_shared_bio()
1714 static void provision_block(struct thin_c *tc, struct bio *bio, dm_block_t block, in provision_block()
1763 static void process_cell(struct thin_c *tc, struct dm_bio_prison_cell *cell) in process_cell()
1818 static void process_bio(struct thin_c *tc, struct bio *bio) in process_bio()
1836 static void __process_bio_read_only(struct thin_c *tc, struct bio *bio, in __process_bio_read_only()
1887 static void process_bio_read_only(struct thin_c *tc, struct bio *bio) in process_bio_read_only()
1892 static void process_cell_read_only(struct thin_c *tc, struct dm_bio_prison_cell *cell) in process_cell_read_only()
1897 static void process_bio_success(struct thin_c *tc, struct bio *bio) in process_bio_success()
1902 static void process_bio_fail(struct thin_c *tc, struct bio *bio) in process_bio_fail()
1907 static void process_cell_success(struct thin_c *tc, struct dm_bio_prison_cell *cell) in process_cell_success()
1912 static void process_cell_fail(struct thin_c *tc, struct dm_bio_prison_cell *cell) in process_cell_fail()
1930 static void __thin_bio_rb_add(struct thin_c *tc, struct bio *bio) in __thin_bio_rb_add()
1953 static void __extract_sorted_bios(struct thin_c *tc) in __extract_sorted_bios()
1970 static void __sort_thin_deferred_bios(struct thin_c *tc) in __sort_thin_deferred_bios()
1991 static void process_thin_deferred_bios(struct thin_c *tc) in process_thin_deferred_bios()
2084 static void process_thin_deferred_cells(struct thin_c *tc) in process_thin_deferred_cells()
2141 struct thin_c *tc = NULL; in get_first_thin() local
2153 static struct thin_c *get_next_thin(struct pool *pool, struct thin_c *tc) in get_next_thin()
2175 struct thin_c *tc; in process_deferred_bios() local
2284 struct thin_c *tc; member
2307 static void noflush_work(struct thin_c *tc, void (*fn)(struct work_struct *)) in noflush_work()
2487 static void thin_defer_bio(struct thin_c *tc, struct bio *bio) in thin_defer_bio()
2499 static void thin_defer_bio_with_throttle(struct thin_c *tc, struct bio *bio) in thin_defer_bio_with_throttle()
2508 static void thin_defer_cell(struct thin_c *tc, struct dm_bio_prison_cell *cell) in thin_defer_cell()
2522 static void thin_hook_bio(struct thin_c *tc, struct bio *bio) in thin_hook_bio()
2539 struct thin_c *tc = ti->private; in thin_bio_map() local
2643 struct thin_c *tc; in requeue_bios() local
3382 struct thin_c *tc; in pool_suspend_active_thins() local
3394 struct thin_c *tc; in pool_resume_active_thins() local
3908 static void thin_get(struct thin_c *tc) in thin_get()
3913 static void thin_put(struct thin_c *tc) in thin_put()
3921 struct thin_c *tc = ti->private; in thin_dtr() local
3959 struct thin_c *tc; in thin_ctr() local
4142 struct thin_c *tc = ti->private; in thin_presuspend() local
4150 struct thin_c *tc = ti->private; in thin_postsuspend() local
4161 struct thin_c *tc = ti->private; in thin_preresume() local
4179 struct thin_c *tc = ti->private; in thin_status() local
4231 struct thin_c *tc = ti->private; in thin_iterate_devices() local
4251 struct thin_c *tc = ti->private; in thin_io_hints() local