Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/ttm/
A Dttm_resource.c122 spin_lock(&bdev->lru_lock); in ttm_lru_bulk_move_fini()
124 spin_unlock(&bdev->lru_lock); in ttm_lru_bulk_move_fini()
303 spin_lock(&bo->bdev->lru_lock); in ttm_resource_init()
309 spin_unlock(&bo->bdev->lru_lock); in ttm_resource_init()
328 spin_lock(&bdev->lru_lock); in ttm_resource_fini()
331 spin_unlock(&bdev->lru_lock); in ttm_resource_fini()
347 spin_lock(&bo->bdev->lru_lock); in ttm_resource_alloc()
349 spin_unlock(&bo->bdev->lru_lock); in ttm_resource_alloc()
361 spin_lock(&bo->bdev->lru_lock); in ttm_resource_free()
448 spin_lock(&bo->bdev->lru_lock); in ttm_resource_set_bo()
[all …]
A Dttm_device.c218 spin_lock_init(&bdev->lru_lock); in ttm_device_init()
245 spin_lock(&bdev->lru_lock); in ttm_device_fini()
249 spin_unlock(&bdev->lru_lock); in ttm_device_fini()
261 spin_lock(&bdev->lru_lock); in ttm_device_clear_lru_dma_mappings()
270 spin_unlock(&bdev->lru_lock); in ttm_device_clear_lru_dma_mappings()
276 spin_lock(&bdev->lru_lock); in ttm_device_clear_lru_dma_mappings()
278 spin_unlock(&bdev->lru_lock); in ttm_device_clear_lru_dma_mappings()
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()
281 spin_lock(&bo->bdev->lru_lock); in ttm_bo_release()
452 spin_lock(&bdev->lru_lock); in ttm_bo_evict_first()
463 spin_unlock(&bdev->lru_lock); in ttm_bo_evict_first()
484 spin_unlock(&bdev->lru_lock); in ttm_bo_evict_first()
594 spin_lock(&bo->bdev->lru_lock); in ttm_bo_pin()
598 spin_unlock(&bo->bdev->lru_lock); in ttm_bo_pin()
[all …]
A Dttm_bo_util.c867 spin_lock(&bdev->lru_lock); in ttm_lru_walk_for_evict()
891 spin_unlock(&bdev->lru_lock); in ttm_lru_walk_for_evict()
913 spin_lock(&bdev->lru_lock); in ttm_lru_walk_for_evict()
918 spin_unlock(&bdev->lru_lock); in ttm_lru_walk_for_evict()
/linux/mm/
A Dworkingset.c715 spinlock_t *lru_lock, in shadow_lru_isolate() argument
716 void *arg) __must_hold(lru_lock) in shadow_lru_isolate()
738 spin_unlock_irq(lru_lock); in shadow_lru_isolate()
747 spin_unlock_irq(lru_lock); in shadow_lru_isolate()
756 spin_unlock(lru_lock); in shadow_lru_isolate()
780 spin_lock_irq(lru_lock); in shadow_lru_isolate()
A Dvmscan.c1847 spin_lock_irq(&lruvec->lru_lock); in move_folios_to_lru()
1894 spin_lock_irq(&lruvec->lru_lock); in move_folios_to_lru()
1943 spin_lock_irq(&lruvec->lru_lock); in shrink_inactive_list()
1955 spin_unlock_irq(&lruvec->lru_lock); in shrink_inactive_list()
1962 spin_lock_irq(&lruvec->lru_lock); in shrink_inactive_list()
1973 spin_unlock_irq(&lruvec->lru_lock); in shrink_inactive_list()
2052 spin_lock_irq(&lruvec->lru_lock); in shrink_active_list()
2112 spin_lock_irq(&lruvec->lru_lock); in shrink_active_list()
3807 spin_lock_irq(&lruvec->lru_lock); in inc_max_seq()
4575 spin_lock_irq(&lruvec->lru_lock); in evict_folios()
[all …]
A Dmmzone.c80 spin_lock_init(&lruvec->lru_lock); in lruvec_init()
A Dswap.c295 spin_lock_irq(&lruvec->lru_lock); in lru_note_cost()
319 spin_unlock_irq(&lruvec->lru_lock); in lru_note_cost()
/linux/Documentation/bpf/
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]
/linux/include/drm/ttm/
A Dttm_bo.h333 spin_lock(&bo->bdev->lru_lock); in ttm_bo_move_to_lru_tail_unlocked()
335 spin_unlock(&bo->bdev->lru_lock); in ttm_bo_move_to_lru_tail_unlocked()
A Dttm_device.h252 spinlock_t lru_lock; member
/linux/drivers/gpu/drm/xe/
A Dxe_exec.c323 spin_lock(&xe->ttm.lru_lock); in xe_exec_ioctl()
325 spin_unlock(&xe->ttm.lru_lock); in xe_exec_ioctl()
/linux/include/linux/
A Dmemcontrol.h1307 spin_lock(&pgdat->__lruvec.lru_lock); in folio_lruvec_lock()
1315 spin_lock_irq(&pgdat->__lruvec.lru_lock); in folio_lruvec_lock_irq()
1324 spin_lock_irqsave(&pgdat->__lruvec.lru_lock, *flagsp); in folio_lruvec_lock_irqsave()
1554 spin_unlock(&lruvec->lru_lock); in unlock_page_lruvec()
1559 spin_unlock_irq(&lruvec->lru_lock); in unlock_page_lruvec_irq()
1565 spin_unlock_irqrestore(&lruvec->lru_lock, flags); in unlock_page_lruvec_irqrestore()
A Dmm_inline.h44 lockdep_assert_held(&lruvec->lru_lock); in __update_lru_size()
/linux/fs/gfs2/
A Dglock.c70 static DEFINE_SPINLOCK(lru_lock);
186 spin_lock(&lru_lock); in gfs2_glock_free_later()
188 spin_unlock(&lru_lock); in gfs2_glock_free_later()
221 spin_lock(&lru_lock); in gfs2_glock_add_to_lru()
229 spin_unlock(&lru_lock); in gfs2_glock_add_to_lru()
234 spin_lock(&lru_lock); in gfs2_glock_remove_from_lru()
240 spin_unlock(&lru_lock); in gfs2_glock_remove_from_lru()
2009 __releases(&lru_lock) in gfs2_dispose_glock_lru()
2010 __acquires(&lru_lock) in gfs2_dispose_glock_lru()
2057 spin_lock(&lru_lock); in gfs2_scan_glock_lru()
[all …]
/linux/fs/xfs/
A Dxfs_qm.c415 spinlock_t *lru_lock, in xfs_qm_dquot_isolate() argument
417 __releases(lru_lock) __acquires(lru_lock) in xfs_qm_dquot_isolate()
463 spin_unlock(lru_lock); in xfs_qm_dquot_isolate()
499 spin_lock(lru_lock); in xfs_qm_dquot_isolate()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_vram_mgr.c319 spin_lock(&man->bdev->lru_lock); in amdgpu_vram_mgr_do_reserve()
321 spin_unlock(&man->bdev->lru_lock); in amdgpu_vram_mgr_do_reserve()
/linux/fs/nfs/
A Dnfs42xattr.c805 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in cache_lru_isolate() argument
870 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in entry_lru_isolate() argument
/linux/Documentation/locking/
A Dlockstat.rst195 …&(&zone->lru_lock)->rlock: 93000 94934 0.16 59.18 188253.…
/linux/Documentation/trace/
A Devents-kmem.rst72 contention on the lruvec->lru_lock.
/linux/Documentation/translations/it_IT/locking/
A Dlockstat.rst221 …&(&zone->lru_lock)->rlock: 93000 94934 0.16 59.18 188253.…
/linux/drivers/gpu/drm/i915/gem/
A Di915_gem_ttm.c981 spin_lock(&bo->bdev->lru_lock); in i915_ttm_adjust_lru()
1010 spin_unlock(&bo->bdev->lru_lock); in i915_ttm_adjust_lru()
/linux/fs/
A Dinode.c884 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in inode_lru_isolate() argument
926 spin_unlock(lru_lock); in inode_lru_isolate()
937 spin_lock(lru_lock); in inode_lru_isolate()
/linux/Documentation/admin-guide/cgroup-v1/
A Dmemcg_test.rst138 each LRU handled under a single lru_lock for that memcg and node.
/linux/Documentation/mm/
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

Completed in 61 milliseconds

12