Lines Matching refs:offer

175 	const guid_t *guid = &channel->offermsg.offer.if_type;
493 &newchannel->offermsg.offer.if_type,
494 &newchannel->offermsg.offer.if_instance,
546 * vmbus_process_offer - Process the offer by creating a channel/device
547 * associated with this offer
595 if (guid_equal(&channel->offermsg.offer.if_type,
596 &newchannel->offermsg.offer.if_type) &&
597 guid_equal(&channel->offermsg.offer.if_instance,
598 &newchannel->offermsg.offer.if_instance)) {
611 if (newchannel->offermsg.offer.sub_channel_index == 0) {
880 struct vmbus_channel_offer_channel *offer)
889 (offer->is_dedicated_interrupt != 0);
890 channel->sig_event = offer->connection_id;
893 memcpy(&channel->offermsg, offer,
895 channel->monitor_grp = (u8)offer->monitorid / 32;
896 channel->monitor_bit = (u8)offer->monitorid % 32;
901 * find_primary_channel_by_offer - Get the channel object given the new offer.
905 find_primary_channel_by_offer(const struct vmbus_channel_offer_channel *offer)
911 if (offer->offer.sub_channel_index != 0)
917 inst1 = &iter->offermsg.offer.if_instance;
918 inst2 = &offer->offer.if_instance;
937 struct vmbus_channel_offer_channel *offer;
941 offer = (struct vmbus_channel_offer_channel *)hdr;
943 trace_vmbus_onoffer(offer);
945 oldchannel = find_primary_channel_by_offer(offer);
983 oldchannel->offermsg.child_relid = offer->child_relid;
985 offer_sz = sizeof(*offer);
986 if (memcmp(offer, &oldchannel->offermsg, offer_sz) != 0) {
989 * the other field(s) of the offer, e.g. on WS RS5
990 * (Build 17763), the offer->connection_id of the
994 pr_debug("vmbus offer changed: relid=%d\n",
995 offer->child_relid);
997 print_hex_dump_debug("Old vmbus offer: ",
1001 print_hex_dump_debug("New vmbus offer: ",
1003 offer, offer_sz, false);
1006 vmbus_setup_channel_state(oldchannel, offer);
1017 /* Allocate the channel object and save this offer. */
1020 vmbus_release_relid(offer->child_relid);
1026 vmbus_setup_channel_state(newchannel, offer);
1042 * vmbus_onoffer_rescind - Rescind offer handler.
1044 * We queue a work item to process this offer synchronously
1058 * The offer msg and the corresponding rescind msg
1060 * offer comes in first and then the rescind.
1083 * We wait here until any channel offer is currently
1095 * We failed in processing the offer message;
1111 * Now wait for offer handling to complete.
1116 * We wait here until any channel offer is currently