Home
last modified time | relevance | path

Searched refs:pages_lock (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.1/mm/
Dballoon_compaction.c47 spin_lock_irqsave(&b_dev_info->pages_lock, flags); in balloon_page_list_enqueue()
53 spin_unlock_irqrestore(&b_dev_info->pages_lock, flags); in balloon_page_list_enqueue()
83 spin_lock_irqsave(&b_dev_info->pages_lock, flags); in balloon_page_list_dequeue()
108 spin_unlock_irqrestore(&b_dev_info->pages_lock, flags); in balloon_page_list_dequeue()
151 spin_lock_irqsave(&b_dev_info->pages_lock, flags); in balloon_page_enqueue()
153 spin_unlock_irqrestore(&b_dev_info->pages_lock, flags); in balloon_page_enqueue()
193 spin_lock_irqsave(&b_dev_info->pages_lock, flags); in balloon_page_dequeue()
197 spin_unlock_irqrestore(&b_dev_info->pages_lock, flags); in balloon_page_dequeue()
212 spin_lock_irqsave(&b_dev_info->pages_lock, flags); in balloon_page_isolate()
215 spin_unlock_irqrestore(&b_dev_info->pages_lock, flags); in balloon_page_isolate()
[all …]
/Linux-v6.1/drivers/gpu/drm/
Ddrm_gem_shmem_helper.c89 mutex_init(&shmem->pages_lock); in __drm_gem_shmem_create()
160 mutex_destroy(&shmem->pages_lock); in drm_gem_shmem_free()
212 ret = mutex_lock_interruptible(&shmem->pages_lock); in drm_gem_shmem_get_pages()
216 mutex_unlock(&shmem->pages_lock); in drm_gem_shmem_get_pages()
251 mutex_lock(&shmem->pages_lock); in drm_gem_shmem_put_pages()
253 mutex_unlock(&shmem->pages_lock); in drm_gem_shmem_put_pages()
446 mutex_lock(&shmem->pages_lock); in drm_gem_shmem_madvise()
453 mutex_unlock(&shmem->pages_lock); in drm_gem_shmem_madvise()
491 if (!mutex_trylock(&shmem->pages_lock)) in drm_gem_shmem_purge()
494 mutex_unlock(&shmem->pages_lock); in drm_gem_shmem_purge()
[all …]
/Linux-v6.1/include/linux/
Dballoon_compaction.h56 spinlock_t pages_lock; /* Protection to pages list */ member
74 spin_lock_init(&balloon->pages_lock); in balloon_devinfo_init()
/Linux-v6.1/drivers/gpu/drm/panfrost/
Dpanfrost_gem_shrinker.c51 if (!mutex_trylock(&shmem->pages_lock)) in panfrost_gem_purge()
58 mutex_unlock(&shmem->pages_lock); in panfrost_gem_purge()
Dpanfrost_mmu.c468 mutex_lock(&bo->base.pages_lock); in panfrost_mmu_map_fault_addr()
474 mutex_unlock(&bo->base.pages_lock); in panfrost_mmu_map_fault_addr()
484 mutex_unlock(&bo->base.pages_lock); in panfrost_mmu_map_fault_addr()
494 mutex_unlock(&bo->base.pages_lock); in panfrost_mmu_map_fault_addr()
505 mutex_unlock(&bo->base.pages_lock); in panfrost_mmu_map_fault_addr()
511 mutex_unlock(&bo->base.pages_lock); in panfrost_mmu_map_fault_addr()
/Linux-v6.1/drivers/gpu/drm/lima/
Dlima_gem.c37 mutex_lock(&bo->base.pages_lock); in lima_heap_alloc()
45 mutex_unlock(&bo->base.pages_lock); in lima_heap_alloc()
59 mutex_unlock(&bo->base.pages_lock); in lima_heap_alloc()
65 mutex_unlock(&bo->base.pages_lock); in lima_heap_alloc()
/Linux-v6.1/drivers/gpu/drm/vgem/
Dvgem_drv.h48 struct mutex pages_lock; member
/Linux-v6.1/drivers/misc/
Dvmw_balloon.c1009 spin_lock_irqsave(&b->b_dev_info.pages_lock, flags); in vmballoon_enqueue_page_list()
1018 spin_unlock_irqrestore(&b->b_dev_info.pages_lock, flags); in vmballoon_enqueue_page_list()
1055 spin_lock_irqsave(&b->b_dev_info.pages_lock, flags); in vmballoon_dequeue_page_list()
1066 spin_unlock_irqrestore(&b->b_dev_info.pages_lock, flags); in vmballoon_dequeue_page_list()
1825 spin_lock_irqsave(&b->b_dev_info.pages_lock, flags); in vmballoon_migratepage()
1842 spin_unlock_irqrestore(&b->b_dev_info.pages_lock, flags); in vmballoon_migratepage()
/Linux-v6.1/include/drm/
Ddrm_gem_shmem_helper.h32 struct mutex pages_lock; member
/Linux-v6.1/drivers/virtio/
Dvirtio_balloon.c778 spin_lock_irqsave(&vb_dev_info->pages_lock, flags); in virtballoon_migratepage()
782 spin_unlock_irqrestore(&vb_dev_info->pages_lock, flags); in virtballoon_migratepage()
788 spin_lock_irqsave(&vb_dev_info->pages_lock, flags); in virtballoon_migratepage()
790 spin_unlock_irqrestore(&vb_dev_info->pages_lock, flags); in virtballoon_migratepage()
/Linux-v6.1/arch/powerpc/platforms/pseries/
Dcmm.c533 spin_lock_irqsave(&b_dev_info->pages_lock, flags); in cmm_migratepage()
537 spin_unlock_irqrestore(&b_dev_info->pages_lock, flags); in cmm_migratepage()