Lines Matching refs: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);
306 struct thin_c { struct
349 struct thin_c *tc; argument
355 static void begin_discard(struct discard_op *op, struct thin_c *tc, struct bio *parent) in begin_discard()
367 struct thin_c *tc = op->tc; in issue_discard()
554 struct thin_c *tc;
578 static void error_thin_bio_list(struct thin_c *tc, struct bio_list *master, in error_thin_bio_list()
593 static void requeue_deferred_cells(struct thin_c *tc) in requeue_deferred_cells()
610 static void requeue_io(struct thin_c *tc) in requeue_io()
628 struct thin_c *tc; in error_retry_list_with_code()
648 static dm_block_t get_bio_block(struct thin_c *tc, struct bio *bio) in get_bio_block()
664 static void get_bio_block_range(struct thin_c *tc, struct bio *bio, in get_bio_block_range()
689 static void remap(struct thin_c *tc, struct bio *bio, dm_block_t block) in remap()
704 static void remap_to_origin(struct thin_c *tc, struct bio *bio) in remap_to_origin()
709 static int bio_triggers_commit(struct thin_c *tc, struct bio *bio) in bio_triggers_commit()
726 static void issue(struct thin_c *tc, struct bio *bio) in issue()
755 static void remap_to_origin_and_issue(struct thin_c *tc, struct bio *bio) in remap_to_origin_and_issue()
761 static void remap_and_issue(struct thin_c *tc, struct bio *bio, in remap_and_issue()
787 struct thin_c *tc;
855 static void cell_defer_no_holder(struct thin_c *tc, struct dm_bio_prison_cell *cell) in cell_defer_no_holder()
867 static void thin_defer_bio(struct thin_c *tc, struct bio *bio);
870 struct thin_c *tc;
897 static void inc_remap_and_issue_cell(struct thin_c *tc, in inc_remap_and_issue_cell()
932 struct thin_c *tc = m->tc; in process_prepared_mapping()
978 struct thin_c *tc = m->tc; in free_discard_mapping()
999 struct thin_c *tc = m->tc; in process_prepared_discard_no_passdown()
1023 struct thin_c *tc = m->tc; in passdown_double_checking_shared_status()
1087 struct thin_c *tc = m->tc; in process_prepared_discard_passdown_pt1()
1144 struct thin_c *tc = m->tc; in process_prepared_discard_passdown_pt2()
1226 static void ll_zero(struct thin_c *tc, struct dm_thin_new_mapping *m, in ll_zero()
1238 static void remap_and_issue_overwrite(struct thin_c *tc, struct bio *bio, in remap_and_issue_overwrite()
1255 static void schedule_copy(struct thin_c *tc, dm_block_t virt_block, in schedule_copy()
1316 static void schedule_internal_copy(struct thin_c *tc, dm_block_t virt_block, in schedule_internal_copy()
1325 static void schedule_zero(struct thin_c *tc, dm_block_t virt_block, in schedule_zero()
1354 static void schedule_external_copy(struct thin_c *tc, dm_block_t virt_block, in schedule_external_copy()
1462 static int alloc_data_block(struct thin_c *tc, dm_block_t *result) in alloc_data_block()
1532 struct thin_c *tc = h->tc; in retry_on_resume()
1594 static void process_discard_cell_no_passdown(struct thin_c *tc, in process_discard_cell_no_passdown()
1614 static void break_up_discard_bio(struct thin_c *tc, dm_block_t begin, dm_block_t end, in break_up_discard_bio()
1677 static void process_discard_cell_passdown(struct thin_c *tc, struct dm_bio_prison_cell *virt_cell) in process_discard_cell_passdown()
1698 static void process_discard_bio(struct thin_c *tc, struct bio *bio) in process_discard_bio()
1727 static void break_sharing(struct thin_c *tc, struct bio *bio, dm_block_t block, in break_sharing()
1775 static void remap_and_issue_shared_cell(struct thin_c *tc, in remap_and_issue_shared_cell()
1796 static void process_shared_bio(struct thin_c *tc, struct bio *bio, in process_shared_bio()
1830 static void provision_block(struct thin_c *tc, struct bio *bio, dm_block_t block, in provision_block()
1879 static void process_cell(struct thin_c *tc, struct dm_bio_prison_cell *cell) in process_cell()
1934 static void process_bio(struct thin_c *tc, struct bio *bio) in process_bio()
1952 static void __process_bio_read_only(struct thin_c *tc, struct bio *bio, in __process_bio_read_only()
2003 static void process_bio_read_only(struct thin_c *tc, struct bio *bio) in process_bio_read_only()
2008 static void process_cell_read_only(struct thin_c *tc, struct dm_bio_prison_cell *cell) in process_cell_read_only()
2013 static void process_bio_success(struct thin_c *tc, struct bio *bio) in process_bio_success()
2018 static void process_bio_fail(struct thin_c *tc, struct bio *bio) in process_bio_fail()
2023 static void process_cell_success(struct thin_c *tc, struct dm_bio_prison_cell *cell) in process_cell_success()
2028 static void process_cell_fail(struct thin_c *tc, struct dm_bio_prison_cell *cell) in process_cell_fail()
2046 static void __thin_bio_rb_add(struct thin_c *tc, struct bio *bio) in __thin_bio_rb_add()
2069 static void __extract_sorted_bios(struct thin_c *tc) in __extract_sorted_bios()
2086 static void __sort_thin_deferred_bios(struct thin_c *tc) in __sort_thin_deferred_bios()
2107 static void process_thin_deferred_bios(struct thin_c *tc) in process_thin_deferred_bios()
2201 static void process_thin_deferred_cells(struct thin_c *tc) in process_thin_deferred_cells()
2248 static void thin_get(struct thin_c *tc);
2249 static void thin_put(struct thin_c *tc);
2256 static struct thin_c *get_first_thin(struct pool *pool) in get_first_thin()
2258 struct thin_c *tc = NULL; in get_first_thin()
2262 tc = list_entry_rcu(pool->active_thins.next, struct thin_c, list); in get_first_thin()
2270 static struct thin_c *get_next_thin(struct pool *pool, struct thin_c *tc) in get_next_thin()
2272 struct thin_c *old_tc = tc; in get_next_thin()
2292 struct thin_c *tc; in process_deferred_bios()
2403 struct thin_c *tc;
2426 static void noflush_work(struct thin_c *tc, void (*fn)(struct work_struct *)) in noflush_work()
2612 static void thin_defer_bio(struct thin_c *tc, struct bio *bio) in thin_defer_bio()
2624 static void thin_defer_bio_with_throttle(struct thin_c *tc, struct bio *bio) in thin_defer_bio_with_throttle()
2633 static void thin_defer_cell(struct thin_c *tc, struct dm_bio_prison_cell *cell) in thin_defer_cell()
2647 static void thin_hook_bio(struct thin_c *tc, struct bio *bio) in thin_hook_bio()
2664 struct thin_c *tc = ti->private; in thin_bio_map()
2768 struct thin_c *tc; in requeue_bios()
3514 struct thin_c *tc; in pool_suspend_active_thins()
3526 struct thin_c *tc; in pool_resume_active_thins()
4045 static void thin_get(struct thin_c *tc) in thin_get()
4050 static void thin_put(struct thin_c *tc) in thin_put()
4058 struct thin_c *tc = ti->private; in thin_dtr()
4096 struct thin_c *tc; in thin_ctr()
4279 struct thin_c *tc = ti->private; in thin_presuspend()
4287 struct thin_c *tc = ti->private; in thin_postsuspend()
4298 struct thin_c *tc = ti->private; in thin_preresume()
4316 struct thin_c *tc = ti->private; in thin_status()
4368 struct thin_c *tc = ti->private; in thin_iterate_devices()
4388 struct thin_c *tc = ti->private; in thin_io_hints()