Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/ttm/
A Dttm_device.c150 spin_lock(&bdev->lru_lock); in ttm_device_swapout()
169 spin_unlock(&bdev->lru_lock); in ttm_device_swapout()
221 spin_lock_init(&bdev->lru_lock); in ttm_device_init()
251 spin_lock(&bdev->lru_lock); in ttm_device_fini()
255 spin_unlock(&bdev->lru_lock); in ttm_device_fini()
268 spin_lock(&bdev->lru_lock); in ttm_device_clear_dma_mappings()
274 spin_unlock(&bdev->lru_lock); in ttm_device_clear_dma_mappings()
280 spin_lock(&bdev->lru_lock); in ttm_device_clear_dma_mappings()
294 spin_unlock(&bdev->lru_lock); in ttm_device_clear_dma_mappings()
300 spin_lock(&bdev->lru_lock); in ttm_device_clear_dma_mappings()
[all …]
A Dttm_bo.c261 spin_lock(&bo->bdev->lru_lock); in ttm_bo_individualize_resv()
371 spin_lock(&bdev->lru_lock); in ttm_bo_delayed_delete()
382 spin_unlock(&bdev->lru_lock); in ttm_bo_delayed_delete()
385 spin_lock(&bdev->lru_lock); in ttm_bo_delayed_delete()
391 spin_unlock(&bdev->lru_lock); in ttm_bo_delayed_delete()
395 spin_lock(&bdev->lru_lock); in ttm_bo_delayed_delete()
399 spin_unlock(&bdev->lru_lock); in ttm_bo_delayed_delete()
460 spin_lock(&bo->bdev->lru_lock); in ttm_bo_release()
680 spin_lock(&bdev->lru_lock); in ttm_mem_evict_first()
711 spin_unlock(&bdev->lru_lock); in ttm_mem_evict_first()
[all …]
A Dttm_resource.c166 spin_lock(&bdev->lru_lock); in ttm_resource_manager_evict_all()
169 spin_unlock(&bdev->lru_lock); in ttm_resource_manager_evict_all()
174 spin_lock(&bdev->lru_lock); in ttm_resource_manager_evict_all()
177 spin_unlock(&bdev->lru_lock); in ttm_resource_manager_evict_all()
/linux/mm/
A Dworkingset.c518 spinlock_t *lru_lock, in shadow_lru_isolate() argument
519 void *arg) __must_hold(lru_lock) in shadow_lru_isolate()
541 spin_unlock_irq(lru_lock); in shadow_lru_isolate()
548 spin_unlock_irq(lru_lock); in shadow_lru_isolate()
556 spin_unlock(lru_lock); in shadow_lru_isolate()
578 spin_lock_irq(lru_lock); in shadow_lru_isolate()
A Dvmscan.c2320 spin_unlock_irq(&lruvec->lru_lock); in move_pages_to_lru()
2322 spin_lock_irq(&lruvec->lru_lock); in move_pages_to_lru()
2345 spin_lock_irq(&lruvec->lru_lock); in move_pages_to_lru()
2418 spin_lock_irq(&lruvec->lru_lock); in shrink_inactive_list()
2430 spin_unlock_irq(&lruvec->lru_lock); in shrink_inactive_list()
2437 spin_lock_irq(&lruvec->lru_lock); in shrink_inactive_list()
2446 spin_unlock_irq(&lruvec->lru_lock); in shrink_inactive_list()
2516 spin_lock_irq(&lruvec->lru_lock); in shrink_active_list()
2527 spin_unlock_irq(&lruvec->lru_lock); in shrink_active_list()
2573 spin_lock_irq(&lruvec->lru_lock); in shrink_active_list()
[all …]
A Dmmzone.c80 spin_lock_init(&lruvec->lru_lock); in lruvec_init()
A Dswap.c278 spin_lock_irq(&lruvec->lru_lock); in lru_note_cost()
302 spin_unlock_irq(&lruvec->lru_lock); in lru_note_cost()
A Dmemcontrol.c1192 spin_lock(&lruvec->lru_lock); in folio_lruvec_lock()
1215 spin_lock_irq(&lruvec->lru_lock); in folio_lruvec_lock_irq()
1240 spin_lock_irqsave(&lruvec->lru_lock, *flags); in folio_lruvec_lock_irqsave()
/linux/include/drm/ttm/
A Dttm_bo_driver.h184 spin_lock(&bo->bdev->lru_lock); in ttm_bo_move_to_lru_tail_unlocked()
186 spin_unlock(&bo->bdev->lru_lock); in ttm_bo_move_to_lru_tail_unlocked()
A Dttm_device.h263 spinlock_t lru_lock; member
/linux/include/linux/
A Dmemcontrol.h1295 spin_lock(&pgdat->__lruvec.lru_lock); in folio_lruvec_lock()
1303 spin_lock_irq(&pgdat->__lruvec.lru_lock); in folio_lruvec_lock_irq()
1312 spin_lock_irqsave(&pgdat->__lruvec.lru_lock, *flagsp); in folio_lruvec_lock_irqsave()
1551 spin_unlock(&lruvec->lru_lock); in unlock_page_lruvec()
1556 spin_unlock_irq(&lruvec->lru_lock); in unlock_page_lruvec_irq()
1562 spin_unlock_irqrestore(&lruvec->lru_lock, flags); in unlock_page_lruvec_irqrestore()
A Dmmzone.h309 spinlock_t lru_lock; member
/linux/fs/gfs2/
A Dglock.c68 static DEFINE_SPINLOCK(lru_lock);
220 spin_lock(&lru_lock); in gfs2_glock_add_to_lru()
229 spin_unlock(&lru_lock); in gfs2_glock_add_to_lru()
237 spin_lock(&lru_lock); in gfs2_glock_remove_from_lru()
243 spin_unlock(&lru_lock); in gfs2_glock_remove_from_lru()
1997 __releases(&lru_lock) in gfs2_dispose_glock_lru()
1998 __acquires(&lru_lock) in gfs2_dispose_glock_lru()
2025 cond_resched_lock(&lru_lock); in gfs2_dispose_glock_lru()
2045 spin_lock(&lru_lock); in gfs2_scan_glock_lru()
2062 spin_unlock(&lru_lock); in gfs2_scan_glock_lru()
A Dquota.c146 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in gfs2_qd_isolate() argument
/linux/fs/xfs/
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()
456 spin_unlock(lru_lock); in xfs_qm_dquot_isolate()
490 spin_lock(lru_lock); in xfs_qm_dquot_isolate()
A Dxfs_buf.c1725 spinlock_t *lru_lock, in xfs_buftarg_drain_rele() argument
1824 spinlock_t *lru_lock, in xfs_buftarg_isolate() argument
/linux/fs/nfs/
A Dnfs42xattr.c825 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in cache_lru_isolate() argument
890 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in entry_lru_isolate() argument
/linux/drivers/gpu/drm/i915/gem/
A Di915_gem_ttm.c786 spin_lock(&bo->bdev->lru_lock); in i915_ttm_adjust_lru()
798 spin_unlock(&bo->bdev->lru_lock); in i915_ttm_adjust_lru()
/linux/Documentation/locking/
A Dlockstat.rst195 …&(&zone->lru_lock)->rlock: 93000 94934 0.16 59.18 188253.…
/linux/fs/
A Dinode.c742 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in inode_lru_isolate() argument
784 spin_unlock(lru_lock); in inode_lru_isolate()
796 spin_lock(lru_lock); in inode_lru_isolate()
A Ddcache.c1181 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in dentry_lru_isolate() argument
1262 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in dentry_lru_isolate_shrink() argument
/linux/Documentation/trace/
A Devents-kmem.rst72 contention on the lruvec->lru_lock.
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_vm.c685 spin_lock(&adev->mman.bdev.lru_lock); in amdgpu_vm_move_to_lru_tail()
687 spin_unlock(&adev->mman.bdev.lru_lock); in amdgpu_vm_move_to_lru_tail()
693 spin_lock(&adev->mman.bdev.lru_lock); in amdgpu_vm_move_to_lru_tail()
708 spin_unlock(&adev->mman.bdev.lru_lock); in amdgpu_vm_move_to_lru_tail()
/linux/Documentation/admin-guide/cgroup-v1/
A Dmemcg_test.rst138 each LRU handled under a single lru_lock for that memcg and node.
A Dmemory.rst294 lruvec->lru_lock.
297 lruvec->lru_lock; PG_lru bit of page->flags is cleared before
298 isolating a page from its LRU under lruvec->lru_lock.

Completed in 77 milliseconds

12