Home
last modified time | relevance | path

Searched refs:newchannel (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/hv/
H A Dchannel_mgmt.c463 struct vmbus_channel *newchannel = in vmbus_add_channel_work() local
465 struct vmbus_channel *primary_channel = newchannel->primary_channel; in vmbus_add_channel_work()
473 newchannel->state = CHANNEL_OPEN_STATE; in vmbus_add_channel_work()
476 /* newchannel is a sub-channel. */ in vmbus_add_channel_work()
479 if (vmbus_add_channel_kobj(dev, newchannel)) in vmbus_add_channel_work()
483 primary_channel->sc_creation_callback(newchannel); in vmbus_add_channel_work()
485 newchannel->probe_done = true; in vmbus_add_channel_work()
492 newchannel->device_obj = vmbus_device_create( in vmbus_add_channel_work()
493 &newchannel->offermsg.offer.if_type, in vmbus_add_channel_work()
494 &newchannel in vmbus_add_channel_work()
549 vmbus_process_offer(struct vmbus_channel *newchannel) vmbus_process_offer() argument
938 struct vmbus_channel *oldchannel, *newchannel; vmbus_onoffer() local
[all...]
H A Dchannel.c164 int vmbus_alloc_ring(struct vmbus_channel *newchannel, in vmbus_alloc_ring() argument
175 page = alloc_pages_node(cpu_to_node(newchannel->target_cpu), in vmbus_alloc_ring()
184 newchannel->ringbuffer_page = page; in vmbus_alloc_ring()
185 newchannel->ringbuffer_pagecount = (send_size + recv_size) >> PAGE_SHIFT; in vmbus_alloc_ring()
186 newchannel->ringbuffer_send_offset = send_size >> PAGE_SHIFT; in vmbus_alloc_ring()
506 static int __vmbus_open(struct vmbus_channel *newchannel, in __vmbus_open() argument
512 struct page *page = newchannel->ringbuffer_page; in __vmbus_open()
520 send_pages = newchannel->ringbuffer_send_offset; in __vmbus_open()
521 recv_pages = newchannel->ringbuffer_pagecount - send_pages; in __vmbus_open()
523 if (newchannel in __vmbus_open()
636 vmbus_connect_ring(struct vmbus_channel *newchannel, void (*onchannelcallback)(void *context), void *context) vmbus_connect_ring() argument
646 vmbus_open(struct vmbus_channel *newchannel, u32 send_ringbuffer_size, u32 recv_ringbuffer_size, void *userdata, u32 userdatalen, void (*onchannelcallback)(void *context), void *context) vmbus_open() argument
[all...]
/kernel/linux/linux-6.6/drivers/hv/
H A Dchannel_mgmt.c495 struct vmbus_channel *newchannel = in vmbus_add_channel_work() local
497 struct vmbus_channel *primary_channel = newchannel->primary_channel; in vmbus_add_channel_work()
505 newchannel->state = CHANNEL_OPEN_STATE; in vmbus_add_channel_work()
508 /* newchannel is a sub-channel. */ 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 in vmbus_add_channel_work()
581 vmbus_process_offer(struct vmbus_channel *newchannel) vmbus_process_offer() argument
1023 struct vmbus_channel *oldchannel, *newchannel; vmbus_onoffer() local
[all...]
H A Dchannel.c165 int vmbus_alloc_ring(struct vmbus_channel *newchannel, in vmbus_alloc_ring() argument
176 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() argument
659 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 in __vmbus_open()
794 vmbus_connect_ring(struct vmbus_channel *newchannel, void (*onchannelcallback)(void *context), void *context) vmbus_connect_ring() argument
804 vmbus_open(struct vmbus_channel *newchannel, u32 send_ringbuffer_size, u32 recv_ringbuffer_size, void *userdata, u32 userdatalen, void (*onchannelcallback)(void *context), void *context) vmbus_open() argument
[all...]

Completed in 9 milliseconds