Lines Matching refs:lock_state
27 _debug("STATE %u -> %u", vnode->lock_state, state); in afs_set_lock_state()
28 vnode->lock_state = state; in afs_set_lock_state()
41 if (vnode->lock_state == AFS_VNODE_LOCK_WAITING_FOR_CB) in afs_lock_may_be_available()
294 _debug("wstate %u for %p", vnode->lock_state, vnode); in afs_lock_work()
295 switch (vnode->lock_state) { in afs_lock_work()
304 if (ret < 0 && vnode->lock_state != AFS_VNODE_LOCK_DELETED) { in afs_lock_work()
351 if (vnode->lock_state != AFS_VNODE_LOCK_EXTENDING) in afs_lock_work()
395 _enter("%u", vnode->lock_state); in afs_defer_unlock()
398 (vnode->lock_state == AFS_VNODE_LOCK_GRANTED || in afs_defer_unlock()
399 vnode->lock_state == AFS_VNODE_LOCK_EXTENDING)) { in afs_defer_unlock()
502 if (vnode->lock_state == AFS_VNODE_LOCK_DELETED) in afs_do_setlk()
509 _debug("try %u", vnode->lock_state); in afs_do_setlk()
510 if (vnode->lock_state == AFS_VNODE_LOCK_GRANTED) { in afs_do_setlk()
526 if (vnode->lock_state == AFS_VNODE_LOCK_NONE && in afs_do_setlk()
538 if (vnode->lock_state != AFS_VNODE_LOCK_NONE) in afs_do_setlk()
661 ASSERTCMP(vnode->lock_state, ==, AFS_VNODE_LOCK_WAITING_FOR_CB); in afs_do_setlk()
715 _leave(" = %d [%u]", ret, vnode->lock_state); in afs_do_unlk()
730 if (vnode->lock_state == AFS_VNODE_LOCK_DELETED) in afs_do_getlk()
879 _debug("state %u for %p", vnode->lock_state, vnode); in afs_fl_release_private()