Lines Matching refs:u64
63 u64 shared_gpa_boundary;
67 extern u64 hv_current_partition_id;
73 u64 hv_do_hypercall(u64 control, void *inputaddr, void *outputaddr);
74 u64 hv_do_fast_hypercall8(u16 control, u64 input8);
75 u64 hv_do_fast_hypercall16(u16 control, u64 input1, u64 input2);
107 static inline int hv_result(u64 status) in hv_result()
112 static inline bool hv_result_success(u64 status) in hv_result_success()
117 static inline unsigned int hv_repcomp(u64 status) in hv_repcomp()
128 static inline u64 hv_do_rep_hypercall(u16 code, u16 rep_count, u16 varhead_size, in hv_do_rep_hypercall()
131 u64 control = code; in hv_do_rep_hypercall()
132 u64 status; in hv_do_rep_hypercall()
135 control |= (u64)varhead_size << HV_HYPERCALL_VARHEAD_OFFSET; in hv_do_rep_hypercall()
136 control |= (u64)rep_count << HV_HYPERCALL_REP_COMP_OFFSET; in hv_do_rep_hypercall()
146 control |= (u64)rep_comp << HV_HYPERCALL_REP_START_OFFSET; in hv_do_rep_hypercall()
155 static inline u64 hv_generate_guest_id(u64 kernel_version) in hv_generate_guest_id()
157 u64 guest_id; in hv_generate_guest_id()
159 guest_id = (((u64)HV_LINUX_VENDOR_ID) << 48); in hv_generate_guest_id()
226 extern u64 (*hv_read_reference_counter)(void);
317 u64 __status = (status); \
326 const char *hv_result_to_string(u64 hv_status);
327 int hv_result_to_errno(u64 status);
334 u64 hv_ghcb_hypercall(u64 control, void *input, void *output, u32 input_size);
335 u64 hv_tdx_hypercall(u64 control, u64 param1, u64 param2);
337 bool hv_query_ext_cap(u64 cap_query);
357 int hv_call_deposit_pages(int node, u64 partition_id, u32 num_pages);
359 int hv_call_create_vp(int node, u64 partition_id, u32 vp_index, u32 flags);
363 static inline int hv_call_deposit_pages(int node, u64 partition_id, u32 num_pages) in hv_call_deposit_pages()
371 static inline int hv_call_create_vp(int node, u64 partition_id, u32 vp_index, u32 flags) in hv_call_create_vp()