Home
last modified time | relevance | path

Searched refs:lru_lock (Results 1 – 25 of 32) sorted by relevance

12

/openbmc/linux/drivers/gpu/drm/ttm/
H A Dttm_resource.c65 lockdep_assert_held(&pos->first->bo->bdev->lru_lock); in ttm_lru_bulk_move_tail()
151 lockdep_assert_held(&bo->bdev->lru_lock); in ttm_resource_move_to_lru_tail()
194 spin_lock(&bo->bdev->lru_lock); in ttm_resource_init()
200 spin_unlock(&bo->bdev->lru_lock); in ttm_resource_init()
219 spin_lock(&bdev->lru_lock); in ttm_resource_fini()
222 spin_unlock(&bdev->lru_lock); in ttm_resource_fini()
238 spin_lock(&bo->bdev->lru_lock); in ttm_resource_alloc()
240 spin_unlock(&bo->bdev->lru_lock); in ttm_resource_alloc()
251 spin_lock(&bo->bdev->lru_lock); in ttm_resource_free()
253 spin_unlock(&bo->bdev->lru_lock); in ttm_resource_free()
[all …]
H A Dttm_device.c150 spin_lock(&bdev->lru_lock); in ttm_device_swapout()
172 spin_unlock(&bdev->lru_lock); in ttm_device_swapout()
219 spin_lock_init(&bdev->lru_lock); in ttm_device_init()
246 spin_lock(&bdev->lru_lock); in ttm_device_fini()
250 spin_unlock(&bdev->lru_lock); in ttm_device_fini()
262 spin_lock(&bdev->lru_lock); in ttm_device_clear_lru_dma_mappings()
271 spin_unlock(&bdev->lru_lock); in ttm_device_clear_lru_dma_mappings()
277 spin_lock(&bdev->lru_lock); in ttm_device_clear_lru_dma_mappings()
279 spin_unlock(&bdev->lru_lock); in ttm_device_clear_lru_dma_mappings()
H A Dttm_bo.c105 spin_lock(&bo->bdev->lru_lock); in ttm_bo_set_bulk_move()
111 spin_unlock(&bo->bdev->lru_lock); in ttm_bo_set_bulk_move()
205 spin_lock(&bo->bdev->lru_lock); in ttm_bo_individualize_resv()
207 spin_unlock(&bo->bdev->lru_lock); in ttm_bo_individualize_resv()
258 spin_unlock(&bo->bdev->lru_lock); in ttm_bo_cleanup_refs()
269 spin_lock(&bo->bdev->lru_lock); in ttm_bo_cleanup_refs()
279 spin_unlock(&bo->bdev->lru_lock); in ttm_bo_cleanup_refs()
288 spin_unlock(&bo->bdev->lru_lock); in ttm_bo_cleanup_refs()
292 spin_unlock(&bo->bdev->lru_lock); in ttm_bo_cleanup_refs()
354 spin_lock(&bo->bdev->lru_lock); in ttm_bo_release()
[all …]
/openbmc/linux/mm/
H A Dworkingset.c689 spinlock_t *lru_lock, in shadow_lru_isolate() argument
690 void *arg) __must_hold(lru_lock) in shadow_lru_isolate()
712 spin_unlock_irq(lru_lock); in shadow_lru_isolate()
721 spin_unlock_irq(lru_lock); in shadow_lru_isolate()
730 spin_unlock(lru_lock); in shadow_lru_isolate()
754 spin_lock_irq(lru_lock); in shadow_lru_isolate()
H A Dzswap.c175 spinlock_t lru_lock; member
396 spin_lock(&entry->pool->lru_lock); in zswap_free_entry()
398 spin_unlock(&entry->pool->lru_lock); in zswap_free_entry()
640 spin_lock(&pool->lru_lock); in zswap_reclaim_entry()
642 spin_unlock(&pool->lru_lock); in zswap_reclaim_entry()
654 spin_unlock(&pool->lru_lock); in zswap_reclaim_entry()
671 spin_lock(&pool->lru_lock); in zswap_reclaim_entry()
673 spin_unlock(&pool->lru_lock); in zswap_reclaim_entry()
768 spin_lock_init(&pool->lru_lock); in zswap_pool_create()
1366 spin_lock(&entry->pool->lru_lock); in zswap_store()
[all …]
H A Dmmzone.c80 spin_lock_init(&lruvec->lru_lock); in lruvec_init()
H A Dvmscan.c2489 spin_unlock_irq(&lruvec->lru_lock); in move_folios_to_lru()
2491 spin_lock_irq(&lruvec->lru_lock); in move_folios_to_lru()
2512 spin_unlock_irq(&lruvec->lru_lock); in move_folios_to_lru()
2514 spin_lock_irq(&lruvec->lru_lock); in move_folios_to_lru()
2584 spin_lock_irq(&lruvec->lru_lock); in shrink_inactive_list()
2596 spin_unlock_irq(&lruvec->lru_lock); in shrink_inactive_list()
2603 spin_lock_irq(&lruvec->lru_lock); in shrink_inactive_list()
2612 spin_unlock_irq(&lruvec->lru_lock); in shrink_inactive_list()
2693 spin_lock_irq(&lruvec->lru_lock); in shrink_active_list()
2704 spin_unlock_irq(&lruvec->lru_lock); in shrink_active_list()
[all …]
H A Dswap.c285 spin_lock_irq(&lruvec->lru_lock); in lru_note_cost()
309 spin_unlock_irq(&lruvec->lru_lock); in lru_note_cost()
/openbmc/linux/Documentation/bpf/
H A Dmap_lru_hash_update.dot13 lru_lock [shape=rectangle,fillcolor=2,label="LRU lock"]
151 local_lock -> lru_lock [style=invis]
152 lru_lock -> hash_lock [style=invis]
/openbmc/linux/include/drm/ttm/
H A Dttm_bo.h293 spin_lock(&bo->bdev->lru_lock); in ttm_bo_move_to_lru_tail_unlocked()
295 spin_unlock(&bo->bdev->lru_lock); in ttm_bo_move_to_lru_tail_unlocked()
H A Dttm_device.h252 spinlock_t lru_lock; member
/openbmc/linux/include/linux/
H A Dmemcontrol.h1327 spin_lock(&pgdat->__lruvec.lru_lock); in folio_lruvec_lock()
1335 spin_lock_irq(&pgdat->__lruvec.lru_lock); in folio_lruvec_lock_irq()
1344 spin_lock_irqsave(&pgdat->__lruvec.lru_lock, *flagsp); in folio_lruvec_lock_irqsave()
1607 spin_unlock(&lruvec->lru_lock); in unlock_page_lruvec()
1612 spin_unlock_irq(&lruvec->lru_lock); in unlock_page_lruvec_irq()
1618 spin_unlock_irqrestore(&lruvec->lru_lock, flags); in unlock_page_lruvec_irqrestore()
H A Dmm_inline.h43 lockdep_assert_held(&lruvec->lru_lock); in __update_lru_size()
H A Dmmzone.h623 spinlock_t lru_lock; member
/openbmc/linux/fs/gfs2/
H A Dglock.c72 static DEFINE_SPINLOCK(lru_lock);
188 spin_lock(&lru_lock); in gfs2_glock_free_later()
190 spin_unlock(&lru_lock); in gfs2_glock_free_later()
247 spin_lock(&lru_lock); in gfs2_glock_add_to_lru()
256 spin_unlock(&lru_lock); in gfs2_glock_add_to_lru()
264 spin_lock(&lru_lock); in gfs2_glock_remove_from_lru()
270 spin_unlock(&lru_lock); in gfs2_glock_remove_from_lru()
1998 __releases(&lru_lock) in gfs2_dispose_glock_lru()
1999 __acquires(&lru_lock) in gfs2_dispose_glock_lru()
2025 cond_resched_lock(&lru_lock); in gfs2_dispose_glock_lru()
[all …]
/openbmc/linux/fs/xfs/
H A Dxfs_qm.c414 spinlock_t *lru_lock, in xfs_qm_dquot_isolate() argument
416 __releases(lru_lock) __acquires(lru_lock) in xfs_qm_dquot_isolate()
462 spin_unlock(lru_lock); in xfs_qm_dquot_isolate()
498 spin_lock(lru_lock); in xfs_qm_dquot_isolate()
H A Dxfs_buf.c1784 spinlock_t *lru_lock, in xfs_buftarg_drain_rele() argument
1883 spinlock_t *lru_lock, in xfs_buftarg_isolate() argument
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vram_mgr.c293 spin_lock(&man->bdev->lru_lock); in amdgpu_vram_mgr_do_reserve()
295 spin_unlock(&man->bdev->lru_lock); in amdgpu_vram_mgr_do_reserve()
/openbmc/linux/fs/nfs/
H A Dnfs42xattr.c824 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in cache_lru_isolate() argument
889 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in entry_lru_isolate() argument
/openbmc/linux/Documentation/locking/
H A Dlockstat.rst195 …&(&zone->lru_lock)->rlock: 93000 94934 0.16 59.18 188253.…
/openbmc/linux/Documentation/trace/
H A Devents-kmem.rst72 contention on the lruvec->lru_lock.
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_ttm.c987 spin_lock(&bo->bdev->lru_lock); in i915_ttm_adjust_lru()
1016 spin_unlock(&bo->bdev->lru_lock); in i915_ttm_adjust_lru()
/openbmc/linux/fs/
H A Dinode.c848 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in inode_lru_isolate() argument
890 spin_unlock(lru_lock); in inode_lru_isolate()
901 spin_lock(lru_lock); in inode_lru_isolate()
/openbmc/linux/Documentation/admin-guide/cgroup-v1/
H A Dmemcg_test.rst138 each LRU handled under a single lru_lock for that memcg and node.
/openbmc/linux/Documentation/mm/
H A Dunevictable-lru.rst321 mlock folio batch, to batch up the rest of the work to be done under lru_lock by
382 under lru_lock by __munlock_folio(). __munlock_folio() decrements the
494 under lru_lock by __munlock_folio(). __munlock_folio() decrements the

12