Lines Matching refs:memp
140 void *memp = NULL;
146 memp = iser_vmem_alloc(hca->hca_msg_pool, ISER_MAX_CTRLPDU_LEN);
147 if (memp == NULL) {
154 status = iser_vmem_mr(hca->hca_msg_pool, memp,
158 "couldn't find mr for %p", memp);
159 iser_vmem_free(hca->hca_msg_pool, memp, ISER_MAX_CTRLPDU_LEN);
163 msg->msg_ds.ds_va = (ib_vaddr_t)(uintptr_t)memp;
180 uint8_t *memp;
182 memp = (uint8_t *)(uintptr_t)(ib_vaddr_t)msg->msg_ds.ds_va;
183 iser_vmem_free(hca->hca_msg_pool, memp, ISER_MAX_CTRLPDU_LEN);
245 uint8_t *memp;
258 memp = iser_vmem_alloc(hca->hca_buf_pool, ISER_DEFAULT_BUFLEN);
259 if (memp == NULL) {
265 status = iser_vmem_mr(hca->hca_buf_pool, memp, ISER_DEFAULT_BUFLEN,
273 iser_buf->buf = (uint64_t *)(uintptr_t)memp;