Searched refs:pages_lock (Results 1 – 11 of 11) sorted by relevance
/Linux-v6.1/mm/ |
D | balloon_compaction.c | 47 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/ |
D | drm_gem_shmem_helper.c | 89 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/ |
D | balloon_compaction.h | 56 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/ |
D | panfrost_gem_shrinker.c | 51 if (!mutex_trylock(&shmem->pages_lock)) in panfrost_gem_purge() 58 mutex_unlock(&shmem->pages_lock); in panfrost_gem_purge()
|
D | panfrost_mmu.c | 468 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/ |
D | lima_gem.c | 37 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/ |
D | vgem_drv.h | 48 struct mutex pages_lock; member
|
/Linux-v6.1/drivers/misc/ |
D | vmw_balloon.c | 1009 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/ |
D | drm_gem_shmem_helper.h | 32 struct mutex pages_lock; member
|
/Linux-v6.1/drivers/virtio/ |
D | virtio_balloon.c | 778 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/ |
D | cmm.c | 533 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()
|