Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/core/
H A Duser_mad.c100 struct mutex file_mutex; member
701 mutex_lock(&file->port->file_mutex); in ib_umad_reg_agent()
789 mutex_unlock(&file->port->file_mutex); in ib_umad_reg_agent()
802 mutex_lock(&file->port->file_mutex); in ib_umad_reg_agent2()
898 mutex_unlock(&file->port->file_mutex); in ib_umad_reg_agent2()
915 mutex_lock(&file->port->file_mutex); in ib_umad_unreg_agent()
933 mutex_unlock(&file->port->file_mutex); in ib_umad_unreg_agent()
1005 mutex_lock(&port->file_mutex); in ib_umad_open()
1036 mutex_unlock(&port->file_mutex); in ib_umad_open()
1047 mutex_lock(&file->port->file_mutex); in ib_umad_close()
[all …]
/openbmc/linux/drivers/char/ipmi/
H A 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()
317 mutex_init(&ipmb_dev->file_mutex); in ipmb_probe()
/openbmc/linux/drivers/rapidio/devices/
H A Drio_mport_cdev.c152 * @file_mutex - lock for open files list
169 struct mutex file_mutex; member
1927 mutex_lock(&chdev->file_mutex); in mport_cdev_open()
1929 mutex_unlock(&chdev->file_mutex); in mport_cdev_open()
2056 mutex_lock(&chdev->file_mutex); in mport_cdev_release()
2058 mutex_unlock(&chdev->file_mutex); in mport_cdev_release()
2378 mutex_init(&md->file_mutex); in mport_cdev_add()
2458 mutex_lock(&md->file_mutex); in mport_cdev_terminate_dma()
2465 mutex_unlock(&md->file_mutex); in mport_cdev_terminate_dma()
2485 mutex_lock(&md->file_mutex); in mport_cdev_kill_fasync()
[all...]
/openbmc/linux/drivers/accel/habanalabs/common/
H A Ddebugfs.c1759 mutex_init(&dev_entry->file_mutex); in hl_debugfs_device_init()
1776 mutex_destroy(&entry->file_mutex); in hl_debugfs_device_fini()
1809 mutex_lock(&dev_entry->file_mutex); in hl_debugfs_add_file()
1811 mutex_unlock(&dev_entry->file_mutex); in hl_debugfs_add_file()
1818 mutex_lock(&dev_entry->file_mutex); in hl_debugfs_remove_file()
1820 mutex_unlock(&dev_entry->file_mutex); in hl_debugfs_remove_file()
H A Dhabanalabs.h2348 struct mutex file_mutex; member