Lines Matching refs:ms_stub
5125 struct dlm_message *ms_stub) in recover_convert_waiter() argument
5129 memset(ms_stub, 0, sizeof(struct dlm_message)); in recover_convert_waiter()
5130 ms_stub->m_flags = cpu_to_le32(DLM_IFL_STUB_MS); in recover_convert_waiter()
5131 ms_stub->m_type = cpu_to_le32(DLM_MSG_CONVERT_REPLY); in recover_convert_waiter()
5132 ms_stub->m_result = cpu_to_le32(to_dlm_errno(-EINPROGRESS)); in recover_convert_waiter()
5133 ms_stub->m_header.h_nodeid = cpu_to_le32(lkb->lkb_nodeid); in recover_convert_waiter()
5134 _receive_convert_reply(lkb, ms_stub); in recover_convert_waiter()
5173 struct dlm_message *ms_stub; in dlm_recover_waiters_pre() local
5177 ms_stub = kmalloc(sizeof(*ms_stub), GFP_KERNEL); in dlm_recover_waiters_pre()
5178 if (!ms_stub) in dlm_recover_waiters_pre()
5246 recover_convert_waiter(ls, lkb, ms_stub); in dlm_recover_waiters_pre()
5251 memset(ms_stub, 0, sizeof(struct dlm_message)); in dlm_recover_waiters_pre()
5252 ms_stub->m_flags = cpu_to_le32(DLM_IFL_STUB_MS); in dlm_recover_waiters_pre()
5253 ms_stub->m_type = cpu_to_le32(DLM_MSG_UNLOCK_REPLY); in dlm_recover_waiters_pre()
5254 ms_stub->m_result = cpu_to_le32(to_dlm_errno(stub_unlock_result)); in dlm_recover_waiters_pre()
5255 ms_stub->m_header.h_nodeid = cpu_to_le32(lkb->lkb_nodeid); in dlm_recover_waiters_pre()
5256 _receive_unlock_reply(lkb, ms_stub); in dlm_recover_waiters_pre()
5262 memset(ms_stub, 0, sizeof(struct dlm_message)); in dlm_recover_waiters_pre()
5263 ms_stub->m_flags = cpu_to_le32(DLM_IFL_STUB_MS); in dlm_recover_waiters_pre()
5264 ms_stub->m_type = cpu_to_le32(DLM_MSG_CANCEL_REPLY); in dlm_recover_waiters_pre()
5265 ms_stub->m_result = cpu_to_le32(to_dlm_errno(stub_cancel_result)); in dlm_recover_waiters_pre()
5266 ms_stub->m_header.h_nodeid = cpu_to_le32(lkb->lkb_nodeid); in dlm_recover_waiters_pre()
5267 _receive_cancel_reply(lkb, ms_stub); in dlm_recover_waiters_pre()
5278 kfree(ms_stub); in dlm_recover_waiters_pre()