Lines Matching refs:lksb
129 lock->lksb->status = DLM_NORMAL; in dlmlock_master()
188 lock->lksb->flags &= ~DLM_LKSB_GET_LVB; in dlm_revert_pending_lock()
352 kfree(lock->lksb); in dlm_lock_release()
408 struct dlm_lockstatus *lksb) in dlm_new_lock() argument
417 if (!lksb) { in dlm_new_lock()
419 lksb = kzalloc(sizeof(*lksb), GFP_NOFS); in dlm_new_lock()
420 if (!lksb) { in dlm_new_lock()
430 lock->lksb = lksb; in dlm_new_lock()
431 lksb->lockid = lock; in dlm_new_lock()
449 struct dlm_lockstatus *lksb = NULL; in dlm_create_lock_handler() local
485 lksb = newlock->lksb; in dlm_create_lock_handler()
488 lksb->flags |= DLM_LKSB_GET_LVB; in dlm_create_lock_handler()
543 struct dlm_lockstatus *lksb, int flags, in dlmlock() argument
555 if (!lksb) { in dlmlock()
588 lock = lksb->lockid; in dlmlock()
608 if (lock->lksb != lksb || lock->ast != ast || in dlmlock()
612 "astdata=%p\n", lksb, ast, bast, data); in dlmlock()
614 "astdata=%p\n", lock->lksb, lock->ast, in dlmlock()
653 lock = dlm_new_lock(mode, dlm->node_num, tmpcookie, lksb); in dlmlock()
688 lock->lksb->flags |= DLM_LKSB_GET_LVB; in dlmlock()
723 lock->lksb->flags &= ~DLM_LKSB_GET_LVB; in dlmlock()
735 lksb->status = status; in dlmlock()