Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_cma.c306 cma_device_t *cma_devp; in sol_cma_acquire_device() local
310 cma_devp = (cma_device_t *)entry->ptr; in sol_cma_acquire_device()
312 if (cma_devp->cma_device->node_guid != hca_guid) in sol_cma_acquire_device()
315 mutex_enter(&cma_devp->cma_mutex); in sol_cma_acquire_device()
316 if (cma_devp->cma_dev_state == SOL_CMA_DEV_REM_IN_PROGRESS) { in sol_cma_acquire_device()
319 mutex_exit(&cma_devp->cma_mutex); in sol_cma_acquire_device()
323 cma_devp->cma_ref_count++; in sol_cma_acquire_device()
324 mutex_exit(&cma_devp->cma_mutex); in sol_cma_acquire_device()
326 return (cma_devp->cma_device); in sol_cma_acquire_device()
338 cma_device_t *cma_devp; in sol_cma_release_device() local
[all …]