Home
last modified time | relevance | path

Searched refs:mm_lock (Results 1 – 25 of 31) sorted by relevance

12

/linux/drivers/accel/rocket/
H A Drocket_gem.c25 mutex_lock(&rocket_priv->mm_lock); in rocket_gem_bo_free()
27 mutex_unlock(&rocket_priv->mm_lock); in rocket_gem_bo_free()
93 mutex_lock(&rocket_priv->mm_lock); in rocket_ioctl_create_bo()
97 mutex_unlock(&rocket_priv->mm_lock); in rocket_ioctl_create_bo()
118 mutex_lock(&rocket_priv->mm_lock); in rocket_ioctl_create_bo()
120 mutex_unlock(&rocket_priv->mm_lock); in rocket_ioctl_create_bo()
H A Drocket_drv.c100 mutex_init(&rocket_priv->mm_lock); in rocket_open()
109 mutex_destroy(&rocket_priv->mm_lock); in rocket_open()
125 mutex_destroy(&rocket_priv->mm_lock); in rocket_postclose()
/linux/drivers/android/binder/
H A Dpage_range.rs137 mm_lock: Mutex<()>, field
278 mm_lock <- new_mutex!((), "ShrinkablePageRange::mm"), in new()
292 let mm_lock = unsafe { &*ptr::from_ref(&self.mm_lock) }; in stable_trylock_mm() localVariable
294 mm_lock.try_lock() in stable_trylock_mm()
404 let mm_mutex = self.mm_lock.lock(); in use_page_slow()
633 let mm_lock = self.mm_lock.lock(); in drop() localVariable
649 drop(mm_lock); in drop()
/linux/arch/x86/kernel/cpu/sgx/
H A Ddriver.c31 spin_lock_init(&encl->mm_lock); in __sgx_open()
73 spin_lock(&encl->mm_lock); in sgx_release()
83 spin_unlock(&encl->mm_lock); in sgx_release()
/linux/drivers/gpu/drm/v3d/
H A Dv3d_bo.c55 spin_lock(&v3d->mm_lock); in v3d_free_object()
57 spin_unlock(&v3d->mm_lock); in v3d_free_object()
126 spin_lock(&v3d->mm_lock); in v3d_bo_create_finish()
134 spin_unlock(&v3d->mm_lock); in v3d_bo_create_finish()
/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_gem.c30 mutex_lock(&private->mm_lock); in rockchip_gem_iommu_map()
34 mutex_unlock(&private->mm_lock); in rockchip_gem_iommu_map()
57 mutex_lock(&private->mm_lock); in rockchip_gem_iommu_map()
59 mutex_unlock(&private->mm_lock); in rockchip_gem_iommu_map()
71 mutex_lock(&private->mm_lock); in rockchip_gem_iommu_unmap()
75 mutex_unlock(&private->mm_lock); in rockchip_gem_iommu_unmap()
H A Drockchip_drm_drv.c129 mutex_init(&private->mm_lock); in rockchip_drm_init_iommu()
/linux/drivers/accel/amdxdna/
H A Damdxdna_gem.c36 mutex_lock(&client->mm_lock); in amdxdna_gem_heap_alloc()
71 mutex_unlock(&client->mm_lock); in amdxdna_gem_heap_alloc()
82 mutex_lock(&client->mm_lock); in amdxdna_gem_heap_free()
89 mutex_unlock(&client->mm_lock); in amdxdna_gem_heap_free()
538 guard(mutex)(&client->mm_lock); in amdxdna_gem_add_bo_usage()
553 guard(mutex)(&client->mm_lock); in amdxdna_gem_del_bo_usage()
811 mutex_lock(&client->mm_lock); in amdxdna_drm_create_dev_heap_bo()
823 mutex_unlock(&client->mm_lock); in amdxdna_drm_create_dev_heap_bo()
828 mutex_unlock(&client->mm_lock); in amdxdna_drm_create_dev_heap_bo()
1091 mutex_lock(&tmp_client->mm_lock); in amdxdna_drm_get_bo_usage()
[all …]
H A Damdxdna_pci_drv.c97 mutex_init(&client->mm_lock); in amdxdna_drm_open()
128 mutex_destroy(&client->mm_lock); in amdxdna_client_cleanup()
H A Daie2_ctx.c624 mutex_lock(&client->mm_lock); in aie2_hwctx_init()
628 mutex_unlock(&client->mm_lock); in aie2_hwctx_init()
633 mutex_unlock(&client->mm_lock); in aie2_hwctx_init()
/linux/drivers/gpu/drm/tegra/
H A Dgem.c247 mutex_lock(&tegra->mm_lock); in tegra_bo_iommu_map()
266 mutex_unlock(&tegra->mm_lock); in tegra_bo_iommu_map()
273 mutex_unlock(&tegra->mm_lock); in tegra_bo_iommu_map()
283 mutex_lock(&tegra->mm_lock); in tegra_bo_iommu_unmap()
286 mutex_unlock(&tegra->mm_lock); in tegra_bo_iommu_unmap()
H A Ddrm.c861 mutex_lock(&tegra->mm_lock); in tegra_debugfs_iova()
863 mutex_unlock(&tegra->mm_lock); in tegra_debugfs_iova()
1223 mutex_init(&tegra->mm_lock); in host1x_drm_probe()
1284 mutex_destroy(&tegra->mm_lock); in host1x_drm_probe()
1324 mutex_destroy(&tegra->mm_lock); in host1x_drm_remove()
H A Ddrm.h39 struct mutex mm_lock; member
/linux/drivers/video/fbdev/core/
H A Dfb_chrdev.c325 mutex_lock(&info->mm_lock); in fb_mmap()
327 mutex_unlock(&info->mm_lock); in fb_mmap()
/linux/drivers/gpu/drm/vc4/
H A Dvc4_plane.c324 spin_lock_irqsave(&hvs->mm_lock, irqflags); in vc4_plane_release_upm_ida()
326 spin_unlock_irqrestore(&hvs->mm_lock, irqflags); in vc4_plane_release_upm_ida()
345 spin_lock_irqsave(&hvs->mm_lock, irqflags); in vc4_plane_destroy_state()
347 spin_unlock_irqrestore(&hvs->mm_lock, irqflags); in vc4_plane_destroy_state()
958 spin_lock_irqsave(&vc4->hvs->mm_lock, irqflags); in vc4_plane_allocate_lbm()
963 spin_unlock_irqrestore(&vc4->hvs->mm_lock, irqflags); in vc4_plane_allocate_lbm()
1029 spin_lock_irqsave(&hvs->mm_lock, irqflags); in vc6_plane_allocate_upm()
1034 spin_unlock_irqrestore(&hvs->mm_lock, irqflags); in vc6_plane_allocate_upm()
H A Dvc4_crtc.c1129 spin_lock_irqsave(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
1131 spin_unlock_irqrestore(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
/linux/drivers/net/ethernet/ti/
H A Dam65-cpsw-nuss.h202 struct mutex mm_lock; member
H A Dam65-cpsw-qos.c444 mutex_lock(&priv->mm_lock); in am65_cpsw_iet_change_preemptible_tcs()
446 mutex_unlock(&priv->mm_lock); in am65_cpsw_iet_change_preemptible_tcs()
454 mutex_lock(&priv->mm_lock); in am65_cpsw_iet_link_state_update()
456 mutex_unlock(&priv->mm_lock); in am65_cpsw_iet_link_state_update()
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_ethtool.c1316 mutex_lock(&priv->mm_lock); in enetc_get_mm()
1357 mutex_unlock(&priv->mm_lock); in enetc_get_mm()
1451 mutex_lock(&priv->mm_lock); in enetc_set_mm()
1492 mutex_unlock(&priv->mm_lock); in enetc_set_mm()
1509 mutex_lock(&priv->mm_lock); in enetc_mm_link_state_update()
1527 mutex_unlock(&priv->mm_lock); in enetc_mm_link_state_update()
H A Denetc.h487 struct mutex mm_lock; member
/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_mmu.c567 spin_lock(&mmu->mm_lock); in addr_to_mapping()
579 spin_unlock(&mmu->mm_lock); in addr_to_mapping()
802 spin_lock_init(&mmu->mm_lock); in panfrost_mmu_ctx_create()
/linux/drivers/video/fbdev/
H A Dplatinumfb.c139 mutex_lock(&info->mm_lock); in platinumfb_set_par()
141 mutex_unlock(&info->mm_lock); in platinumfb_set_par()
H A Dsm501fb.c495 mutex_lock(&info->mm_lock); in sm501fb_set_par_common()
498 mutex_unlock(&info->mm_lock); in sm501fb_set_par_common()
1923 mutex_init(&info->fb[head]->mm_lock); in sm501fb_start_one()
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c292 struct mutex mm_lock; member
1053 mutex_lock(&vm->mm_lock); in panthor_vm_alloc_va()
1065 mutex_unlock(&vm->mm_lock); in panthor_vm_alloc_va()
1077 mutex_lock(&vm->mm_lock); in panthor_vm_free_va()
1079 mutex_unlock(&vm->mm_lock); in panthor_vm_free_va()
2472 mutex_init(&vm->mm_lock); in panthor_vm_create()
/linux/drivers/video/fbdev/omap/
H A Domapfb_main.c380 mutex_lock(&fbi->mm_lock); in set_fb_fix()
383 mutex_unlock(&fbi->mm_lock); in set_fb_fix()
876 mutex_lock(&fbi->mm_lock); in omapfb_setup_mem()
879 mutex_unlock(&fbi->mm_lock); in omapfb_setup_mem()

12