| /linux/drivers/accel/rocket/ |
| H A D | rocket_gem.c | 25 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 D | rocket_drv.c | 100 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 D | page_range.rs | 137 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 D | driver.c | 31 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 D | v3d_bo.c | 55 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 D | rockchip_drm_gem.c | 30 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 D | rockchip_drm_drv.c | 129 mutex_init(&private->mm_lock); in rockchip_drm_init_iommu()
|
| /linux/drivers/accel/amdxdna/ |
| H A D | amdxdna_gem.c | 36 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 D | amdxdna_pci_drv.c | 97 mutex_init(&client->mm_lock); in amdxdna_drm_open() 128 mutex_destroy(&client->mm_lock); in amdxdna_client_cleanup()
|
| H A D | aie2_ctx.c | 624 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 D | gem.c | 247 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 D | drm.c | 861 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 D | drm.h | 39 struct mutex mm_lock; member
|
| /linux/drivers/video/fbdev/core/ |
| H A D | fb_chrdev.c | 325 mutex_lock(&info->mm_lock); in fb_mmap() 327 mutex_unlock(&info->mm_lock); in fb_mmap()
|
| /linux/drivers/gpu/drm/vc4/ |
| H A D | vc4_plane.c | 324 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 D | vc4_crtc.c | 1129 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 D | am65-cpsw-nuss.h | 202 struct mutex mm_lock; member
|
| H A D | am65-cpsw-qos.c | 444 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 D | enetc_ethtool.c | 1316 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 D | enetc.h | 487 struct mutex mm_lock; member
|
| /linux/drivers/gpu/drm/panfrost/ |
| H A D | panfrost_mmu.c | 567 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 D | platinumfb.c | 139 mutex_lock(&info->mm_lock); in platinumfb_set_par() 141 mutex_unlock(&info->mm_lock); in platinumfb_set_par()
|
| H A D | sm501fb.c | 495 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 D | panthor_mmu.c | 292 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 D | omapfb_main.c | 380 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()
|