Lines Matching refs:lkb_flags
167 lkb->lkb_flags, lkb->lkb_status, lkb->lkb_rqmode, in dlm_print_lkb()
253 return (lkb->lkb_nodeid && !(lkb->lkb_flags & DLM_IFL_MSTCPY)); in is_process_copy()
258 return (lkb->lkb_flags & DLM_IFL_MSTCPY) ? 1 : 0; in is_master_copy()
276 return lkb->lkb_flags & DLM_IFL_OVERLAP_UNLOCK; in is_overlap_unlock()
281 return lkb->lkb_flags & DLM_IFL_OVERLAP_CANCEL; in is_overlap_cancel()
286 return (lkb->lkb_flags & (DLM_IFL_OVERLAP_UNLOCK | in is_overlap()
302 if (rv == -DLM_ECANCEL && (lkb->lkb_flags & DLM_IFL_TIMEOUT_CANCEL)) { in queue_cast()
303 lkb->lkb_flags &= ~DLM_IFL_TIMEOUT_CANCEL; in queue_cast()
308 if (rv == -DLM_ECANCEL && (lkb->lkb_flags & DLM_IFL_DEADLOCK_CANCEL)) { in queue_cast()
309 lkb->lkb_flags &= ~DLM_IFL_DEADLOCK_CANCEL; in queue_cast()
1435 lkb->lkb_flags |= DLM_IFL_OVERLAP_UNLOCK; in add_to_waiters()
1438 lkb->lkb_flags |= DLM_IFL_OVERLAP_CANCEL; in add_to_waiters()
1449 lkb->lkb_wait_count, lkb->lkb_flags); in add_to_waiters()
1465 lkb->lkb_id, error, lkb->lkb_flags, mstype, in add_to_waiters()
1484 lkb->lkb_flags &= ~DLM_IFL_OVERLAP_UNLOCK; in _remove_from_waiters()
1491 lkb->lkb_flags &= ~DLM_IFL_OVERLAP_CANCEL; in _remove_from_waiters()
1520 lkb->lkb_flags &= ~DLM_IFL_OVERLAP_CANCEL; in _remove_from_waiters()
1536 lkb->lkb_remid, mstype, lkb->lkb_flags); in _remove_from_waiters()
1555 lkb->lkb_flags &= ~DLM_IFL_RESEND; in _remove_from_waiters()
1796 lkb->lkb_flags |= DLM_IFL_WATCH_TIMEWARN; in add_timeout()
1852 if ((iter->lkb_flags & DLM_IFL_WATCH_TIMEWARN) && in dlm_scan_timeout()
1873 lkb->lkb_flags &= ~DLM_IFL_WATCH_TIMEWARN; in dlm_scan_timeout()
1882 lkb->lkb_flags &= ~DLM_IFL_WATCH_TIMEWARN; in dlm_scan_timeout()
1883 lkb->lkb_flags |= DLM_IFL_TIMEOUT_CANCEL; in dlm_scan_timeout()
2883 if (lkb->lkb_flags & DLM_IFL_MSTCPY) in validate_lock_args()
2912 rv, lkb->lkb_id, lkb->lkb_flags, args->flags, in validate_lock_args()
2918 rv, lkb->lkb_id, lkb->lkb_flags, args->flags, in validate_lock_args()
2961 if (lkb->lkb_flags & DLM_IFL_MSTCPY) { in validate_unlock_args()
2972 if (lkb->lkb_flags & DLM_IFL_ENDOFLIFE) { in validate_unlock_args()
2990 if (lkb->lkb_flags & DLM_IFL_RESEND) { in validate_unlock_args()
2991 lkb->lkb_flags |= DLM_IFL_OVERLAP_CANCEL; in validate_unlock_args()
3006 lkb->lkb_flags |= DLM_IFL_OVERLAP_CANCEL; in validate_unlock_args()
3031 if (lkb->lkb_flags & DLM_IFL_RESEND) { in validate_unlock_args()
3032 lkb->lkb_flags |= DLM_IFL_OVERLAP_UNLOCK; in validate_unlock_args()
3040 lkb->lkb_flags |= DLM_IFL_OVERLAP_UNLOCK; in validate_unlock_args()
3063 lkb->lkb_id, lkb->lkb_flags, lkb->lkb_exflags, in validate_unlock_args()
3069 lkb->lkb_id, lkb->lkb_flags, lkb->lkb_exflags, in validate_unlock_args()
3629 ms->m_flags = cpu_to_le32(lkb->lkb_flags); in send_args()
3890 lkb->lkb_flags = (lkb->lkb_flags & 0xFFFF0000) | in receive_flags()
3900 lkb->lkb_flags = (lkb->lkb_flags & 0xFFFF0000) | in receive_flags_reply()
4003 ~lkb->lkb_flags & DLM_IFL_USER) { in validate_message()
4043 lkb->lkb_remid, lkb->lkb_flags, lkb->lkb_nodeid); in validate_message()
4121 lkb->lkb_flags |= DLM_IFL_MSTCPY; in receive_request()
4618 lkb->lkb_flags &= ~DLM_IFL_OVERLAP_UNLOCK; in receive_request_reply()
4619 lkb->lkb_flags &= ~DLM_IFL_OVERLAP_CANCEL; in receive_request_reply()
4623 lkb->lkb_flags &= ~DLM_IFL_OVERLAP_UNLOCK; in receive_request_reply()
4624 lkb->lkb_flags &= ~DLM_IFL_OVERLAP_CANCEL; in receive_request_reply()
4627 lkb->lkb_flags &= ~DLM_IFL_OVERLAP_CANCEL; in receive_request_reply()
4628 lkb->lkb_flags &= ~DLM_IFL_OVERLAP_UNLOCK; in receive_request_reply()
4882 lkb->lkb_id, lkb->lkb_flags); in receive_lookup_reply()
5142 lkb->lkb_flags |= DLM_IFL_RESEND; in recover_convert_waiter()
5206 lkb->lkb_flags |= DLM_IFL_RESEND; in dlm_recover_waiters_pre()
5235 lkb->lkb_id, lkb->lkb_flags, wait_type, in dlm_recover_waiters_pre()
5242 lkb->lkb_flags |= DLM_IFL_RESEND; in dlm_recover_waiters_pre()
5287 if (iter->lkb_flags & DLM_IFL_RESEND) { in find_resend_waiter()
5350 lkb->lkb_flags &= ~DLM_IFL_RESEND; in dlm_recover_waiters_post()
5351 lkb->lkb_flags &= ~DLM_IFL_OVERLAP_UNLOCK; in dlm_recover_waiters_post()
5352 lkb->lkb_flags &= ~DLM_IFL_OVERLAP_CANCEL; in dlm_recover_waiters_post()
5637 lkb->lkb_flags = le32_to_cpu(rl->rl_flags) & 0x0000FFFF; in receive_rcom_lock_args()
5638 lkb->lkb_flags |= DLM_IFL_MSTCPY; in receive_rcom_lock_args()
5876 lkb->lkb_flags |= DLM_IFL_USER; in dlm_user_request()
6002 iter->lkb_flags &= ~DLM_IFL_ORPHAN; in dlm_user_adopt_orphan()
6169 lkb->lkb_flags |= DLM_IFL_DEADLOCK_CANCEL; in dlm_user_deadlock()
6246 lkb->lkb_flags |= DLM_IFL_ORPHAN; in del_proc_lock()
6248 lkb->lkb_flags |= DLM_IFL_DEAD; in del_proc_lock()
6292 lkb->lkb_flags |= DLM_IFL_DEAD; in dlm_clear_proc_locks()
6324 lkb->lkb_flags |= DLM_IFL_DEAD; in purge_proc_locks()
6332 lkb->lkb_flags |= DLM_IFL_DEAD; in purge_proc_locks()
6400 int lkb_nodeid, unsigned int lkb_flags, int lkb_status) in dlm_debug_add_lkb() argument
6408 if (lkb_flags & DLM_IFL_USER) in dlm_debug_add_lkb()
6421 lkb->lkb_flags = lkb_flags; in dlm_debug_add_lkb()
6425 if (~lkb_flags & DLM_IFL_USER) in dlm_debug_add_lkb()