Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/infiniband/core/
Duser_mad.c98 struct mutex file_mutex; member
673 mutex_lock(&file->port->file_mutex); in ib_umad_reg_agent()
762 mutex_unlock(&file->port->file_mutex); in ib_umad_reg_agent()
775 mutex_lock(&file->port->file_mutex); in ib_umad_reg_agent2()
874 mutex_unlock(&file->port->file_mutex); in ib_umad_reg_agent2()
891 mutex_lock(&file->port->file_mutex); in ib_umad_unreg_agent()
909 mutex_unlock(&file->port->file_mutex); in ib_umad_unreg_agent()
981 mutex_lock(&port->file_mutex); in ib_umad_open()
1012 mutex_unlock(&port->file_mutex); in ib_umad_open()
1023 mutex_lock(&file->port->file_mutex); in ib_umad_close()
[all …]
/Linux-v5.10/drivers/char/ipmi/
Dipmb_dev_int.c65 struct mutex file_mutex; member
185 mutex_lock(&ipmb_dev->file_mutex); in ipmb_poll()
190 mutex_unlock(&ipmb_dev->file_mutex); in ipmb_poll()
318 mutex_init(&ipmb_dev->file_mutex); in ipmb_probe()
/Linux-v5.10/drivers/rapidio/devices/
Drio_mport_cdev.c169 struct mutex file_mutex; member
1903 mutex_lock(&chdev->file_mutex); in mport_cdev_open()
1905 mutex_unlock(&chdev->file_mutex); in mport_cdev_open()
2051 mutex_lock(&chdev->file_mutex); in mport_cdev_release()
2053 mutex_unlock(&chdev->file_mutex); in mport_cdev_release()
2373 mutex_init(&md->file_mutex); in mport_cdev_add()
2453 mutex_lock(&md->file_mutex); in mport_cdev_terminate_dma()
2460 mutex_unlock(&md->file_mutex); in mport_cdev_terminate_dma()
2480 mutex_lock(&md->file_mutex); in mport_cdev_kill_fasync()
2486 mutex_unlock(&md->file_mutex); in mport_cdev_kill_fasync()
/Linux-v5.10/drivers/misc/habanalabs/common/
Ddebugfs.c1224 mutex_init(&dev_entry->file_mutex); in hl_debugfs_add_device()
1333 mutex_destroy(&entry->file_mutex); in hl_debugfs_remove_device()
1341 mutex_lock(&dev_entry->file_mutex); in hl_debugfs_add_file()
1343 mutex_unlock(&dev_entry->file_mutex); in hl_debugfs_add_file()
1350 mutex_lock(&dev_entry->file_mutex); in hl_debugfs_remove_file()
1352 mutex_unlock(&dev_entry->file_mutex); in hl_debugfs_remove_file()
Dhabanalabs.h1264 struct mutex file_mutex; member