Lines Matching defs:key
113 dm_block_t b, struct dm_cell_key *key)
115 key->virtual = 0;
116 key->dev = dm_thin_dev_id(td);
117 key->block = b;
121 struct dm_cell_key *key)
123 key->virtual = 1;
124 key->dev = dm_thin_dev_id(td);
125 key->block = b;
262 static int bio_detain(struct pool *pool, struct dm_cell_key *key, struct bio *bio,
274 r = dm_bio_detain(pool->prison, key, bio, cell_prealloc, cell_result);
329 * A global list of pools that uses a struct mapped_device as a key.
1152 struct dm_cell_key key, key2;
1157 build_virtual_key(tc->td, block, &key);
1158 if (bio_detain(tc->pool, &key, bio, &cell))
1231 struct dm_cell_key *key,
1264 struct dm_cell_key key;
1270 build_data_key(tc->td, lookup_result->block, &key);
1271 if (bio_detain(pool, &key, bio, &cell))
1275 break_sharing(tc, bio, block, &key, lookup_result, cell);
1342 struct dm_cell_key key;
1349 build_virtual_key(tc->td, block, &key);
1350 if (bio_detain(pool, &key, bio, &cell))
1920 struct dm_cell_key key;
1943 build_virtual_key(tc->td, block, &key);
1944 if (dm_bio_detain(tc->pool->prison, &key, bio, &cell1, &cell_result))
1974 build_data_key(tc->td, result.block, &key);
1975 if (dm_bio_detain(tc->pool->prison, &key, bio, &cell2, &cell_result)) {