Home
last modified time | relevance | path

Searched refs:wqe_mgtp (Results 1 – 1 of 1) sorted by relevance

/titanic_44/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_wqe.c528 ibmf_wqe_mgt_t *wqe_mgtp; in ibmf_i_init_wqes() local
538 wqe_mgtp = kmem_zalloc(sizeof (ibmf_wqe_mgt_t), KM_SLEEP); in ibmf_i_init_wqes()
539 mutex_init(&wqe_mgtp->wqes_mutex, NULL, MUTEX_DRIVER, NULL); in ibmf_i_init_wqes()
540 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*wqe_mgtp)) in ibmf_i_init_wqes()
546 wqe_mgtp->wqes_kmem_sz = cip->ci_nports * 2 * in ibmf_i_init_wqes()
549 wqe_mgtp->wqes_kmem = in ibmf_i_init_wqes()
550 kmem_zalloc(wqe_mgtp->wqes_kmem_sz, KM_SLEEP); in ibmf_i_init_wqes()
552 mem_attr.mr_vaddr = (ib_vaddr_t)(uintptr_t)wqe_mgtp->wqes_kmem; in ibmf_i_init_wqes()
553 mem_attr.mr_len = wqe_mgtp->wqes_kmem_sz; in ibmf_i_init_wqes()
561 kmem_free(wqe_mgtp->wqes_kmem, in ibmf_i_init_wqes()
[all …]