Home
last modified time | relevance | path

Searched refs:free_lock (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/drivers/staging/android/ion/
Dion_heap.c159 spin_lock(&heap->free_lock); in ion_heap_freelist_add()
162 spin_unlock(&heap->free_lock); in ion_heap_freelist_add()
170 spin_lock(&heap->free_lock); in ion_heap_freelist_size()
172 spin_unlock(&heap->free_lock); in ion_heap_freelist_size()
186 spin_lock(&heap->free_lock); in _ion_heap_freelist_drain()
200 spin_unlock(&heap->free_lock); in _ion_heap_freelist_drain()
202 spin_lock(&heap->free_lock); in _ion_heap_freelist_drain()
204 spin_unlock(&heap->free_lock); in _ion_heap_freelist_drain()
229 spin_lock(&heap->free_lock); in ion_heap_deferred_free()
231 spin_unlock(&heap->free_lock); in ion_heap_deferred_free()
[all …]
Dion.h152 spinlock_t free_lock; member
Dion.c587 spin_lock_init(&heap->free_lock); in ion_device_add_heap()
/Linux-v5.4/mm/
Dswap_slots.c144 spin_lock_init(&cache->free_lock); in alloc_swap_slot_cache()
189 spin_lock_irq(&cache->free_lock); in drain_slots_cache_cpu()
196 spin_unlock_irq(&cache->free_lock); in drain_slots_cache_cpu()
284 spin_lock_irq(&cache->free_lock); in free_swap_slot()
287 spin_unlock_irq(&cache->free_lock); in free_swap_slot()
301 spin_unlock_irq(&cache->free_lock); in free_swap_slot()
/Linux-v5.4/drivers/lightnvm/
Dpblk-recovery.c102 spin_lock(&l_mg->free_lock); in pblk_update_line_wp()
113 spin_unlock(&l_mg->free_lock); in pblk_update_line_wp()
668 spin_lock(&l_mg->free_lock); in pblk_recov_l2p()
674 spin_unlock(&l_mg->free_lock); in pblk_recov_l2p()
729 spin_lock(&l_mg->free_lock); in pblk_recov_l2p()
733 spin_unlock(&l_mg->free_lock); in pblk_recov_l2p()
747 spin_lock(&l_mg->free_lock); in pblk_recov_l2p()
750 spin_unlock(&l_mg->free_lock); in pblk_recov_l2p()
824 spin_lock(&l_mg->free_lock); in pblk_recov_l2p()
827 spin_unlock(&l_mg->free_lock); in pblk_recov_l2p()
[all …]
Dpblk-core.c924 lockdep_assert_held(&l_mg->free_lock); in pblk_line_setup_metadata()
929 spin_unlock(&l_mg->free_lock); in pblk_line_setup_metadata()
931 spin_lock(&l_mg->free_lock); in pblk_line_setup_metadata()
969 spin_lock(&l_mg->free_lock); in pblk_line_init_metadata()
977 spin_unlock(&l_mg->free_lock); in pblk_line_init_metadata()
1214 spin_lock(&l_mg->free_lock); in pblk_line_recov_alloc()
1221 spin_unlock(&l_mg->free_lock); in pblk_line_recov_alloc()
1224 spin_unlock(&l_mg->free_lock); in pblk_line_recov_alloc()
1239 spin_lock(&l_mg->free_lock); in pblk_line_recov_alloc()
1241 spin_unlock(&l_mg->free_lock); in pblk_line_recov_alloc()
[all …]
Dpblk-sysfs.c183 spin_lock(&l_mg->free_lock); in pblk_sysfs_lines()
190 spin_unlock(&l_mg->free_lock); in pblk_sysfs_lines()
258 spin_lock(&l_mg->free_lock); in pblk_sysfs_lines()
275 spin_unlock(&l_mg->free_lock); in pblk_sysfs_lines()
Dpblk.h535 spinlock_t free_lock; member
Dpblk-init.c847 spin_lock_init(&l_mg->free_lock); in pblk_line_mg_init()
/Linux-v5.4/include/linux/
Dswap_slots.h19 spinlock_t free_lock; /* protects slots_ret, n_ret */ member
/Linux-v5.4/tools/lib/lockdep/
Dpreload.c162 static inline void free_lock(struct lock_lookup *lock) in free_lock() function
217 free_lock(lock); in __del_lock()
/Linux-v5.4/fs/
Dlocks.c1596 goto free_lock; in __break_lease()
1676 free_lock: in __break_lease()