Lines Matching refs:td

115 static void build_data_key(struct dm_thin_device *td,  in build_data_key()  argument
119 key->dev = dm_thin_dev_id(td); in build_data_key()
124 static void build_virtual_key(struct dm_thin_device *td, dm_block_t b, in build_virtual_key() argument
128 key->dev = dm_thin_dev_id(td); in build_virtual_key()
296 struct dm_thin_device *td; member
586 dm_thin_changed_this_transaction(tc->td); in bio_triggers_commit()
615 if (dm_thin_aborted_changes(tc->td)) { in issue()
829 r = dm_thin_insert_block(tc->td, m->virt_block, m->data_block); in process_prepared_mapping()
895 r = dm_thin_remove_block(tc->td, m->virt_block); in process_prepared_discard()
1314 r = dm_thin_find_block(tc->td, block, 1, &lookup_result); in process_discard_cell()
1322 build_data_key(tc->td, lookup_result.block, &key2); in process_discard_cell()
1386 build_virtual_key(tc->td, block, &key); in process_discard_bio()
1475 build_data_key(tc->td, lookup_result->block, &key); in process_shared_bio()
1558 r = dm_thin_find_block(tc->td, block, 1, &lookup_result); in process_cell()
1611 build_virtual_key(tc->td, block, &key); in process_bio()
1626 r = dm_thin_find_block(tc->td, block, 1, &lookup_result); in __process_bio_read_only()
2292 struct dm_thin_device *td = tc->td; in thin_bio_map() local
2318 build_virtual_key(tc->td, block, &key); in thin_bio_map()
2322 r = dm_thin_find_block(td, block, 0, &result); in thin_bio_map()
2348 build_data_key(tc->td, result.block, &key); in thin_bio_map()
3716 dm_pool_close_thin_device(tc->td); in thin_dtr()
3809 r = dm_pool_open_thin_device(tc->pool->pmd, tc->dev_id, &tc->td); in thin_ctr()
3859 dm_pool_close_thin_device(tc->td); in thin_ctr()
3965 if (!tc->td) in thin_status()
3970 r = dm_thin_get_mapped_count(tc->td, &mapped); in thin_status()
3976 r = dm_thin_get_highest_mapped_block(tc->td, &highest); in thin_status()