Lines Matching refs:ept_lock
65 struct mutex ept_lock; member
81 mutex_lock(&eptdev->ept_lock); in rpmsg_chrdev_eptdev_destroy()
89 mutex_unlock(&eptdev->ept_lock); in rpmsg_chrdev_eptdev_destroy()
142 mutex_lock(&eptdev->ept_lock); in rpmsg_eptdev_open()
144 mutex_unlock(&eptdev->ept_lock); in rpmsg_eptdev_open()
149 mutex_unlock(&eptdev->ept_lock); in rpmsg_eptdev_open()
167 mutex_unlock(&eptdev->ept_lock); in rpmsg_eptdev_open()
174 mutex_unlock(&eptdev->ept_lock); in rpmsg_eptdev_open()
185 mutex_lock(&eptdev->ept_lock); in rpmsg_eptdev_release()
191 mutex_unlock(&eptdev->ept_lock); in rpmsg_eptdev_release()
267 if (mutex_lock_interruptible(&eptdev->ept_lock)) { in rpmsg_eptdev_write_iter()
286 mutex_unlock(&eptdev->ept_lock); in rpmsg_eptdev_write_iter()
309 mutex_lock(&eptdev->ept_lock); in rpmsg_eptdev_poll()
311 mutex_unlock(&eptdev->ept_lock); in rpmsg_eptdev_poll()
420 mutex_init(&eptdev->ept_lock); in rpmsg_chrdev_eptdev_alloc()