Lines Matching refs:device_obj
432 vmbus_device_unregister(channel->device_obj); in vmbus_free_channels()
469 struct hv_device *dev = primary_channel->device_obj; in vmbus_add_channel_work()
484 newchannel->device_obj = vmbus_device_create( in vmbus_add_channel_work()
488 if (!newchannel->device_obj) in vmbus_add_channel_work()
491 newchannel->device_obj->device_id = dev_type; in vmbus_add_channel_work()
497 ret = vmbus_device_register(newchannel->device_obj); in vmbus_add_channel_work()
502 kfree(newchannel->device_obj); in vmbus_add_channel_work()
1080 if (channel->device_obj) { in vmbus_onoffer_rescind()
1093 dev = get_device(&channel->device_obj->device); in vmbus_onoffer_rescind()
1095 vmbus_device_unregister(channel->device_obj); in vmbus_onoffer_rescind()
1134 vmbus_device_unregister(channel->device_obj); in vmbus_hvsock_device_unregister()