Lines Matching full:call
59 struct xenpf_efi_runtime_call *call = &op.u.efi_runtime_call; in get_time() local
66 tm->tm_year = call->u.get_time.time.year; in get_time()
67 tm->tm_mon = call->u.get_time.time.month; in get_time()
68 tm->tm_mday = call->u.get_time.time.day; in get_time()
69 tm->tm_hour = call->u.get_time.time.hour; in get_time()
70 tm->tm_min = call->u.get_time.time.min; in get_time()
71 tm->tm_sec = call->u.get_time.time.sec; in get_time()
72 tm->tm_nsec = call->u.get_time.time.ns; in get_time()
73 tm->tm_tz = call->u.get_time.time.tz; in get_time()
74 tm->tm_dst = call->u.get_time.time.daylight; in get_time()
76 return (efi_status_to_errno(call->status)); in get_time()
86 struct xenpf_efi_runtime_call *call = &op.u.efi_runtime_call; in get_time_capabilities() local
93 tmcap->tc_res = call->u.get_time.resolution; in get_time_capabilities()
94 tmcap->tc_prec = call->u.get_time.accuracy; in get_time_capabilities()
95 tmcap->tc_stz = call->misc & XEN_EFI_GET_TIME_SET_CLEARS_NS; in get_time_capabilities()
97 return (efi_status_to_errno(call->status)); in get_time_capabilities()
133 struct xenpf_efi_runtime_call *call = &op.u.efi_runtime_call; in var_get() local
136 CTASSERT(sizeof(*vendor) == sizeof(call->u.get_variable.vendor_guid)); in var_get()
138 memcpy(&call->u.get_variable.vendor_guid, vendor, in var_get()
140 set_xen_guest_handle(call->u.get_variable.name, name); in var_get()
141 set_xen_guest_handle(call->u.get_variable.data, data); in var_get()
147 *attrib = call->misc; in var_get()
148 *datasize = call->u.get_variable.size; in var_get()
150 return (efi_status_to_errno(call->status)); in var_get()
161 struct xenpf_efi_runtime_call *call = &op.u.efi_runtime_call; in var_nextname() local
164 memcpy(&call->u.get_next_variable_name.vendor_guid, vendor, in var_nextname()
166 set_xen_guest_handle(call->u.get_next_variable_name.name, name); in var_nextname()
172 *namesize = call->u.get_next_variable_name.size; in var_nextname()
173 memcpy(vendor, &call->u.get_next_variable_name.vendor_guid, in var_nextname()
176 return (efi_status_to_errno(call->status)); in var_nextname()
189 struct xenpf_efi_runtime_call *call = &op.u.efi_runtime_call; in var_set() local
192 memcpy(&call->u.set_variable.vendor_guid, vendor, in var_set()
194 set_xen_guest_handle(call->u.set_variable.name, name); in var_set()
195 set_xen_guest_handle(call->u.set_variable.data, data); in var_set()
200 efi_status_to_errno(call->status)); in var_set()