Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/afs/
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()
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()
[all …]
Dcallback.c49 if (vnode->lock_state == AFS_VNODE_LOCK_WAITING_FOR_CB) in __afs_break_callback()
Dfs_operation.c119 if (vnode->lock_state != AFS_VNODE_LOCK_NONE) in afs_prepare_vnode()
Ddir_silly.c273 vnode->lock_state = AFS_VNODE_LOCK_DELETED; in afs_silly_iput()
Dsuper.c698 vnode->lock_state = AFS_VNODE_LOCK_NONE; in afs_alloc_inode()
Dinternal.h651 enum afs_lock_state lock_state : 8; member
/kernel/linux/linux-5.10/drivers/staging/rts5208/
Drtsx.h137 #define lock_state(chip) spin_lock_irq(&((chip)->rtsx->reg_lock)) macro
/kernel/linux/linux-5.10/drivers/media/tuners/
Dxc4000.c485 u16 lock_state = 0; in xc_wait_for_lock() local
488 while ((lock_state == 0) && (watchdog_count > 0)) { in xc_wait_for_lock()
489 xc_get_lock_status(priv, &lock_state); in xc_wait_for_lock()
490 if (lock_state != 1) { in xc_wait_for_lock()
495 return lock_state; in xc_wait_for_lock()
/kernel/linux/linux-5.10/drivers/block/
Drbd.c413 enum rbd_lock_state lock_state; member
527 return rbd_dev->lock_state == RBD_LOCK_STATE_LOCKED || in __rbd_is_lock_owner()
528 rbd_dev->lock_state == RBD_LOCK_STATE_RELEASING; in __rbd_is_lock_owner()
3487 locked = rbd_dev->lock_state == RBD_LOCK_STATE_LOCKED; in rbd_lock_add_request()
3507 need_wakeup = (rbd_dev->lock_state == RBD_LOCK_STATE_RELEASING && in rbd_lock_del_request()
3699 rbd_dev->lock_state = RBD_LOCK_STATE_LOCKED; in __rbd_lock()
3745 rbd_dev->lock_state = RBD_LOCK_STATE_UNLOCKED; in rbd_unlock()
4062 rbd_dev->lock_state); in rbd_try_acquire_lock()
4071 rbd_dev->lock_state); in rbd_try_acquire_lock()
4090 rbd_assert(rbd_dev->lock_state == RBD_LOCK_STATE_LOCKED); in rbd_try_acquire_lock()
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Dafs.h1281 __entry->state = vnode->lock_state;