Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/ttm/
Dttm_execbuf_util.c68 spin_lock(&glob->lru_lock); in ttm_eu_backoff_reservation()
75 spin_unlock(&glob->lru_lock); in ttm_eu_backoff_reservation()
175 spin_lock(&glob->lru_lock); in ttm_eu_reserve_buffers()
177 spin_unlock(&glob->lru_lock); in ttm_eu_reserve_buffers()
200 spin_lock(&glob->lru_lock); in ttm_eu_fence_buffer_objects()
211 spin_unlock(&glob->lru_lock); in ttm_eu_fence_buffer_objects()
Dttm_bo.c211 spin_lock(&glob->lru_lock); in ttm_bo_del_sub_from_lru()
213 spin_unlock(&glob->lru_lock); in ttm_bo_del_sub_from_lru()
394 spin_lock(&glob->lru_lock); in ttm_bo_cleanup_refs_or_queue()
398 spin_lock(&glob->lru_lock); in ttm_bo_cleanup_refs_or_queue()
403 spin_unlock(&glob->lru_lock); in ttm_bo_cleanup_refs_or_queue()
432 spin_unlock(&glob->lru_lock); in ttm_bo_cleanup_refs_or_queue()
474 spin_unlock(&glob->lru_lock); in ttm_bo_cleanup_refs()
485 spin_lock(&glob->lru_lock); in ttm_bo_cleanup_refs()
495 spin_unlock(&glob->lru_lock); in ttm_bo_cleanup_refs()
504 spin_unlock(&glob->lru_lock); in ttm_bo_cleanup_refs()
[all …]
/Linux-v4.19/mm/
Dswap.c204 spin_unlock_irqrestore(&pgdat->lru_lock, flags); in pagevec_lru_move_fn()
206 spin_lock_irqsave(&pgdat->lru_lock, flags); in pagevec_lru_move_fn()
213 spin_unlock_irqrestore(&pgdat->lru_lock, flags); in pagevec_lru_move_fn()
733 spin_unlock_irqrestore(&locked_pgdat->lru_lock, flags); in release_pages()
743 spin_unlock_irqrestore(&locked_pgdat->lru_lock, in release_pages()
757 spin_unlock_irqrestore(&locked_pgdat->lru_lock, flags); in release_pages()
769 spin_unlock_irqrestore(&locked_pgdat->lru_lock, in release_pages()
773 spin_lock_irqsave(&locked_pgdat->lru_lock, flags); in release_pages()
789 spin_unlock_irqrestore(&locked_pgdat->lru_lock, flags); in release_pages()
828 !spin_is_locked(&lruvec_pgdat(lruvec)->lru_lock)); in lru_add_page_tail()
Dworkingset.c412 spinlock_t *lru_lock, in shadow_lru_isolate() argument
437 spin_unlock_irq(lru_lock); in shadow_lru_isolate()
443 spin_unlock(lru_lock); in shadow_lru_isolate()
479 spin_lock_irq(lru_lock); in shadow_lru_isolate()
Dvmscan.c1841 spin_unlock_irq(&pgdat->lru_lock); in putback_inactive_pages()
1843 spin_lock_irq(&pgdat->lru_lock); in putback_inactive_pages()
1864 spin_unlock_irq(&pgdat->lru_lock); in putback_inactive_pages()
1867 spin_lock_irq(&pgdat->lru_lock); in putback_inactive_pages()
1929 spin_lock_irq(&pgdat->lru_lock); in shrink_inactive_list()
1948 spin_unlock_irq(&pgdat->lru_lock); in shrink_inactive_list()
1956 spin_lock_irq(&pgdat->lru_lock); in shrink_inactive_list()
1974 spin_unlock_irq(&pgdat->lru_lock); in shrink_inactive_list()
2054 spin_unlock_irq(&pgdat->lru_lock); in move_active_pages_to_lru()
2057 spin_lock_irq(&pgdat->lru_lock); in move_active_pages_to_lru()
[all …]
Dpage_alloc.c6227 spin_lock_init(&pgdat->lru_lock); in pgdat_init_internals()
/Linux-v4.19/include/drm/ttm/
Dttm_bo_driver.h420 spinlock_t lru_lock; member
748 spin_lock(&bo->bdev->glob->lru_lock); in ttm_bo_unreserve()
750 spin_unlock(&bo->bdev->glob->lru_lock); in ttm_bo_unreserve()
/Linux-v4.19/fs/gfs2/
Dglock.c70 static DEFINE_SPINLOCK(lru_lock);
186 spin_lock(&lru_lock); in gfs2_glock_add_to_lru()
195 spin_unlock(&lru_lock); in gfs2_glock_add_to_lru()
203 spin_lock(&lru_lock); in gfs2_glock_remove_from_lru()
209 spin_unlock(&lru_lock); in gfs2_glock_remove_from_lru()
1445 __releases(&lru_lock) in gfs2_dispose_glock_lru()
1446 __acquires(&lru_lock) in gfs2_dispose_glock_lru()
1472 cond_resched_lock(&lru_lock); in gfs2_dispose_glock_lru()
1492 spin_lock(&lru_lock); in gfs2_scan_glock_lru()
1509 spin_unlock(&lru_lock); in gfs2_scan_glock_lru()
Dquota.c149 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in gfs2_qd_isolate() argument
/Linux-v4.19/drivers/gpu/drm/qxl/
Dqxl_release.c456 spin_lock(&glob->lru_lock); in qxl_release_fence_buffer_objects()
466 spin_unlock(&glob->lru_lock); in qxl_release_fence_buffer_objects()
Dqxl_ttm.c434 spin_lock(&glob->lru_lock); in qxl_mm_dump_table()
436 spin_unlock(&glob->lru_lock); in qxl_mm_dump_table()
/Linux-v4.19/fs/xfs/
Dxfs_qm.c418 spinlock_t *lru_lock, in xfs_qm_dquot_isolate() argument
420 __releases(lru_lock) __acquires(lru_lock) in xfs_qm_dquot_isolate()
460 spin_unlock(lru_lock); in xfs_qm_dquot_isolate()
494 spin_lock(lru_lock); in xfs_qm_dquot_isolate()
Dxfs_buf.c1595 spinlock_t *lru_lock, in xfs_buftarg_wait_rele() argument
1671 spinlock_t *lru_lock, in xfs_buftarg_isolate() argument
/Linux-v4.19/include/linux/
Dmmzone.h687 spinlock_t lru_lock;
730 return &zone->zone_pgdat->lru_lock; in zone_lru_lock()
/Linux-v4.19/Documentation/locking/
Dlockstat.txt174 …&(&zone->lru_lock)->rlock: 93000 94934 0.16 59.18 188253.…
/Linux-v4.19/fs/
Dinode.c709 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in inode_lru_isolate() argument
743 spin_unlock(lru_lock); in inode_lru_isolate()
755 spin_lock(lru_lock); in inode_lru_isolate()
Ddcache.c1095 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in dentry_lru_isolate() argument
1176 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in dentry_lru_isolate_shrink() argument
/Linux-v4.19/Documentation/trace/
Devents-kmem.rst72 contention on the zone->lru_lock.
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vm.c300 spin_lock(&glob->lru_lock); in amdgpu_vm_validate_pt_bos()
304 spin_unlock(&glob->lru_lock); in amdgpu_vm_validate_pt_bos()
316 spin_lock(&glob->lru_lock); in amdgpu_vm_validate_pt_bos()
327 spin_unlock(&glob->lru_lock); in amdgpu_vm_validate_pt_bos()
/Linux-v4.19/Documentation/vm/
Dunevictable-lru.rst92 under the zone lru_lock. This allows us to prevent the stranding of pages on