Lines Matching refs:lksb
141 lock->lksb->flags |= DLM_LKSB_PUT_LVB; in __dlmconvert_master()
151 lock->lksb->flags |= DLM_LKSB_GET_LVB; in __dlmconvert_master()
191 lock->lksb->status = DLM_NORMAL; in __dlmconvert_master()
195 if (lock->lksb->flags & DLM_LKSB_PUT_LVB) in __dlmconvert_master()
196 memcpy(res->lvb, lock->lksb->lvb, DLM_LVB_LEN); in __dlmconvert_master()
239 lock->lksb->flags &= ~(DLM_LKSB_GET_LVB|DLM_LKSB_PUT_LVB); in dlm_revert_pending_convert()
302 lock->lksb->flags |= DLM_LKSB_PUT_LVB; in dlmconvert_remote()
308 lock->lksb->flags |= DLM_LKSB_GET_LVB; in dlmconvert_remote()
380 vec[1].iov_base = lock->lksb->lvb; in dlm_send_remote_convert_request()
437 struct dlm_lockstatus *lksb; in dlm_convert_lock_handler() local
502 lksb = lock->lksb; in dlm_convert_lock_handler()
506 BUG_ON(lksb->flags & (DLM_LKSB_PUT_LVB|DLM_LKSB_GET_LVB)); in dlm_convert_lock_handler()
507 lksb->flags |= DLM_LKSB_PUT_LVB; in dlm_convert_lock_handler()
508 memcpy(&lksb->lvb[0], &cnv->lvb[0], DLM_LVB_LEN); in dlm_convert_lock_handler()
510 BUG_ON(lksb->flags & (DLM_LKSB_PUT_LVB|DLM_LKSB_GET_LVB)); in dlm_convert_lock_handler()
511 lksb->flags |= DLM_LKSB_GET_LVB; in dlm_convert_lock_handler()
533 lksb->flags &= ~(DLM_LKSB_GET_LVB|DLM_LKSB_PUT_LVB); in dlm_convert_lock_handler()