Home
last modified time | relevance | path

Searched refs:lock_pool (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/md/dm-vdo/
Dphysical-zone.c335 result = make_pbn_lock_pool(LOCK_POOL_CAPACITY, &zone->lock_pool); in initialize_zone()
347 free_pbn_lock_pool(vdo_forget(zone->lock_pool)); in initialize_zone()
401 free_pbn_lock_pool(vdo_forget(zone->lock_pool)); in vdo_free_physical_zones()
448 result = borrow_pbn_lock_from_pool(zone->lock_pool, type, &new_lock); in vdo_attempt_physical_zone_pbn_lock()
457 return_pbn_lock_to_pool(zone->lock_pool, new_lock); in vdo_attempt_physical_zone_pbn_lock()
463 return_pbn_lock_to_pool(zone->lock_pool, vdo_forget(new_lock)); in vdo_attempt_physical_zone_pbn_lock()
634 return_pbn_lock_to_pool(zone->lock_pool, lock); in vdo_release_physical_zone_pbn_lock()
Dphysical-zone.h64 struct pbn_lock_pool *lock_pool; member
Ddedupe.h46 struct list_head lock_pool; member
Ddedupe.c348 list_add_tail(&lock->pool_node, &zone->lock_pool); in return_hash_lock_to_pool()
875 result = VDO_ASSERT(!list_empty(&zone->lock_pool), in acquire_lock()
880 new_lock = list_entry(zone->lock_pool.prev, struct hash_lock, pool_node); in acquire_lock()
2363 INIT_LIST_HEAD(&zone->lock_pool); in initialize_zone()