Lines Matching full:input

94 	struct hv_input_create_partition *input;  in hv_call_create_partition()  local
102 input = *this_cpu_ptr(hyperv_pcpu_input_arg); in hv_call_create_partition()
105 memset(input, 0, sizeof(*input)); in hv_call_create_partition()
106 input->flags = flags; in hv_call_create_partition()
107 input->compatibility_version = HV_COMPATIBILITY_21_H2; in hv_call_create_partition()
109 memcpy(&input->partition_creation_properties, &creation_properties, in hv_call_create_partition()
112 memcpy(&input->isolation_properties, &isolation_properties, in hv_call_create_partition()
116 input, output); in hv_call_create_partition()
135 struct hv_input_initialize_partition input; in hv_call_initialize_partition() local
139 input.partition_id = partition_id; in hv_call_initialize_partition()
148 *(u64 *)&input); in hv_call_initialize_partition()
162 struct hv_input_finalize_partition input; in hv_call_finalize_partition() local
165 input.partition_id = partition_id; in hv_call_finalize_partition()
167 *(u64 *)&input); in hv_call_finalize_partition()
174 struct hv_input_delete_partition input; in hv_call_delete_partition() local
177 input.partition_id = partition_id; in hv_call_delete_partition()
178 status = hv_do_fast_hypercall8(HVCALL_DELETE_PARTITION, *(u64 *)&input); in hv_call_delete_partition()
382 struct hv_input_assert_virtual_interrupt *input; in hv_call_assert_virtual_interrupt() local
387 input = *this_cpu_ptr(hyperv_pcpu_input_arg); in hv_call_assert_virtual_interrupt()
388 memset(input, 0, sizeof(*input)); in hv_call_assert_virtual_interrupt()
389 input->partition_id = partition_id; in hv_call_assert_virtual_interrupt()
390 input->vector = vector; in hv_call_assert_virtual_interrupt()
391 input->dest_addr = dest_addr; in hv_call_assert_virtual_interrupt()
392 input->control = control; in hv_call_assert_virtual_interrupt()
393 status = hv_do_hypercall(HVCALL_ASSERT_VIRTUAL_INTERRUPT, input, NULL); in hv_call_assert_virtual_interrupt()
401 union hv_input_delete_vp input = {}; in hv_call_delete_vp() local
404 input.partition_id = partition_id; in hv_call_delete_vp()
405 input.vp_index = vp_index; in hv_call_delete_vp()
408 input.as_uint64[0], input.as_uint64[1]); in hv_call_delete_vp()
420 struct hv_input_get_vp_state *input; in hv_call_get_vp_state() local
436 input = *this_cpu_ptr(hyperv_pcpu_input_arg); in hv_call_get_vp_state()
438 memset(input, 0, sizeof(*input)); in hv_call_get_vp_state()
441 input->partition_id = partition_id; in hv_call_get_vp_state()
442 input->vp_index = vp_index; in hv_call_get_vp_state()
443 input->state_data = state_data; in hv_call_get_vp_state()
445 input->output_data_pfns[i] = page_to_pfn(pages[i]); in hv_call_get_vp_state()
450 status = hv_do_hypercall(control, input, output); in hv_call_get_vp_state()
474 struct hv_input_set_vp_state *input; in hv_call_set_vp_state() local
484 if (sizeof(*input) + num_bytes > HV_HYP_PAGE_SIZE) in hv_call_set_vp_state()
497 input = *this_cpu_ptr(hyperv_pcpu_input_arg); in hv_call_set_vp_state()
498 memset(input, 0, sizeof(*input)); in hv_call_set_vp_state()
500 input->partition_id = partition_id; in hv_call_set_vp_state()
501 input->vp_index = vp_index; in hv_call_set_vp_state()
502 input->state_data = state_data; in hv_call_set_vp_state()
504 memcpy((u8 *)input->data, bytes, num_bytes); in hv_call_set_vp_state()
507 input->data[i].pfns = page_to_pfn(pages[i]); in hv_call_set_vp_state()
513 status = hv_do_hypercall(control, input, NULL); in hv_call_set_vp_state()
533 struct hv_input_map_vp_state_page *input; in hv_call_map_vp_state_page() local
542 input = *this_cpu_ptr(hyperv_pcpu_input_arg); in hv_call_map_vp_state_page()
545 input->partition_id = partition_id; in hv_call_map_vp_state_page()
546 input->vp_index = vp_index; in hv_call_map_vp_state_page()
547 input->type = type; in hv_call_map_vp_state_page()
548 input->input_vtl = input_vtl; in hv_call_map_vp_state_page()
550 status = hv_do_hypercall(HVCALL_MAP_VP_STATE_PAGE, input, output); in hv_call_map_vp_state_page()
573 struct hv_input_unmap_vp_state_page *input; in hv_call_unmap_vp_state_page() local
577 input = *this_cpu_ptr(hyperv_pcpu_input_arg); in hv_call_unmap_vp_state_page()
579 memset(input, 0, sizeof(*input)); in hv_call_unmap_vp_state_page()
581 input->partition_id = partition_id; in hv_call_unmap_vp_state_page()
582 input->vp_index = vp_index; in hv_call_unmap_vp_state_page()
583 input->type = type; in hv_call_unmap_vp_state_page()
584 input->input_vtl = input_vtl; in hv_call_unmap_vp_state_page()
586 status = hv_do_hypercall(HVCALL_UNMAP_VP_STATE_PAGE, input, NULL); in hv_call_unmap_vp_state_page()
610 struct hv_input_create_port *input; in hv_call_create_port() local
617 input = *this_cpu_ptr(hyperv_pcpu_input_arg); in hv_call_create_port()
618 memset(input, 0, sizeof(*input)); in hv_call_create_port()
620 input->port_partition_id = port_partition_id; in hv_call_create_port()
621 input->port_id = port_id; in hv_call_create_port()
622 input->connection_partition_id = connection_partition_id; in hv_call_create_port()
623 input->port_info = *port_info; in hv_call_create_port()
624 input->port_vtl = port_vtl; in hv_call_create_port()
625 input->min_connection_vtl = min_connection_vtl; in hv_call_create_port()
626 input->proximity_domain_info = hv_numa_node_to_pxm_info(node); in hv_call_create_port()
627 status = hv_do_hypercall(HVCALL_CREATE_PORT, input, NULL); in hv_call_create_port()
646 union hv_input_delete_port input = { 0 }; in hv_call_delete_port() local
649 input.port_partition_id = port_partition_id; in hv_call_delete_port()
650 input.port_id = port_id; in hv_call_delete_port()
652 input.as_uint64[0], in hv_call_delete_port()
653 input.as_uint64[1]); in hv_call_delete_port()
665 struct hv_input_connect_port *input; in hv_call_connect_port() local
671 input = *this_cpu_ptr(hyperv_pcpu_input_arg); in hv_call_connect_port()
672 memset(input, 0, sizeof(*input)); in hv_call_connect_port()
673 input->port_partition_id = port_partition_id; in hv_call_connect_port()
674 input->port_id = port_id; in hv_call_connect_port()
675 input->connection_partition_id = connection_partition_id; in hv_call_connect_port()
676 input->connection_id = connection_id; in hv_call_connect_port()
677 input->connection_info = *connection_info; in hv_call_connect_port()
678 input->connection_vtl = connection_vtl; in hv_call_connect_port()
679 input->proximity_domain_info = hv_numa_node_to_pxm_info(node); in hv_call_connect_port()
680 status = hv_do_hypercall(HVCALL_CONNECT_PORT, input, NULL); in hv_call_connect_port()
701 union hv_input_disconnect_port input = { 0 }; in hv_call_disconnect_port() local
704 input.connection_partition_id = connection_partition_id; in hv_call_disconnect_port()
705 input.connection_id = connection_id; in hv_call_disconnect_port()
706 input.is_doorbell = 1; in hv_call_disconnect_port()
708 input.as_uint64[0], in hv_call_disconnect_port()
709 input.as_uint64[1]); in hv_call_disconnect_port()
717 union hv_input_notify_port_ring_empty input = { 0 }; in hv_call_notify_port_ring_empty() local
720 input.sint_index = sint_index; in hv_call_notify_port_ring_empty()
722 input.as_uint64); in hv_call_notify_port_ring_empty()
732 struct hv_input_map_stats_page *input; in hv_call_map_stat_page() local
739 input = *this_cpu_ptr(hyperv_pcpu_input_arg); in hv_call_map_stat_page()
742 memset(input, 0, sizeof(*input)); in hv_call_map_stat_page()
743 input->type = type; in hv_call_map_stat_page()
744 input->identity = *identity; in hv_call_map_stat_page()
746 status = hv_do_hypercall(HVCALL_MAP_STATS_PAGE, input, output); in hv_call_map_stat_page()
772 struct hv_input_unmap_stats_page *input; in hv_call_unmap_stat_page() local
776 input = *this_cpu_ptr(hyperv_pcpu_input_arg); in hv_call_unmap_stat_page()
778 memset(input, 0, sizeof(*input)); in hv_call_unmap_stat_page()
779 input->type = type; in hv_call_unmap_stat_page()
780 input->identity = *identity; in hv_call_unmap_stat_page()
782 status = hv_do_hypercall(HVCALL_UNMAP_STATS_PAGE, input, NULL); in hv_call_unmap_stat_page()