Home
last modified time | relevance | path

Searched refs:uvcb (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/arch/s390/boot/
Duv.c17 struct uv_cb_qui uvcb = { in uv_query_info() local
19 .header.len = sizeof(uvcb) in uv_query_info()
26 if (uv_call(0, (uint64_t)&uvcb) && uvcb.header.rc != 0x100) in uv_query_info()
30 memcpy(uv_info.inst_calls_list, uvcb.inst_calls_list, sizeof(uv_info.inst_calls_list)); in uv_query_info()
31 uv_info.uv_base_stor_len = uvcb.uv_base_stor_len; in uv_query_info()
32 uv_info.guest_base_stor_len = uvcb.conf_base_phys_stor_len; in uv_query_info()
33 uv_info.guest_virt_base_stor_len = uvcb.conf_base_virt_stor_len; in uv_query_info()
34 uv_info.guest_virt_var_stor_len = uvcb.conf_virt_var_stor_len; in uv_query_info()
35 uv_info.guest_cpu_stor_len = uvcb.cpu_stor_len; in uv_query_info()
36 uv_info.max_sec_stor_addr = ALIGN(uvcb.max_guest_stor_addr, PAGE_SIZE); in uv_query_info()
[all …]
/linux-6.12.1/arch/s390/kvm/
Dpv.c102 struct uv_cb_csc uvcb = { in kvm_s390_pv_create_cpu() local
104 .header.len = sizeof(uvcb), in kvm_s390_pv_create_cpu()
118 uvcb.guest_handle = kvm_s390_pv_get_handle(vcpu->kvm); in kvm_s390_pv_create_cpu()
119 uvcb.num = vcpu->arch.sie_block->icpua; in kvm_s390_pv_create_cpu()
120 uvcb.state_origin = virt_to_phys(vcpu->arch.sie_block); in kvm_s390_pv_create_cpu()
121 uvcb.stor_origin = virt_to_phys((void *)vcpu->arch.pv.stor_base); in kvm_s390_pv_create_cpu()
132 cc = uv_call(0, (u64)&uvcb); in kvm_s390_pv_create_cpu()
133 *rc = uvcb.header.rc; in kvm_s390_pv_create_cpu()
134 *rrc = uvcb.header.rrc; in kvm_s390_pv_create_cpu()
137 vcpu->vcpu_id, uvcb.cpu_handle, uvcb.header.rc, in kvm_s390_pv_create_cpu()
[all …]
Dintercept.c534 struct uv_cb_cts uvcb = { in handle_pv_uvc() local
536 .header.len = sizeof(uvcb), in handle_pv_uvc()
547 rc = gmap_make_secure(vcpu->arch.gmap, uvcb.gaddr, &uvcb); in handle_pv_uvc()
/linux-6.12.1/arch/s390/kernel/
Duv.c55 struct uv_cb_init uvcb = { in uv_init() local
57 .header.len = sizeof(uvcb), in uv_init()
62 if (uv_call(0, (uint64_t)&uvcb)) { in uv_init()
64 uvcb.header.rc, uvcb.header.rrc); in uv_init()
105 struct uv_cb_cfs uvcb = { in uv_pin_shared() local
107 .header.len = sizeof(uvcb), in uv_pin_shared()
111 if (uv_call(0, (u64)&uvcb)) in uv_pin_shared()
126 struct uv_cb_cfs uvcb = { in uv_destroy() local
128 .header.len = sizeof(uvcb), in uv_destroy()
132 if (uv_call(0, (u64)&uvcb)) { in uv_destroy()
[all …]
/linux-6.12.1/drivers/s390/char/
Duvdevice.c268 struct uv_cb_guest_addr uvcb = { in uvio_add_secret() local
269 .header.len = sizeof(uvcb), in uvio_add_secret()
289 uvcb.addr = (u64)asrcb; in uvio_add_secret()
290 uv_call_sched(0, (u64)&uvcb); in uvio_add_secret()
291 uv_ioctl->uv_rc = uvcb.header.rc; in uvio_add_secret()
292 uv_ioctl->uv_rrc = uvcb.header.rrc; in uvio_add_secret()
321 struct uv_cb_guest_addr uvcb = { in uvio_list_secrets() local
322 .header.len = sizeof(uvcb), in uvio_list_secrets()
335 uvcb.addr = (u64)secrets; in uvio_list_secrets()
336 uv_call_sched(0, (u64)&uvcb); in uvio_list_secrets()
[all …]
/linux-6.12.1/arch/s390/include/asm/
Duv.h371 struct uv_cb_nodata uvcb = { in uv_cmd_nodata() local
373 .header.len = sizeof(uvcb), in uv_cmd_nodata()
379 cc = uv_call_sched(0, (u64)&uvcb); in uv_cmd_nodata()
380 *rc = uvcb.header.rc; in uv_cmd_nodata()
381 *rrc = uvcb.header.rrc; in uv_cmd_nodata()
426 struct uv_cb_share uvcb = { in share() local
428 .header.len = sizeof(uvcb), in share()
442 if (!uv_call(0, (u64)&uvcb)) in share()
445 uvcb.header.cmd == UVC_CMD_SET_SHARED_ACCESS ? "Share" : "Unshare", in share()
446 uvcb.header.rc, uvcb.header.rrc); in share()
[all …]