Lines Matching refs:pmsg
204 const struct rpcrdma_connect_private *pmsg = param->private_data; in rpcrdma_update_cm_private() local
212 if (pmsg && in rpcrdma_update_cm_private()
213 pmsg->cp_magic == rpcrdma_cmp_magic && in rpcrdma_update_cm_private()
214 pmsg->cp_version == RPCRDMA_CMP_VERSION) { in rpcrdma_update_cm_private()
216 rsize = rpcrdma_decode_buffer_size(pmsg->cp_send_size); in rpcrdma_update_cm_private()
217 wsize = rpcrdma_decode_buffer_size(pmsg->cp_recv_size); in rpcrdma_update_cm_private()
387 struct rpcrdma_connect_private *pmsg; in rpcrdma_ep_create() local
457 pmsg = &ep->re_cm_private; in rpcrdma_ep_create()
458 pmsg->cp_magic = rpcrdma_cmp_magic; in rpcrdma_ep_create()
459 pmsg->cp_version = RPCRDMA_CMP_VERSION; in rpcrdma_ep_create()
460 pmsg->cp_flags |= RPCRDMA_CMP_F_SND_W_INV_OK; in rpcrdma_ep_create()
461 pmsg->cp_send_size = rpcrdma_encode_buffer_size(ep->re_inline_send); in rpcrdma_ep_create()
462 pmsg->cp_recv_size = rpcrdma_encode_buffer_size(ep->re_inline_recv); in rpcrdma_ep_create()
463 ep->re_remote_cma.private_data = pmsg; in rpcrdma_ep_create()
464 ep->re_remote_cma.private_data_len = sizeof(*pmsg); in rpcrdma_ep_create()