Home
last modified time | relevance | path

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

/drivers/md/
Ddm-cache-policy-mq.c810 struct entry *new_e; in pre_cache_to_cache() local
824 new_e = alloc_entry(&mq->cache_pool); in pre_cache_to_cache()
825 BUG_ON(!new_e); in pre_cache_to_cache()
827 new_e->oblock = e->oblock; in pre_cache_to_cache()
828 new_e->dirty = false; in pre_cache_to_cache()
829 new_e->hit_count = e->hit_count; in pre_cache_to_cache()
833 push(mq, new_e); in pre_cache_to_cache()
835 result->cblock = infer_cblock(&mq->cache_pool, new_e); in pre_cache_to_cache()
Ddm-snap.c720 struct dm_exception *new_e) in dm_insert_exception() argument
725 l = &eh->table[exception_hash(eh, new_e->old_chunk)]; in dm_insert_exception()
734 if (new_e->old_chunk == (e->old_chunk + in dm_insert_exception()
736 new_e->new_chunk == (dm_chunk_number(e->new_chunk) + in dm_insert_exception()
739 free_completed_exception(new_e); in dm_insert_exception()
744 if (new_e->old_chunk == (e->old_chunk - 1) && in dm_insert_exception()
745 new_e->new_chunk == (dm_chunk_number(e->new_chunk) - 1)) { in dm_insert_exception()
749 free_completed_exception(new_e); in dm_insert_exception()
753 if (new_e->old_chunk > e->old_chunk) in dm_insert_exception()
758 list_add(&new_e->hash_list, e ? &e->hash_list : l); in dm_insert_exception()