Home
last modified time | relevance | path

Searched refs:lock_state (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/fs/afs/
H A Dflock.c27 _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()
295 switch (vnode->lock_state) { in afs_lock_work()
395 _enter("%u", vnode->lock_state); 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()
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()
715 _leave(" = %d [%u]", ret, vnode->lock_state); in afs_do_unlk()
[all …]
H A Dcallback.c84 if (vnode->lock_state == AFS_VNODE_LOCK_WAITING_FOR_CB) in __afs_break_callback()
H A Dfs_operation.c119 if (vnode->lock_state != AFS_VNODE_LOCK_NONE) in afs_prepare_vnode()
H A Ddir_silly.c273 vnode->lock_state = AFS_VNODE_LOCK_DELETED; in afs_silly_iput()
H A Dsuper.c700 vnode->lock_state = AFS_VNODE_LOCK_NONE; in afs_alloc_inode()
H A Dinternal.h655 enum afs_lock_state lock_state : 8; member
/openbmc/linux/drivers/staging/rts5208/
H A Drtsx.h137 #define lock_state(chip) spin_lock_irq(&((chip)->rtsx->reg_lock)) macro
/openbmc/linux/drivers/media/tuners/
H A Dxc4000.c483 u16 lock_state = 0; in xc_wait_for_lock() local
486 while ((lock_state == 0) && (watchdog_count > 0)) { in xc_wait_for_lock()
487 xc_get_lock_status(priv, &lock_state); in xc_wait_for_lock()
488 if (lock_state != 1) { in xc_wait_for_lock()
493 return lock_state; in xc_wait_for_lock()
/openbmc/linux/drivers/block/
H A Drbd.c413 enum rbd_lock_state lock_state; member
527 return rbd_dev->lock_state == RBD_LOCK_STATE_LOCKED || in __rbd_is_lock_owner()
3656 rbd_dev->lock_state = RBD_LOCK_STATE_LOCKED; in __rbd_lock()
3702 rbd_dev->lock_state = RBD_LOCK_STATE_UNLOCKED; in rbd_unlock()
4086 rbd_dev->lock_state); in rbd_try_acquire_lock()
4095 rbd_dev->lock_state); in rbd_try_acquire_lock()
4174 if (rbd_dev->lock_state != RBD_LOCK_STATE_LOCKED) in rbd_quiesce_lock()
4180 rbd_dev->lock_state = RBD_LOCK_STATE_QUIESCING; in rbd_quiesce_lock()
4189 if (rbd_dev->lock_state != RBD_LOCK_STATE_QUIESCING) in rbd_quiesce_lock()
4653 if (rbd_dev->lock_state == RBD_LOCK_STATE_LOCKED) in rbd_reregister_watch()
[all …]
/openbmc/u-boot/arch/x86/include/asm/
H A Dme_common.h271 u16 lock_state:1; member
/openbmc/linux/include/trace/events/
H A Dafs.h1278 __entry->state = vnode->lock_state;