Searched refs:client_lock (Results 1 – 10 of 10) sorted by relevance
45 struct rw_semaphore client_lock; /* Guards client list. */ member484 down_write(&cdev->client_lock); in ssam_cdev_device_open()487 up_write(&cdev->client_lock); in ssam_cdev_device_open()497 up_write(&cdev->client_lock); in ssam_cdev_device_open()511 down_write(&client->cdev->client_lock); in ssam_cdev_device_release()513 up_write(&client->cdev->client_lock); in ssam_cdev_device_release()704 init_rwsem(&cdev->client_lock); in ssam_dbg_device_probe()728 down_write(&cdev->client_lock); in ssam_dbg_device_remove()745 up_write(&cdev->client_lock); in ssam_dbg_device_remove()
156 struct rw_semaphore client_lock; /* Guards client list. */ member420 down_write(&ddev->client_lock); in surface_dtx_open()429 up_write(&ddev->client_lock); in surface_dtx_open()437 up_write(&ddev->client_lock); in surface_dtx_open()448 down_write(&client->ddev->client_lock); in surface_dtx_release()450 up_write(&client->ddev->client_lock); in surface_dtx_release()604 down_read(&ddev->client_lock); in sdtx_push_event()616 up_read(&ddev->client_lock); in sdtx_push_event()969 init_rwsem(&ddev->client_lock); in sdtx_device_init()1084 down_write(&ddev->client_lock); in sdtx_device_destroy()[all …]
167 lockdep_assert_held(&nn->client_lock); in get_client_locked()200 lockdep_assert_held(&nn->client_lock); in put_client_renew_locked()214 if (!atomic_dec_and_lock(&clp->cl_rpc_users, &nn->client_lock)) in put_client_renew()220 spin_unlock(&nn->client_lock); in put_client_renew()241 lockdep_assert_held(&nn->client_lock); in nfsd4_put_session_locked()253 spin_lock(&nn->client_lock); in nfsd4_put_session()255 spin_unlock(&nn->client_lock); in nfsd4_put_session()1616 spin_lock(&nn->client_lock); in release_last_closed_stateid()1622 spin_unlock(&nn->client_lock); in release_last_closed_stateid()1987 lockdep_assert_held(&nn->client_lock); in __find_in_sessionid_hashtbl()[all …]
93 spinlock_t client_lock; member
63 spinlock_t client_lock; /* protects client_list */ member506 spin_lock(&mousedev->client_lock); in mousedev_attach_client()508 spin_unlock(&mousedev->client_lock); in mousedev_attach_client()514 spin_lock(&mousedev->client_lock); in mousedev_detach_client()516 spin_unlock(&mousedev->client_lock); in mousedev_detach_client()804 spin_lock(&mousedev->client_lock); in mousedev_hangup()807 spin_unlock(&mousedev->client_lock); in mousedev_hangup()864 spin_lock_init(&mousedev->client_lock); in mousedev_create()
40 spinlock_t client_lock; /* protects client_list */ member171 spin_lock(&joydev->client_lock); in joydev_attach_client()173 spin_unlock(&joydev->client_lock); in joydev_attach_client()179 spin_lock(&joydev->client_lock); in joydev_detach_client()181 spin_unlock(&joydev->client_lock); in joydev_detach_client()236 spin_lock(&joydev->client_lock); in joydev_hangup()239 spin_unlock(&joydev->client_lock); in joydev_hangup()932 spin_lock_init(&joydev->client_lock); in joydev_connect()
33 spinlock_t client_lock; /* protects client_list */ member375 spin_lock(&evdev->client_lock); in evdev_attach_client()377 spin_unlock(&evdev->client_lock); in evdev_attach_client()383 spin_lock(&evdev->client_lock); in evdev_detach_client()385 spin_unlock(&evdev->client_lock); in evdev_detach_client()427 spin_lock(&evdev->client_lock); in evdev_hangup()432 spin_unlock(&evdev->client_lock); in evdev_hangup()1359 spin_lock_init(&evdev->client_lock); in evdev_connect()
555 static DEFINE_SPINLOCK(client_lock);603 spin_lock_irqsave(&client_lock, flags); in with_console()605 spin_unlock_irqrestore(&client_lock, flags); in with_console()611 spin_lock_irqsave(&client_lock, flags); in with_console()613 spin_unlock_irqrestore(&client_lock, flags); in with_console()
2807 while (!mutex_trylock(&adapter->client_lock)) in iavf_reset_task()2860 mutex_unlock(&adapter->client_lock); in iavf_reset_task()3000 mutex_unlock(&adapter->client_lock); in iavf_reset_task()3011 mutex_unlock(&adapter->client_lock); in iavf_reset_task()3149 if (!mutex_trylock(&adapter->client_lock)) in iavf_client_task()3172 mutex_unlock(&adapter->client_lock); in iavf_client_task()4718 mutex_init(&adapter->client_lock); in iavf_probe()4918 mutex_destroy(&adapter->client_lock); in iavf_remove()
259 struct mutex client_lock; member