Lines Matching refs:rem_device
251 cma_device_t *rem_device;
256 rem_device = (cma_device_t *)ib_get_client_data(dev, sol_cma_ib_client);
257 if (!rem_device) {
263 mutex_enter(&rem_device->cma_mutex);
264 rem_device->cma_dev_state = SOL_CMA_DEV_REM_IN_PROGRESS;
265 if (rem_device->cma_ref_count) {
266 mutex_exit(&rem_device->cma_mutex);
271 entry = remove_genlist_head(&rem_device->cma_epchan_list);
291 entry = remove_genlist_head(&rem_device->cma_epchan_list);
293 mutex_exit(&rem_device->cma_mutex);
296 llist_del(&rem_device->cma_list);
299 kmem_free(rem_device, sizeof (cma_device_t));