Searched refs:RBD_LOCK_STATE_LOCKED (Results 1 – 1 of 1) sorted by relevance
313 RBD_LOCK_STATE_LOCKED, enumerator453 return rbd_dev->lock_state == RBD_LOCK_STATE_LOCKED || in __rbd_is_lock_owner()2686 rbd_dev->lock_state = RBD_LOCK_STATE_LOCKED; in rbd_lock()3031 if (lock_state == RBD_LOCK_STATE_LOCKED) in rbd_acquire_lock()3076 if (rbd_dev->lock_state != RBD_LOCK_STATE_LOCKED) in rbd_release_lock()3208 if (rbd_dev->lock_state == RBD_LOCK_STATE_LOCKED && in rbd_handle_request_lock()3218 if (rbd_dev->lock_state == RBD_LOCK_STATE_LOCKED) { in rbd_handle_request_lock()3453 WARN_ON(rbd_dev->lock_state != RBD_LOCK_STATE_LOCKED); in rbd_reacquire_lock()3511 if (rbd_dev->lock_state == RBD_LOCK_STATE_LOCKED) in rbd_reregister_watch()3589 if (rbd_dev->lock_state == RBD_LOCK_STATE_LOCKED) in rbd_wait_state_locked()[all …]