Home
last modified time | relevance | path

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

/linux/drivers/accel/habanalabs/common/
H A Ddevice.c1428 struct mutex *hpriv_lock; in device_kill_open_processes() local
1431 hpriv_lock = control_dev ? &hdev->fpriv_ctrl_list_lock : &hdev->fpriv_list_lock; in device_kill_open_processes()
1453 mutex_lock(hpriv_lock); in device_kill_open_processes()
1474 mutex_unlock(hpriv_lock); in device_kill_open_processes()
1512 struct mutex *hpriv_lock; in device_disable_open_processes() local
1514 hpriv_lock = control_dev ? &hdev->fpriv_ctrl_list_lock : &hdev->fpriv_list_lock; in device_disable_open_processes()
1517 mutex_lock(hpriv_lock); in device_disable_open_processes()
1520 mutex_unlock(hpriv_lock); in device_disable_open_processes()