Searched refs:newchannel (Results 1 – 2 of 2) sorted by relevance
/linux-4.4.14/drivers/hv/ |
D | channel_mgmt.c | 246 static void vmbus_process_offer(struct vmbus_channel *newchannel) in vmbus_process_offer() argument 257 newchannel->offermsg.offer.if_type) && in vmbus_process_offer() 259 newchannel->offermsg.offer.if_instance)) { in vmbus_process_offer() 266 list_add_tail(&newchannel->listentry, in vmbus_process_offer() 275 if (newchannel->offermsg.offer.sub_channel_index != 0) { in vmbus_process_offer() 279 newchannel->primary_channel = channel; in vmbus_process_offer() 281 list_add_tail(&newchannel->sc_list, &channel->sc_list); in vmbus_process_offer() 288 init_vp_index(newchannel, &newchannel->offermsg.offer.if_type); in vmbus_process_offer() 290 if (newchannel->target_cpu != get_cpu()) { in vmbus_process_offer() 292 smp_call_function_single(newchannel->target_cpu, in vmbus_process_offer() [all …]
|
D | channel.c | 66 int vmbus_open(struct vmbus_channel *newchannel, u32 send_ringbuffer_size, in vmbus_open() argument 78 spin_lock_irqsave(&newchannel->lock, flags); in vmbus_open() 79 if (newchannel->state == CHANNEL_OPEN_STATE) { in vmbus_open() 80 newchannel->state = CHANNEL_OPENING_STATE; in vmbus_open() 82 spin_unlock_irqrestore(&newchannel->lock, flags); in vmbus_open() 85 spin_unlock_irqrestore(&newchannel->lock, flags); in vmbus_open() 87 newchannel->onchannel_callback = onchannelcallback; in vmbus_open() 88 newchannel->channel_callback_context = context; in vmbus_open() 91 page = alloc_pages_node(cpu_to_node(newchannel->target_cpu), in vmbus_open() 110 newchannel->ringbuffer_pages = out; in vmbus_open() [all …]
|