Lines Matching refs:offermsg
175 const guid_t *guid = &channel->offermsg.offer.if_type; in hv_get_dev_type()
345 if (WARN_ON(channel->offermsg.child_relid >= MAX_CHANNEL_RELIDS)) in vmbus_channel_map_relid()
373 vmbus_connection.channels[channel->offermsg.child_relid], in vmbus_channel_map_relid()
379 if (WARN_ON(channel->offermsg.child_relid >= MAX_CHANNEL_RELIDS)) in vmbus_channel_unmap_relid()
382 vmbus_connection.channels[channel->offermsg.child_relid], in vmbus_channel_unmap_relid()
409 WARN_ON(channel->offermsg.child_relid == INVALID_RELID && in hv_process_channel_removal()
419 if (channel->offermsg.child_relid != INVALID_RELID) in hv_process_channel_removal()
441 if (channel->offermsg.child_relid != INVALID_RELID) in hv_process_channel_removal()
442 vmbus_release_relid(channel->offermsg.child_relid); in hv_process_channel_removal()
493 &newchannel->offermsg.offer.if_type, in vmbus_add_channel_work()
494 &newchannel->offermsg.offer.if_instance, in vmbus_add_channel_work()
509 newchannel->offermsg.child_relid); in vmbus_add_channel_work()
536 vmbus_release_relid(newchannel->offermsg.child_relid); in vmbus_add_channel_work()
591 if (guid_equal(&channel->offermsg.offer.if_type, in vmbus_process_offer()
592 &newchannel->offermsg.offer.if_type) && in vmbus_process_offer()
593 guid_equal(&channel->offermsg.offer.if_instance, in vmbus_process_offer()
594 &newchannel->offermsg.offer.if_instance)) { in vmbus_process_offer()
607 if (newchannel->offermsg.offer.sub_channel_index == 0) { in vmbus_process_offer()
854 memcpy(&channel->offermsg, offer, in vmbus_setup_channel_state()
878 inst1 = &iter->offermsg.offer.if_instance; in find_primary_channel_by_offer()
942 WARN_ON(oldchannel->offermsg.child_relid != INVALID_RELID); in vmbus_onoffer()
944 oldchannel->offermsg.child_relid = offer->child_relid; in vmbus_onoffer()
947 if (memcmp(offer, &oldchannel->offermsg, offer_sz) != 0) { in vmbus_onoffer()
960 &oldchannel->offermsg, offer_sz, in vmbus_onoffer()