Searched refs:guest (Results 1 - 25 of 64) sorted by relevance

123

/linux-master/drivers/virt/coco/sev-guest/
H A DMakefile2 obj-$(CONFIG_SEV_GUEST) += sev-guest.o
/linux-master/drivers/virt/coco/tdx-guest/
H A DMakefile2 obj-$(CONFIG_TDX_GUEST_DRIVER) += tdx-guest.o
/linux-master/drivers/virt/coco/
H A DMakefile7 obj-$(CONFIG_SEV_GUEST) += sev-guest/
8 obj-$(CONFIG_INTEL_TDX_GUEST) += tdx-guest/
/linux-master/tools/virtio/ringtest/
H A Dvirtio_ring_0_9.c41 struct guest { struct
52 } guest; variable in typeref:struct:guest
78 guest.avail_idx = 0;
79 guest.kicked_avail_idx = -1;
80 guest.last_used_idx = 0;
83 guest.free_head = 0;
89 guest.num_free = ring_size;
98 /* guest side */
107 if (!guest.num_free)
111 head = (ring_size - 1) & (guest
[all...]
H A Dring.c59 struct guest { struct
65 } guest; variable in typeref:struct:guest
92 guest.avail_idx = 0;
93 guest.kicked_avail_idx = -1;
94 guest.last_used_idx = 0;
103 guest.num_free = ring_size;
111 /* guest side */
116 if (!guest.num_free)
119 guest.num_free--;
120 head = (ring_size - 1) & (guest
[all...]
H A Drun-on-all.sh13 #Don't run guest and host on same CPU
20 "$@" --host-affinity $HOST_AFFINITY --guest-affinity $cpu
H A Dmain.c226 .name = "guest-affinity",
278 " [--guest-affinity G]"
295 pthread_t host, guest; local
383 ret = pthread_create(&guest, NULL, start_guest, guest_arg);
386 ret = pthread_join(guest, &tret);
/linux-master/drivers/misc/cxl/
H A Dof.c88 afu->guest->handle = addr;
91 afu->guest->p2n_phys += addr;
92 afu->guest->p2n_size = size;
133 if (read_handle(afu_np, &afu->guest->handle))
135 pr_devel("AFU handle: 0x%.16llx\n", afu->guest->handle);
190 read_prop_dword(np, "ibm,max-ints-per-process", &afu->guest->max_ints);
191 afu->irqs_max = afu->guest->max_ints;
269 pr_devel("AFU handle: %#llx\n", afu->guest->handle);
271 afu->guest->p2n_phys, afu->guest
[all...]
H A Dguest.c117 rc = cxl_h_collect_vpd_adapter(adapter->guest->handle,
120 rc = cxl_h_collect_vpd(afu->guest->handle, 0,
158 return cxl_h_collect_int_info(ctx->afu->guest->handle, ctx->process_token, info);
186 rc = cxl_h_read_error_state(afu->guest->handle, &state);
203 rc = cxl_h_get_fn_error_interrupt(afu->guest->handle, &serr);
214 rc = cxl_h_ack_fn_error_interrupt(afu->guest->handle, serr);
228 for (i = 0; i < adapter->guest->irq_nranges; i++) {
229 cur = &adapter->guest->irq_avail[i];
235 pr_devel("guest: allocate IRQs %#x->%#x\n",
252 for (i = 0; i < adapter->guest
[all...]
H A Dflash.c191 unwa->unit_address = cpu_to_be64(adapter->guest->handle);
245 header->vendor = cpu_to_be16(adapter->guest->vendor);
246 header->device = cpu_to_be16(adapter->guest->device);
247 header->subsystem_vendor = cpu_to_be16(adapter->guest->subsystem_vendor);
248 header->subsystem = cpu_to_be16(adapter->guest->subsystem);
312 rc = fct(adapter->guest->handle, virt_to_phys(le), entries,
335 cxl_h_reset_adapter(adapter->guest->handle);
344 cxl_h_reset_adapter(adapter->guest->handle);
353 cxl_h_reset_adapter(adapter->guest->handle);
501 cxl_h_reset_adapter(adapter->guest
[all...]
H A DMakefile8 cxl-$(CONFIG_PPC_PSERIES) += flash.o guest.o of.o hcalls.o
/linux-master/arch/mips/include/asm/
H A Dcpu-features.h666 #define cpu_guest_has_conf1 (cpu_data[0].guest.conf & (1 << 1))
669 #define cpu_guest_has_conf2 (cpu_data[0].guest.conf & (1 << 2))
672 #define cpu_guest_has_conf3 (cpu_data[0].guest.conf & (1 << 3))
675 #define cpu_guest_has_conf4 (cpu_data[0].guest.conf & (1 << 4))
678 #define cpu_guest_has_conf5 (cpu_data[0].guest.conf & (1 << 5))
681 #define cpu_guest_has_conf6 (cpu_data[0].guest.conf & (1 << 6))
684 #define cpu_guest_has_conf7 (cpu_data[0].guest.conf & (1 << 7))
687 #define cpu_guest_has_fpu (cpu_data[0].guest.options & MIPS_CPU_FPU)
690 #define cpu_guest_has_watch (cpu_data[0].guest.options & MIPS_CPU_WATCH)
693 #define cpu_guest_has_contextconfig (cpu_data[0].guest
[all...]
H A Dcpu-info.h104 struct guest_info guest; member in struct:cpuinfo_mips
/linux-master/drivers/media/pci/zoran/
H A Dzoran_device.h18 /* codec (or actually: guest bus) access */
20 int post_office_write(struct zoran *zr, unsigned int guest, unsigned int reg,
22 int post_office_read(struct zoran *zr, unsigned int guest, unsigned int reg);
/linux-master/fs/proc/
H A Dstat.c86 u64 guest, guest_nice; local
94 guest = guest_nice = 0;
113 guest += cpustat[CPUTIME_GUEST];
135 seq_put_decimal_ull(p, " ", nsec_to_clock_t(guest));
154 guest = cpustat[CPUTIME_GUEST];
165 seq_put_decimal_ull(p, " ", nsec_to_clock_t(guest));
/linux-master/arch/x86/include/asm/
H A Dspec-ctrl.h11 * the guest has, while on VMEXIT we restore the host view. This
14 * Takes the guest view of SPEC_CTRL MSR as a parameter and also
15 * the guest's version of VIRT_SPEC_CTRL, if emulated.
17 extern void x86_virt_spec_ctrl(u64 guest_virt_spec_ctrl, bool guest);
20 * x86_spec_ctrl_set_guest - Set speculation control registers for the guest
21 * @guest_spec_ctrl: The guest content of MSR_SPEC_CTRL
22 * @guest_virt_spec_ctrl: The guest controlled bits of MSR_VIRT_SPEC_CTRL
35 * @guest_spec_ctrl: The guest content of MSR_SPEC_CTRL
36 * @guest_virt_spec_ctrl: The guest controlled bits of MSR_VIRT_SPEC_CTRL
H A Dx86_init.h118 * @guest_late_init: guest late init
122 * @init_after_bootmem: guest init after boot allocator is finished
146 * struct x86_guest - Functions used by misc guest incarnations like SEV, TDX, etc.
317 struct x86_guest guest; member in struct:x86_platform_ops
/linux-master/arch/s390/kernel/
H A Dvtime.c127 u64 timer, clock, user, guest, system, hardirq, softirq; local
153 guest = update_tsk_timer(&tsk->thread.guest_timer,
162 clock - user - guest - system - hardirq - softirq;
170 if (guest) {
171 account_guest_time(tsk, cputime_to_nsecs(guest));
172 tsk->utimescaled += cputime_to_nsecs(scale_vtime(guest));
182 return virt_timer_forward(user + guest + system + hardirq + softirq);
H A Dentry.S181 * %r4 guest register save area
188 stg %r4,__SF_SIE_SAVEAREA(%r15) # save guest register save area
191 lmg %r0,%r13,0(%r4) # load guest gprs 0-13
207 # and handling it in a guest as result of the instruction execution.
229 lg %r14,__SF_SIE_SAVEAREA(%r15) # load guest register save area
230 stmg %r0,%r13,0(%r14) # save guest gprs 0-13
231 xgr %r0,%r0 # clear guest registers to
502 # would cause machine checks targeted at the guest to be
/linux-master/arch/mips/kernel/
H A Dcpu-probe.c798 * Probe for certain guest capabilities by writing config bits and reading back.
812 * Probe for dynamic guest capabilities by changing certain config bits and
832 c->guest.conf |= BIT(1);
845 c->guest.options |= MIPS_CPU_FPU;
847 c->guest.options_dyn |= MIPS_CPU_FPU;
850 c->guest.options |= MIPS_CPU_WATCH;
852 c->guest.options_dyn |= MIPS_CPU_WATCH;
855 c->guest.options |= MIPS_CPU_PERF;
857 c->guest.options_dyn |= MIPS_CPU_PERF;
860 c->guest
[all...]
/linux-master/arch/x86/kernel/fpu/
H A Dxstate.c1491 * @guest_fpu: Pointer to a guest FPU container. NULL for host allocations
1517 * When a guest FPU is supplied, use @guest_fpu->fpstate
1586 static int __xstate_request_perm(u64 permitted, u64 requested, bool guest) argument
1608 if (!guest)
1616 if (!guest) {
1622 perm = guest ? &fpu->guest_perm : &fpu->perm;
1638 static int xstate_request_perm(unsigned long idx, bool guest) argument
1659 permitted = xstate_get_group_perm(guest);
1665 permitted = xstate_get_group_perm(guest);
1668 if (guest
1726 xstate_request_perm(unsigned long idx, bool guest) argument
1760 bool guest = false; local
[all...]
/linux-master/tools/testing/selftests/tdx/
H A Dtdx_guest_test.c3 * Test TDX guest features
15 #include <linux/tdx-guest.h>
40 * struct reportmac - TDX guest report data, MAC and TEE hashes.
66 * struct td_info - TDX guest measurements and configuration.
71 * of the guest - e.g., run-time or OS configuration.
72 * @mrowner: Software-defined ID for the guest owner.
74 * the guest - e.g., specific to the workload.
78 * It contains the measurements and initial configuration of the TDX guest
/linux-master/arch/x86/mm/
H A Dmem_encrypt_amd.c466 x86_platform.guest.enc_status_change_prepare = amd_enc_status_change_prepare;
467 x86_platform.guest.enc_status_change_finish = amd_enc_status_change_finish;
468 x86_platform.guest.enc_tlb_flush_required = amd_enc_tlb_flush_required;
469 x86_platform.guest.enc_cache_flush_required = amd_enc_cache_flush_required;
/linux-master/tools/kvm/kvm_stat/
H A Dkvm_stat1010 * pid: 'key' is the pid of the guest, and the record contains the
1025 guest pid
1028 reading by guest values. Hence we have to remove the excess event
1114 # function to possibly extract the guest name
1139 """Fuzzy function to convert guest name to QEMU process pid.
1154 """Returns the guest name for a QEMU process pid.
1156 Extracts the guest name from the QEMU comma line by processing the
1171 # the '-name' switch allows for two ways to specify the guest name,
1172 # where the plain name overrides the name specified via 'guest='
1177 if arg[:6] == 'guest
[all...]
/linux-master/arch/arm64/kvm/
H A DMakefile15 guest.o debug.o reset.o sys_regs.o stacktrace.o \

Completed in 239 milliseconds

123