Lines Matching full:input
93 struct hv_input_create_partition *input; in hv_call_create_partition() local
101 input = *this_cpu_ptr(hyperv_pcpu_input_arg); in hv_call_create_partition()
104 memset(input, 0, sizeof(*input)); in hv_call_create_partition()
105 input->flags = flags; in hv_call_create_partition()
106 input->compatibility_version = HV_COMPATIBILITY_21_H2; in hv_call_create_partition()
108 memcpy(&input->partition_creation_properties, &creation_properties, in hv_call_create_partition()
111 memcpy(&input->isolation_properties, &isolation_properties, in hv_call_create_partition()
115 input, output); in hv_call_create_partition()
134 struct hv_input_initialize_partition input; in hv_call_initialize_partition() local
138 input.partition_id = partition_id; in hv_call_initialize_partition()
147 *(u64 *)&input); in hv_call_initialize_partition()
161 struct hv_input_finalize_partition input; in hv_call_finalize_partition() local
164 input.partition_id = partition_id; in hv_call_finalize_partition()
166 *(u64 *)&input); in hv_call_finalize_partition()
173 struct hv_input_delete_partition input; in hv_call_delete_partition() local
176 input.partition_id = partition_id; in hv_call_delete_partition()
177 status = hv_do_fast_hypercall8(HVCALL_DELETE_PARTITION, *(u64 *)&input); in hv_call_delete_partition()
381 struct hv_input_assert_virtual_interrupt *input; in hv_call_assert_virtual_interrupt() local
386 input = *this_cpu_ptr(hyperv_pcpu_input_arg); in hv_call_assert_virtual_interrupt()
387 memset(input, 0, sizeof(*input)); in hv_call_assert_virtual_interrupt()
388 input->partition_id = partition_id; in hv_call_assert_virtual_interrupt()
389 input->vector = vector; in hv_call_assert_virtual_interrupt()
390 input->dest_addr = dest_addr; in hv_call_assert_virtual_interrupt()
391 input->control = control; in hv_call_assert_virtual_interrupt()
392 status = hv_do_hypercall(HVCALL_ASSERT_VIRTUAL_INTERRUPT, input, NULL); in hv_call_assert_virtual_interrupt()
400 union hv_input_delete_vp input = {}; in hv_call_delete_vp() local
403 input.partition_id = partition_id; in hv_call_delete_vp()
404 input.vp_index = vp_index; in hv_call_delete_vp()
407 input.as_uint64[0], input.as_uint64[1]); in hv_call_delete_vp()
419 struct hv_input_get_vp_state *input; in hv_call_get_vp_state() local
435 input = *this_cpu_ptr(hyperv_pcpu_input_arg); in hv_call_get_vp_state()
437 memset(input, 0, sizeof(*input)); in hv_call_get_vp_state()
440 input->partition_id = partition_id; in hv_call_get_vp_state()
441 input->vp_index = vp_index; in hv_call_get_vp_state()
442 input->state_data = state_data; in hv_call_get_vp_state()
444 input->output_data_pfns[i] = page_to_pfn(pages[i]); in hv_call_get_vp_state()
449 status = hv_do_hypercall(control, input, output); in hv_call_get_vp_state()
473 struct hv_input_set_vp_state *input; in hv_call_set_vp_state() local
483 if (sizeof(*input) + num_bytes > HV_HYP_PAGE_SIZE) in hv_call_set_vp_state()
496 input = *this_cpu_ptr(hyperv_pcpu_input_arg); in hv_call_set_vp_state()
497 memset(input, 0, sizeof(*input)); in hv_call_set_vp_state()
499 input->partition_id = partition_id; in hv_call_set_vp_state()
500 input->vp_index = vp_index; in hv_call_set_vp_state()
501 input->state_data = state_data; in hv_call_set_vp_state()
503 memcpy((u8 *)input->data, bytes, num_bytes); in hv_call_set_vp_state()
506 input->data[i].pfns = page_to_pfn(pages[i]); in hv_call_set_vp_state()
512 status = hv_do_hypercall(control, input, NULL); in hv_call_set_vp_state()
532 struct hv_input_map_vp_state_page *input; in hv_call_map_vp_state_page() local
541 input = *this_cpu_ptr(hyperv_pcpu_input_arg); in hv_call_map_vp_state_page()
544 input->partition_id = partition_id; in hv_call_map_vp_state_page()
545 input->vp_index = vp_index; in hv_call_map_vp_state_page()
546 input->type = type; in hv_call_map_vp_state_page()
547 input->input_vtl = input_vtl; in hv_call_map_vp_state_page()
549 status = hv_do_hypercall(HVCALL_MAP_VP_STATE_PAGE, input, output); in hv_call_map_vp_state_page()
572 struct hv_input_unmap_vp_state_page *input; in hv_call_unmap_vp_state_page() local
576 input = *this_cpu_ptr(hyperv_pcpu_input_arg); in hv_call_unmap_vp_state_page()
578 memset(input, 0, sizeof(*input)); in hv_call_unmap_vp_state_page()
580 input->partition_id = partition_id; in hv_call_unmap_vp_state_page()
581 input->vp_index = vp_index; in hv_call_unmap_vp_state_page()
582 input->type = type; in hv_call_unmap_vp_state_page()
583 input->input_vtl = input_vtl; in hv_call_unmap_vp_state_page()
585 status = hv_do_hypercall(HVCALL_UNMAP_VP_STATE_PAGE, input, NULL); in hv_call_unmap_vp_state_page()
609 struct hv_input_create_port *input; in hv_call_create_port() local
616 input = *this_cpu_ptr(hyperv_pcpu_input_arg); in hv_call_create_port()
617 memset(input, 0, sizeof(*input)); in hv_call_create_port()
619 input->port_partition_id = port_partition_id; in hv_call_create_port()
620 input->port_id = port_id; in hv_call_create_port()
621 input->connection_partition_id = connection_partition_id; in hv_call_create_port()
622 input->port_info = *port_info; in hv_call_create_port()
623 input->port_vtl = port_vtl; in hv_call_create_port()
624 input->min_connection_vtl = min_connection_vtl; in hv_call_create_port()
625 input->proximity_domain_info = hv_numa_node_to_pxm_info(node); in hv_call_create_port()
626 status = hv_do_hypercall(HVCALL_CREATE_PORT, input, NULL); in hv_call_create_port()
645 union hv_input_delete_port input = { 0 }; in hv_call_delete_port() local
648 input.port_partition_id = port_partition_id; in hv_call_delete_port()
649 input.port_id = port_id; in hv_call_delete_port()
651 input.as_uint64[0], in hv_call_delete_port()
652 input.as_uint64[1]); in hv_call_delete_port()
664 struct hv_input_connect_port *input; in hv_call_connect_port() local
670 input = *this_cpu_ptr(hyperv_pcpu_input_arg); in hv_call_connect_port()
671 memset(input, 0, sizeof(*input)); in hv_call_connect_port()
672 input->port_partition_id = port_partition_id; in hv_call_connect_port()
673 input->port_id = port_id; in hv_call_connect_port()
674 input->connection_partition_id = connection_partition_id; in hv_call_connect_port()
675 input->connection_id = connection_id; in hv_call_connect_port()
676 input->connection_info = *connection_info; in hv_call_connect_port()
677 input->connection_vtl = connection_vtl; in hv_call_connect_port()
678 input->proximity_domain_info = hv_numa_node_to_pxm_info(node); in hv_call_connect_port()
679 status = hv_do_hypercall(HVCALL_CONNECT_PORT, input, NULL); in hv_call_connect_port()
700 union hv_input_disconnect_port input = { 0 }; in hv_call_disconnect_port() local
703 input.connection_partition_id = connection_partition_id; in hv_call_disconnect_port()
704 input.connection_id = connection_id; in hv_call_disconnect_port()
705 input.is_doorbell = 1; in hv_call_disconnect_port()
707 input.as_uint64[0], in hv_call_disconnect_port()
708 input.as_uint64[1]); in hv_call_disconnect_port()
716 union hv_input_notify_port_ring_empty input = { 0 }; in hv_call_notify_port_ring_empty() local
719 input.sint_index = sint_index; in hv_call_notify_port_ring_empty()
721 input.as_uint64); in hv_call_notify_port_ring_empty()
731 struct hv_input_map_stats_page *input; in hv_call_map_stat_page() local
738 input = *this_cpu_ptr(hyperv_pcpu_input_arg); in hv_call_map_stat_page()
741 memset(input, 0, sizeof(*input)); in hv_call_map_stat_page()
742 input->type = type; in hv_call_map_stat_page()
743 input->identity = *identity; in hv_call_map_stat_page()
745 status = hv_do_hypercall(HVCALL_MAP_STATS_PAGE, input, output); in hv_call_map_stat_page()
771 struct hv_input_unmap_stats_page *input; in hv_call_unmap_stat_page() local
775 input = *this_cpu_ptr(hyperv_pcpu_input_arg); in hv_call_unmap_stat_page()
777 memset(input, 0, sizeof(*input)); in hv_call_unmap_stat_page()
778 input->type = type; in hv_call_unmap_stat_page()
779 input->identity = *identity; in hv_call_unmap_stat_page()
781 status = hv_do_hypercall(HVCALL_UNMAP_STATS_PAGE, input, NULL); in hv_call_unmap_stat_page()