Home
last modified time | relevance | path

Searched refs:fpriv_ctrl_list_lock (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/misc/habanalabs/common/
Ddevice.c493 mutex_lock(&hdev->fpriv_ctrl_list_lock); in hl_device_release_ctrl()
495 mutex_unlock(&hdev->fpriv_ctrl_list_lock); in hl_device_release_ctrl()
804 mutex_init(&hdev->fpriv_ctrl_list_lock); in device_early_init()
849 mutex_destroy(&hdev->fpriv_ctrl_list_lock); in device_early_fini()
1035 mutex_lock(&hdev->fpriv_ctrl_list_lock); in take_release_locks()
1036 mutex_unlock(&hdev->fpriv_ctrl_list_lock); in take_release_locks()
1167 fd_lock = control_dev ? &hdev->fpriv_ctrl_list_lock : &hdev->fpriv_list_lock; in device_kill_open_processes()
1254 fd_lock = control_dev ? &hdev->fpriv_ctrl_list_lock : &hdev->fpriv_list_lock; in device_disable_open_processes()
1739 mutex_lock(&hdev->fpriv_ctrl_list_lock); in hl_notifier_event_send_all()
1744 mutex_unlock(&hdev->fpriv_ctrl_list_lock); in hl_notifier_event_send_all()
Dhabanalabs_drv.c271 mutex_lock(&hdev->fpriv_ctrl_list_lock); in hl_device_open_ctrl()
282 mutex_unlock(&hdev->fpriv_ctrl_list_lock); in hl_device_open_ctrl()
287 mutex_unlock(&hdev->fpriv_ctrl_list_lock); in hl_device_open_ctrl()
Dhabanalabs.h3272 struct mutex fpriv_ctrl_list_lock; member