Lines Matching refs:pmsg
194 const struct rpcrdma_connect_private *pmsg = param->private_data; in rpcrdma_update_cm_private() local
201 if (pmsg && in rpcrdma_update_cm_private()
202 pmsg->cp_magic == rpcrdma_cmp_magic && in rpcrdma_update_cm_private()
203 pmsg->cp_version == RPCRDMA_CMP_VERSION) { in rpcrdma_update_cm_private()
204 rsize = rpcrdma_decode_buffer_size(pmsg->cp_send_size); in rpcrdma_update_cm_private()
205 wsize = rpcrdma_decode_buffer_size(pmsg->cp_recv_size); in rpcrdma_update_cm_private()
380 struct rpcrdma_connect_private *pmsg; in rpcrdma_ep_create() local
444 pmsg = &ep->re_cm_private; in rpcrdma_ep_create()
445 pmsg->cp_magic = rpcrdma_cmp_magic; in rpcrdma_ep_create()
446 pmsg->cp_version = RPCRDMA_CMP_VERSION; in rpcrdma_ep_create()
447 pmsg->cp_flags |= RPCRDMA_CMP_F_SND_W_INV_OK; in rpcrdma_ep_create()
448 pmsg->cp_send_size = rpcrdma_encode_buffer_size(ep->re_inline_send); in rpcrdma_ep_create()
449 pmsg->cp_recv_size = rpcrdma_encode_buffer_size(ep->re_inline_recv); in rpcrdma_ep_create()
450 ep->re_remote_cma.private_data = pmsg; in rpcrdma_ep_create()
451 ep->re_remote_cma.private_data_len = sizeof(*pmsg); in rpcrdma_ep_create()