Lines Matching refs:pmsg
214 const struct rpcrdma_connect_private *pmsg = param->private_data; in rpcrdma_update_cm_private() local
222 if (pmsg && in rpcrdma_update_cm_private()
223 pmsg->cp_magic == rpcrdma_cmp_magic && in rpcrdma_update_cm_private()
224 pmsg->cp_version == RPCRDMA_CMP_VERSION) { in rpcrdma_update_cm_private()
226 rsize = rpcrdma_decode_buffer_size(pmsg->cp_send_size); in rpcrdma_update_cm_private()
227 wsize = rpcrdma_decode_buffer_size(pmsg->cp_recv_size); in rpcrdma_update_cm_private()
397 struct rpcrdma_connect_private *pmsg; in rpcrdma_ep_create() local
468 pmsg = &ep->re_cm_private; in rpcrdma_ep_create()
469 pmsg->cp_magic = rpcrdma_cmp_magic; in rpcrdma_ep_create()
470 pmsg->cp_version = RPCRDMA_CMP_VERSION; in rpcrdma_ep_create()
471 pmsg->cp_flags |= RPCRDMA_CMP_F_SND_W_INV_OK; in rpcrdma_ep_create()
472 pmsg->cp_send_size = rpcrdma_encode_buffer_size(ep->re_inline_send); in rpcrdma_ep_create()
473 pmsg->cp_recv_size = rpcrdma_encode_buffer_size(ep->re_inline_recv); in rpcrdma_ep_create()
474 ep->re_remote_cma.private_data = pmsg; in rpcrdma_ep_create()
475 ep->re_remote_cma.private_data_len = sizeof(*pmsg); in rpcrdma_ep_create()