Lines Matching full:primary

436 /* Note: the function can run concurrently for primary/sub channels. */
482 * Start the process of binding the primary channel to the driver in vmbus_add_channel_work()
613 * The above is also true for primary channels, if the related device in vmbus_process_offer()
616 * And, usually the handling of primary channels and sub-channels can in vmbus_process_offer()
637 * it can run concurrently for primary channels and sub-channels: see
656 struct vmbus_channel *primary = channel->primary_channel; in init_vp_index() local
684 if ((channel->affinity_policy == HV_BALANCED) || (!primary)) { in init_vp_index()
696 primary = channel; in init_vp_index()
698 alloced_mask = &hv_context.hv_numa_map[primary->numa_node]; in init_vp_index()
701 cpumask_weight(cpumask_of_node(primary->numa_node))) { in init_vp_index()
710 cpumask_of_node(primary->numa_node)); in init_vp_index()
714 if (primary->affinity_policy == HV_LOCALIZED) { in init_vp_index()
721 if (cpumask_equal(&primary->alloced_cpus_in_node, in init_vp_index()
722 cpumask_of_node(primary->numa_node))) in init_vp_index()
723 cpumask_clear(&primary->alloced_cpus_in_node); in init_vp_index()
731 cpumask_of_node(primary->numa_node)); in init_vp_index()
735 if (primary->affinity_policy == HV_LOCALIZED) { in init_vp_index()
739 * primary->alloced_cpus_in_node in in init_vp_index()
743 * bit from primary->alloced_cpus_in_node. in init_vp_index()
746 &primary->alloced_cpus_in_node)) { in init_vp_index()
748 &primary->alloced_cpus_in_node); in init_vp_index()
865 * If all the old primary channels have been fixed up, then it's safe in check_ready_for_resume_event()
946 * primary channel that we had before the hibernation. in vmbus_onoffer()
1105 * 2. Then close the primary channel. in vmbus_onoffer_rescind()
1444 bool vmbus_are_subchannels_present(struct vmbus_channel *primary) in vmbus_are_subchannels_present() argument
1448 ret = !list_empty(&primary->sc_list); in vmbus_are_subchannels_present()
1456 invoke_sc_cb(primary); in vmbus_are_subchannels_present()