Lines Matching refs:device_obj
486 vmbus_device_unregister(channel->device_obj); in vmbus_free_channels()
507 struct hv_device *dev = primary_channel->device_obj; in vmbus_add_channel_work()
522 newchannel->device_obj = vmbus_device_create( in vmbus_add_channel_work()
526 if (!newchannel->device_obj) in vmbus_add_channel_work()
529 newchannel->device_obj->device_id = newchannel->device_id; in vmbus_add_channel_work()
535 ret = vmbus_device_register(newchannel->device_obj); in vmbus_add_channel_work()
540 kfree(newchannel->device_obj); in vmbus_add_channel_work()
1207 if (channel->device_obj) { in vmbus_onoffer_rescind()
1220 dev = get_device(&channel->device_obj->device); in vmbus_onoffer_rescind()
1222 vmbus_device_unregister(channel->device_obj); in vmbus_onoffer_rescind()
1260 vmbus_device_unregister(channel->device_obj); in vmbus_hvsock_device_unregister()