Home
last modified time | relevance | path

Searched refs:block_begin (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/md/
H A Ddm-bio-prison-v1.c111 if (lhs->block_end <= rhs->block_begin) in cmp_keys()
114 if (lhs->block_begin >= rhs->block_end) in cmp_keys()
122 return dm_hash_locks_index((key->block_begin >> BIO_PRISON_MAX_RANGE_SHIFT), in lock_nr()
128 if (WARN_ON_ONCE(key->block_end - key->block_begin > BIO_PRISON_MAX_RANGE)) in dm_cell_key_has_valid_range()
130 if (WARN_ON_ONCE((key->block_begin >> BIO_PRISON_MAX_RANGE_SHIFT) != in dm_cell_key_has_valid_range()
H A Ddm-bio-prison-v2.h38 dm_block_t block_begin, block_end; member
H A Ddm-bio-prison-v1.h34 dm_block_t block_begin, block_end; member
H A Ddm-bio-prison-v2.c103 if (lhs->block_end <= rhs->block_begin) in cmp_keys()
106 if (lhs->block_begin >= rhs->block_end) in cmp_keys()
H A Ddm-thin.c126 key->block_begin = b; in build_key()
1067 r = dm_thin_remove_range(tc->td, m->cell->key.block_begin, m->cell->key.block_end); in process_prepared_discard_no_passdown()
1659 m->virt_begin = virt_cell->key.block_begin; in process_discard_cell_no_passdown()
1758 break_up_discard_bio(tc, virt_cell->key.block_begin, virt_cell->key.block_end, bio); in process_discard_cell_passdown()
H A Ddm-cache-target.c510 key->block_begin = from_oblock(begin); in build_key()