Lines Matching refs:ms_stub
5072 struct dlm_message *ms_stub) in recover_convert_waiter() argument
5076 memset(ms_stub, 0, sizeof(struct dlm_message)); in recover_convert_waiter()
5077 ms_stub->m_flags = DLM_IFL_STUB_MS; in recover_convert_waiter()
5078 ms_stub->m_type = DLM_MSG_CONVERT_REPLY; in recover_convert_waiter()
5079 ms_stub->m_result = -EINPROGRESS; in recover_convert_waiter()
5080 ms_stub->m_header.h_nodeid = lkb->lkb_nodeid; in recover_convert_waiter()
5081 _receive_convert_reply(lkb, ms_stub); in recover_convert_waiter()
5120 struct dlm_message *ms_stub; in dlm_recover_waiters_pre() local
5124 ms_stub = kmalloc(sizeof(*ms_stub), GFP_KERNEL); in dlm_recover_waiters_pre()
5125 if (!ms_stub) in dlm_recover_waiters_pre()
5193 recover_convert_waiter(ls, lkb, ms_stub); in dlm_recover_waiters_pre()
5198 memset(ms_stub, 0, sizeof(struct dlm_message)); in dlm_recover_waiters_pre()
5199 ms_stub->m_flags = DLM_IFL_STUB_MS; in dlm_recover_waiters_pre()
5200 ms_stub->m_type = DLM_MSG_UNLOCK_REPLY; in dlm_recover_waiters_pre()
5201 ms_stub->m_result = stub_unlock_result; in dlm_recover_waiters_pre()
5202 ms_stub->m_header.h_nodeid = lkb->lkb_nodeid; in dlm_recover_waiters_pre()
5203 _receive_unlock_reply(lkb, ms_stub); in dlm_recover_waiters_pre()
5209 memset(ms_stub, 0, sizeof(struct dlm_message)); in dlm_recover_waiters_pre()
5210 ms_stub->m_flags = DLM_IFL_STUB_MS; in dlm_recover_waiters_pre()
5211 ms_stub->m_type = DLM_MSG_CANCEL_REPLY; in dlm_recover_waiters_pre()
5212 ms_stub->m_result = stub_cancel_result; in dlm_recover_waiters_pre()
5213 ms_stub->m_header.h_nodeid = lkb->lkb_nodeid; in dlm_recover_waiters_pre()
5214 _receive_cancel_reply(lkb, ms_stub); in dlm_recover_waiters_pre()
5225 kfree(ms_stub); in dlm_recover_waiters_pre()