Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/staging/android/ion/
Dion_heap.c132 spin_lock(&heap->free_lock); in ion_heap_freelist_add()
135 spin_unlock(&heap->free_lock); in ion_heap_freelist_add()
143 spin_lock(&heap->free_lock); in ion_heap_freelist_size()
145 spin_unlock(&heap->free_lock); in ion_heap_freelist_size()
159 spin_lock(&heap->free_lock); in _ion_heap_freelist_drain()
173 spin_unlock(&heap->free_lock); in _ion_heap_freelist_drain()
175 spin_lock(&heap->free_lock); in _ion_heap_freelist_drain()
177 spin_unlock(&heap->free_lock); in _ion_heap_freelist_drain()
202 spin_lock(&heap->free_lock); in ion_heap_deferred_free()
204 spin_unlock(&heap->free_lock); in ion_heap_deferred_free()
[all …]
Dion.h152 spinlock_t free_lock; member
Dion.c568 spin_lock_init(&heap->free_lock); in ion_device_add_heap()
/kernel/linux/linux-5.10/mm/
Dswap_slots.c150 spin_lock_init(&cache->free_lock); in alloc_swap_slot_cache()
188 spin_lock_irq(&cache->free_lock); in drain_slots_cache_cpu()
195 spin_unlock_irq(&cache->free_lock); in drain_slots_cache_cpu()
280 spin_lock_irq(&cache->free_lock); in free_swap_slot()
283 spin_unlock_irq(&cache->free_lock); in free_swap_slot()
297 spin_unlock_irq(&cache->free_lock); in free_swap_slot()
/kernel/linux/linux-5.10/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.c852 spin_lock_init(&l_mg->free_lock); in pblk_line_mg_init()
/kernel/liteos_m/utils/
Dlos_compiler.h490 static inline void free_lock(void *addr, int model) in free_lock() function
505 free_lock (memP, model); in __atomic_load_8()
514 free_lock (memP, model); in __atomic_store_8()
525 free_lock (memP, model); in __atomic_exchange_8()
/kernel/linux/linux-5.10/include/linux/
Dswap_slots.h19 spinlock_t free_lock; /* protects slots_ret, n_ret */ member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/
Dlocks.c1625 goto free_lock; in __break_lease()
1706 free_lock: in __break_lease()