Lines Matching refs:snd_p
428 eibnx_tx_t *snd_p = &info->ti_snd; in eibnx_setup_txbufs() local
443 snd_p->tx_vaddr = (ib_vaddr_t)(uintptr_t)kmem_zalloc(tx_bufsz, in eibnx_setup_txbufs()
449 attr.mr_vaddr = snd_p->tx_vaddr; in eibnx_setup_txbufs()
454 &snd_p->tx_mr, &desc)) != IBT_SUCCESS) { in eibnx_setup_txbufs()
458 kmem_free((void *)(uintptr_t)(snd_p->tx_vaddr), tx_bufsz); in eibnx_setup_txbufs()
461 snd_p->tx_lkey = desc.md_lkey; in eibnx_setup_txbufs()
466 buf = (uint8_t *)(uintptr_t)(snd_p->tx_vaddr); in eibnx_setup_txbufs()
468 swqe = &snd_p->tx_wqe[i]; in eibnx_setup_txbufs()
491 swqe->qe_sgl.ds_key = snd_p->tx_lkey; in eibnx_setup_txbufs()
966 eibnx_tx_t *snd_p = &info->ti_snd; in eibnx_rb_setup_txbufs() local
978 swqe = &snd_p->tx_wqe[i]; in eibnx_rb_setup_txbufs()
996 bzero(snd_p->tx_wqe, sizeof (eibnx_wqe_t) * ENX_NUM_SWQE); in eibnx_rb_setup_txbufs()
1002 snd_p->tx_lkey = 0; in eibnx_rb_setup_txbufs()
1003 if (snd_p->tx_mr) { in eibnx_rb_setup_txbufs()
1005 snd_p->tx_mr)) != IBT_SUCCESS) { in eibnx_rb_setup_txbufs()
1008 snd_p->tx_mr, ret); in eibnx_rb_setup_txbufs()
1010 snd_p->tx_mr = NULL; in eibnx_rb_setup_txbufs()
1016 if (snd_p->tx_vaddr) { in eibnx_rb_setup_txbufs()
1017 kmem_free((void *)(uintptr_t)(snd_p->tx_vaddr), in eibnx_rb_setup_txbufs()
1019 snd_p->tx_vaddr = 0; in eibnx_rb_setup_txbufs()