Home
last modified time | relevance | path

Searched refs:lookup_result (Results 1 – 2 of 2) sorted by relevance

/drivers/md/
Ddm-thin.c1005 struct dm_thin_lookup_result lookup_result; in process_discard() local
1012 r = dm_thin_find_block(tc->td, block, 1, &lookup_result); in process_discard()
1020 build_data_key(tc->td, lookup_result.block, &key2); in process_discard()
1033 m->pass_discard = (!lookup_result.shared) && pool->pf.discard_passdown; in process_discard()
1035 m->data_block = lookup_result.block; in process_discard()
1057 if ((!lookup_result.shared) && pool->pf.discard_passdown) in process_discard()
1058 remap_and_issue(tc, bio, lookup_result.block); in process_discard()
1083 struct dm_thin_lookup_result *lookup_result, in break_sharing() argument
1092 schedule_internal_copy(tc, block, lookup_result->block, in break_sharing()
1110 struct dm_thin_lookup_result *lookup_result) in process_shared_bio() argument
[all …]
Ddm-cache-target.c1132 struct policy_result lookup_result; in process_bio() local
1149 bio, &lookup_result); in process_bio()
1153 lookup_result.op = POLICY_MISS; in process_bio()
1155 switch (lookup_result.op) { in process_bio()
1160 if (is_writethrough_io(cache, bio, lookup_result.cblock)) in process_bio()
1161 remap_to_origin_then_cache(cache, bio, block, lookup_result.cblock); in process_bio()
1163 remap_to_cache_dirty(cache, bio, block, lookup_result.cblock); in process_bio()
1177 promote(cache, structs, block, lookup_result.cblock, new_ocell); in process_bio()
1183 r = bio_detain(cache, lookup_result.old_oblock, bio, cell_prealloc, in process_bio()
1193 lookup_result.old_oblock); in process_bio()
[all …]