Searched refs:newchannel (Results 1 – 2 of 2) sorted by relevance
495 struct vmbus_channel *newchannel = in vmbus_add_channel_work() local497 struct vmbus_channel *primary_channel = newchannel->primary_channel; in vmbus_add_channel_work()505 newchannel->state = CHANNEL_OPEN_STATE; in vmbus_add_channel_work()511 if (vmbus_add_channel_kobj(dev, newchannel)) in vmbus_add_channel_work()515 primary_channel->sc_creation_callback(newchannel); in vmbus_add_channel_work()517 newchannel->probe_done = true; in vmbus_add_channel_work()524 newchannel->device_obj = vmbus_device_create( in vmbus_add_channel_work()525 &newchannel->offermsg.offer.if_type, in vmbus_add_channel_work()526 &newchannel->offermsg.offer.if_instance, in vmbus_add_channel_work()527 newchannel); in vmbus_add_channel_work()[all …]
165 int vmbus_alloc_ring(struct vmbus_channel *newchannel, in vmbus_alloc_ring() argument176 page = alloc_pages_node(cpu_to_node(newchannel->target_cpu), in vmbus_alloc_ring()185 newchannel->ringbuffer_page = page; in vmbus_alloc_ring()186 newchannel->ringbuffer_pagecount = (send_size + recv_size) >> PAGE_SHIFT; in vmbus_alloc_ring()187 newchannel->ringbuffer_send_offset = send_size >> PAGE_SHIFT; in vmbus_alloc_ring()653 static int __vmbus_open(struct vmbus_channel *newchannel, in __vmbus_open() argument659 struct page *page = newchannel->ringbuffer_page; in __vmbus_open()667 send_pages = newchannel->ringbuffer_send_offset; in __vmbus_open()668 recv_pages = newchannel->ringbuffer_pagecount - send_pages; in __vmbus_open()670 if (newchannel->state != CHANNEL_OPEN_STATE) in __vmbus_open()[all …]