• Home
  • Raw
  • Download

Lines Matching full:offer

175 	const guid_t *guid = &channel->offermsg.offer.if_type;  in hv_get_dev_type()
493 &newchannel->offermsg.offer.if_type, in vmbus_add_channel_work()
494 &newchannel->offermsg.offer.if_instance, in vmbus_add_channel_work()
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, in vmbus_process_offer()
596 &newchannel->offermsg.offer.if_type) && in vmbus_process_offer()
597 guid_equal(&channel->offermsg.offer.if_instance, in vmbus_process_offer()
598 &newchannel->offermsg.offer.if_instance)) { in vmbus_process_offer()
611 if (newchannel->offermsg.offer.sub_channel_index == 0) { in vmbus_process_offer()
880 struct vmbus_channel_offer_channel *offer) in vmbus_setup_channel_state() argument
889 (offer->is_dedicated_interrupt != 0); in vmbus_setup_channel_state()
890 channel->sig_event = offer->connection_id; in vmbus_setup_channel_state()
893 memcpy(&channel->offermsg, offer, in vmbus_setup_channel_state()
895 channel->monitor_grp = (u8)offer->monitorid / 32; in vmbus_setup_channel_state()
896 channel->monitor_bit = (u8)offer->monitorid % 32; in vmbus_setup_channel_state()
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) in find_primary_channel_by_offer() argument
911 if (offer->offer.sub_channel_index != 0) in find_primary_channel_by_offer()
917 inst1 = &iter->offermsg.offer.if_instance; in find_primary_channel_by_offer()
918 inst2 = &offer->offer.if_instance; in find_primary_channel_by_offer()
937 struct vmbus_channel_offer_channel *offer; in vmbus_onoffer() local
941 offer = (struct vmbus_channel_offer_channel *)hdr; in vmbus_onoffer()
943 trace_vmbus_onoffer(offer); in vmbus_onoffer()
945 oldchannel = find_primary_channel_by_offer(offer); in vmbus_onoffer()
983 oldchannel->offermsg.child_relid = offer->child_relid; in vmbus_onoffer()
985 offer_sz = sizeof(*offer); in vmbus_onoffer()
986 if (memcmp(offer, &oldchannel->offermsg, offer_sz) != 0) { in vmbus_onoffer()
989 * the other field(s) of the offer, e.g. on WS RS5 in vmbus_onoffer()
990 * (Build 17763), the offer->connection_id of the in vmbus_onoffer()
994 pr_debug("vmbus offer changed: relid=%d\n", in vmbus_onoffer()
995 offer->child_relid); in vmbus_onoffer()
997 print_hex_dump_debug("Old vmbus offer: ", in vmbus_onoffer()
1001 print_hex_dump_debug("New vmbus offer: ", in vmbus_onoffer()
1003 offer, offer_sz, false); in vmbus_onoffer()
1006 vmbus_setup_channel_state(oldchannel, offer); in vmbus_onoffer()
1017 /* Allocate the channel object and save this offer. */ in vmbus_onoffer()
1020 vmbus_release_relid(offer->child_relid); in vmbus_onoffer()
1026 vmbus_setup_channel_state(newchannel, offer); in vmbus_onoffer()
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 in vmbus_onoffer_rescind()
1060 * offer comes in first and then the rescind. in vmbus_onoffer_rescind()
1083 * We wait here until any channel offer is currently in vmbus_onoffer_rescind()
1095 * We failed in processing the offer message; in vmbus_onoffer_rescind()
1111 * Now wait for offer handling to complete. in vmbus_onoffer_rescind()
1116 * We wait here until any channel offer is currently in vmbus_onoffer_rescind()