guest 623 arch/mips/include/asm/cpu-features.h #define cpu_guest_has_conf1 (cpu_data[0].guest.conf & (1 << 1)) guest 626 arch/mips/include/asm/cpu-features.h #define cpu_guest_has_conf2 (cpu_data[0].guest.conf & (1 << 2)) guest 629 arch/mips/include/asm/cpu-features.h #define cpu_guest_has_conf3 (cpu_data[0].guest.conf & (1 << 3)) guest 632 arch/mips/include/asm/cpu-features.h #define cpu_guest_has_conf4 (cpu_data[0].guest.conf & (1 << 4)) guest 635 arch/mips/include/asm/cpu-features.h #define cpu_guest_has_conf5 (cpu_data[0].guest.conf & (1 << 5)) guest 638 arch/mips/include/asm/cpu-features.h #define cpu_guest_has_conf6 (cpu_data[0].guest.conf & (1 << 6)) guest 641 arch/mips/include/asm/cpu-features.h #define cpu_guest_has_conf7 (cpu_data[0].guest.conf & (1 << 7)) guest 644 arch/mips/include/asm/cpu-features.h #define cpu_guest_has_fpu (cpu_data[0].guest.options & MIPS_CPU_FPU) guest 647 arch/mips/include/asm/cpu-features.h #define cpu_guest_has_watch (cpu_data[0].guest.options & MIPS_CPU_WATCH) guest 650 arch/mips/include/asm/cpu-features.h #define cpu_guest_has_contextconfig (cpu_data[0].guest.options & MIPS_CPU_CTXTC) guest 653 arch/mips/include/asm/cpu-features.h #define cpu_guest_has_segments (cpu_data[0].guest.options & MIPS_CPU_SEGMENTS) guest 656 arch/mips/include/asm/cpu-features.h #define cpu_guest_has_badinstr (cpu_data[0].guest.options & MIPS_CPU_BADINSTR) guest 659 arch/mips/include/asm/cpu-features.h #define cpu_guest_has_badinstrp (cpu_data[0].guest.options & MIPS_CPU_BADINSTRP) guest 662 arch/mips/include/asm/cpu-features.h #define cpu_guest_has_htw (cpu_data[0].guest.options & MIPS_CPU_HTW) guest 665 arch/mips/include/asm/cpu-features.h #define cpu_guest_has_mvh (cpu_data[0].guest.options & MIPS_CPU_MVH) guest 668 arch/mips/include/asm/cpu-features.h #define cpu_guest_has_msa (cpu_data[0].guest.ases & MIPS_ASE_MSA) guest 671 arch/mips/include/asm/cpu-features.h #define cpu_guest_has_kscr(n) (cpu_data[0].guest.kscratch_mask & (1u << (n))) guest 674 arch/mips/include/asm/cpu-features.h #define cpu_guest_has_rw_llb (cpu_has_mips_r6 || (cpu_data[0].guest.options & MIPS_CPU_RW_LLB)) guest 677 arch/mips/include/asm/cpu-features.h #define cpu_guest_has_perf (cpu_data[0].guest.options & MIPS_CPU_PERF) guest 680 arch/mips/include/asm/cpu-features.h #define cpu_guest_has_maar (cpu_data[0].guest.options & MIPS_CPU_MAAR) guest 683 arch/mips/include/asm/cpu-features.h #define cpu_guest_has_userlocal (cpu_data[0].guest.options & MIPS_CPU_ULRI) guest 690 arch/mips/include/asm/cpu-features.h #define cpu_guest_has_dyn_fpu (cpu_data[0].guest.options_dyn & MIPS_CPU_FPU) guest 693 arch/mips/include/asm/cpu-features.h #define cpu_guest_has_dyn_watch (cpu_data[0].guest.options_dyn & MIPS_CPU_WATCH) guest 696 arch/mips/include/asm/cpu-features.h #define cpu_guest_has_dyn_contextconfig (cpu_data[0].guest.options_dyn & MIPS_CPU_CTXTC) guest 699 arch/mips/include/asm/cpu-features.h #define cpu_guest_has_dyn_perf (cpu_data[0].guest.options_dyn & MIPS_CPU_PERF) guest 702 arch/mips/include/asm/cpu-features.h #define cpu_guest_has_dyn_msa (cpu_data[0].guest.ases_dyn & MIPS_ASE_MSA) guest 705 arch/mips/include/asm/cpu-features.h #define cpu_guest_has_dyn_maar (cpu_data[0].guest.options_dyn & MIPS_CPU_MAAR) guest 104 arch/mips/include/asm/cpu-info.h struct guest_info guest; guest 1062 arch/mips/kernel/cpu-probe.c c->guest.conf |= BIT(1); guest 1075 arch/mips/kernel/cpu-probe.c c->guest.options |= MIPS_CPU_FPU; guest 1077 arch/mips/kernel/cpu-probe.c c->guest.options_dyn |= MIPS_CPU_FPU; guest 1080 arch/mips/kernel/cpu-probe.c c->guest.options |= MIPS_CPU_WATCH; guest 1082 arch/mips/kernel/cpu-probe.c c->guest.options_dyn |= MIPS_CPU_WATCH; guest 1085 arch/mips/kernel/cpu-probe.c c->guest.options |= MIPS_CPU_PERF; guest 1087 arch/mips/kernel/cpu-probe.c c->guest.options_dyn |= MIPS_CPU_PERF; guest 1090 arch/mips/kernel/cpu-probe.c c->guest.conf |= BIT(2); guest 1101 arch/mips/kernel/cpu-probe.c c->guest.conf |= BIT(3); guest 1114 arch/mips/kernel/cpu-probe.c c->guest.options |= MIPS_CPU_CTXTC; guest 1116 arch/mips/kernel/cpu-probe.c c->guest.options_dyn |= MIPS_CPU_CTXTC; guest 1119 arch/mips/kernel/cpu-probe.c c->guest.options |= MIPS_CPU_HTW; guest 1122 arch/mips/kernel/cpu-probe.c c->guest.options |= MIPS_CPU_ULRI; guest 1125 arch/mips/kernel/cpu-probe.c c->guest.options |= MIPS_CPU_SEGMENTS; guest 1128 arch/mips/kernel/cpu-probe.c c->guest.options |= MIPS_CPU_BADINSTR; guest 1130 arch/mips/kernel/cpu-probe.c c->guest.options |= MIPS_CPU_BADINSTRP; guest 1133 arch/mips/kernel/cpu-probe.c c->guest.ases |= MIPS_ASE_MSA; guest 1135 arch/mips/kernel/cpu-probe.c c->guest.ases_dyn |= MIPS_ASE_MSA; guest 1138 arch/mips/kernel/cpu-probe.c c->guest.conf |= BIT(4); guest 1149 arch/mips/kernel/cpu-probe.c c->guest.kscratch_mask = (config4 & MIPS_CONF4_KSCREXIST) guest 1153 arch/mips/kernel/cpu-probe.c c->guest.conf |= BIT(5); guest 1165 arch/mips/kernel/cpu-probe.c c->guest.options |= MIPS_CPU_MAAR; guest 1167 arch/mips/kernel/cpu-probe.c c->guest.options_dyn |= MIPS_CPU_MAAR; guest 1170 arch/mips/kernel/cpu-probe.c c->guest.options |= MIPS_CPU_RW_LLB; guest 1173 arch/mips/kernel/cpu-probe.c c->guest.options |= MIPS_CPU_MVH; guest 1176 arch/mips/kernel/cpu-probe.c c->guest.conf |= BIT(6); guest 478 arch/mips/kvm/tlb.c for (entry = 0; entry < current_cpu_data.guest.tlbsize; entry++) { guest 1713 arch/mips/kvm/vz.c ret += __arch_hweight8(cpu_data[0].guest.kscratch_mask); guest 2803 arch/mips/kvm/vz.c current_cpu_data.guest.tlbsize = guest_mmu_size; guest 2819 arch/mips/kvm/vz.c current_cpu_data.guest.tlbsize = guest_mmu_size + ftlb_size; guest 2829 arch/mips/kvm/vz.c current_cpu_data.guest.tlbsize = guest_mmu_size + ftlb_size; guest 2902 arch/mips/kvm/vz.c current_cpu_data.guest.tlbsize = 0; guest 127 arch/s390/kernel/vtime.c u64 timer, clock, user, guest, system, hardirq, softirq; guest 156 arch/s390/kernel/vtime.c guest = update_tsk_timer(&tsk->thread.guest_timer, guest 165 arch/s390/kernel/vtime.c clock - user - guest - system - hardirq - softirq; guest 173 arch/s390/kernel/vtime.c if (guest) { guest 174 arch/s390/kernel/vtime.c account_guest_time(tsk, cputime_to_nsecs(guest)); guest 175 arch/s390/kernel/vtime.c tsk->utimescaled += cputime_to_nsecs(scale_vtime(guest)); guest 185 arch/s390/kernel/vtime.c return virt_timer_forward(user + guest + system + hardirq + softirq); guest 3342 arch/x86/events/intel/core.c arr[0].guest = x86_pmu.intel_ctrl & ~cpuc->intel_ctrl_host_mask; guest 3344 arch/x86/events/intel/core.c arr[0].guest &= ~cpuc->pebs_enabled; guest 3346 arch/x86/events/intel/core.c arr[0].guest &= ~(cpuc->pebs_enabled & PEBS_COUNTER_MASK); guest 3360 arch/x86/events/intel/core.c arr[1].guest = 0; guest 3377 arch/x86/events/intel/core.c arr[idx].host = arr[idx].guest = 0; guest 3382 arch/x86/events/intel/core.c arr[idx].host = arr[idx].guest = guest 3388 arch/x86/events/intel/core.c arr[idx].guest &= ~ARCH_PERFMON_EVENTSEL_ENABLE; guest 322 arch/x86/include/asm/perf_event.h u64 host, guest; guest 16 arch/x86/include/asm/spec-ctrl.h extern void x86_virt_spec_ctrl(u64 guest_spec_ctrl, u64 guest_virt_spec_ctrl, bool guest); guest 6301 arch/x86/kvm/svm.c u64 guest; guest 6304 arch/x86/kvm/svm.c guest = GET_SMSTATE(u64, smstate, 0x7ed8); guest 6307 arch/x86/kvm/svm.c if (guest) { guest 2024 arch/x86/kvm/vmx/nested.c vmcs_write64(VM_ENTRY_MSR_LOAD_ADDR, __pa(vmx->msr_autoload.guest.val)); guest 2290 arch/x86/kvm/vmx/nested.c vmcs_write32(VM_ENTRY_MSR_LOAD_COUNT, vmx->msr_autoload.guest.nr); guest 2834 arch/x86/kvm/vmx/nested.c if (vmx->msr_autoload.guest.nr) guest 2893 arch/x86/kvm/vmx/nested.c if (vmx->msr_autoload.guest.nr) guest 2894 arch/x86/kvm/vmx/nested.c vmcs_write32(VM_ENTRY_MSR_LOAD_COUNT, vmx->msr_autoload.guest.nr); guest 3948 arch/x86/kvm/vmx/nested.c for (i = 0; i < vmx->msr_autoload.guest.nr; ++i) { guest 3949 arch/x86/kvm/vmx/nested.c if (vmx->msr_autoload.guest.val[i].index == MSR_EFER) guest 3950 arch/x86/kvm/vmx/nested.c return vmx->msr_autoload.guest.val[i].value; guest 4123 arch/x86/kvm/vmx/nested.c vmcs_write32(VM_ENTRY_MSR_LOAD_COUNT, vmx->msr_autoload.guest.nr); guest 4405 arch/x86/kvm/vmx/nested.c vmx->pt_desc.guest.ctl = 0; guest 849 arch/x86/kvm/vmx/vmx.c i = find_msr(&m->guest, msr); guest 852 arch/x86/kvm/vmx/vmx.c --m->guest.nr; guest 853 arch/x86/kvm/vmx/vmx.c m->guest.val[i] = m->guest.val[m->guest.nr]; guest 854 arch/x86/kvm/vmx/vmx.c vmcs_write32(VM_ENTRY_MSR_LOAD_COUNT, m->guest.nr); guest 916 arch/x86/kvm/vmx/vmx.c i = find_msr(&m->guest, msr); guest 920 arch/x86/kvm/vmx/vmx.c if ((i < 0 && m->guest.nr == NR_AUTOLOAD_MSRS) || guest 927 arch/x86/kvm/vmx/vmx.c i = m->guest.nr++; guest 928 arch/x86/kvm/vmx/vmx.c vmcs_write32(VM_ENTRY_MSR_LOAD_COUNT, m->guest.nr); guest 930 arch/x86/kvm/vmx/vmx.c m->guest.val[i].index = msr; guest 931 arch/x86/kvm/vmx/vmx.c m->guest.val[i].value = guest_val; guest 1059 arch/x86/kvm/vmx/vmx.c if (vmx->pt_desc.guest.ctl & RTIT_CTL_TRACEEN) { guest 1062 arch/x86/kvm/vmx/vmx.c pt_load_msr(&vmx->pt_desc.guest, vmx->pt_desc.addr_range); guest 1071 arch/x86/kvm/vmx/vmx.c if (vmx->pt_desc.guest.ctl & RTIT_CTL_TRACEEN) { guest 1072 arch/x86/kvm/vmx/vmx.c pt_save_msr(&vmx->pt_desc.guest, vmx->pt_desc.addr_range); guest 1482 arch/x86/kvm/vmx/vmx.c if ((vmx->pt_desc.guest.ctl & RTIT_CTL_TRACEEN) && guest 1483 arch/x86/kvm/vmx/vmx.c ((vmx->pt_desc.guest.ctl ^ data) & ~RTIT_CTL_TRACEEN)) guest 1825 arch/x86/kvm/vmx/vmx.c msr_info->data = vmx->pt_desc.guest.ctl; guest 1830 arch/x86/kvm/vmx/vmx.c msr_info->data = vmx->pt_desc.guest.status; guest 1837 arch/x86/kvm/vmx/vmx.c msr_info->data = vmx->pt_desc.guest.cr3_match; guest 1846 arch/x86/kvm/vmx/vmx.c msr_info->data = vmx->pt_desc.guest.output_base; guest 1855 arch/x86/kvm/vmx/vmx.c msr_info->data = vmx->pt_desc.guest.output_mask; guest 1864 arch/x86/kvm/vmx/vmx.c msr_info->data = vmx->pt_desc.guest.addr_b[index / 2]; guest 1866 arch/x86/kvm/vmx/vmx.c msr_info->data = vmx->pt_desc.guest.addr_a[index / 2]; guest 2082 arch/x86/kvm/vmx/vmx.c vmx->pt_desc.guest.ctl = data; guest 2087 arch/x86/kvm/vmx/vmx.c (vmx->pt_desc.guest.ctl & RTIT_CTL_TRACEEN) || guest 2090 arch/x86/kvm/vmx/vmx.c vmx->pt_desc.guest.status = data; guest 2094 arch/x86/kvm/vmx/vmx.c (vmx->pt_desc.guest.ctl & RTIT_CTL_TRACEEN) || guest 2098 arch/x86/kvm/vmx/vmx.c vmx->pt_desc.guest.cr3_match = data; guest 2102 arch/x86/kvm/vmx/vmx.c (vmx->pt_desc.guest.ctl & RTIT_CTL_TRACEEN) || guest 2109 arch/x86/kvm/vmx/vmx.c vmx->pt_desc.guest.output_base = data; guest 2113 arch/x86/kvm/vmx/vmx.c (vmx->pt_desc.guest.ctl & RTIT_CTL_TRACEEN) || guest 2119 arch/x86/kvm/vmx/vmx.c vmx->pt_desc.guest.output_mask = data; guest 2124 arch/x86/kvm/vmx/vmx.c (vmx->pt_desc.guest.ctl & RTIT_CTL_TRACEEN) || guest 2131 arch/x86/kvm/vmx/vmx.c vmx->pt_desc.guest.addr_b[index / 2] = data; guest 2133 arch/x86/kvm/vmx/vmx.c vmx->pt_desc.guest.addr_a[index / 2] = data; guest 3716 arch/x86/kvm/vmx/vmx.c bool flag = !(vmx->pt_desc.guest.ctl & RTIT_CTL_TRACEEN); guest 4205 arch/x86/kvm/vmx/vmx.c vmcs_write64(VM_ENTRY_MSR_LOAD_ADDR, __pa(vmx->msr_autoload.guest.val)); guest 4249 arch/x86/kvm/vmx/vmx.c vmx->pt_desc.guest.output_mask = 0x7F; guest 6423 arch/x86/kvm/vmx/vmx.c if (msrs[i].host == msrs[i].guest) guest 6426 arch/x86/kvm/vmx/vmx.c add_atomic_switch_msr(vmx, msrs[i].msr, msrs[i].guest, guest 87 arch/x86/kvm/vmx/vmx.h struct pt_ctx guest; guest 229 arch/x86/kvm/vmx/vmx.h struct vmx_msrs guest; guest 551 drivers/gpu/drm/i915/gvt/gtt.c bool guest) guest 558 drivers/gpu/drm/i915/gvt/gtt.c pte_ops->get_entry(guest ? mm->ppgtt_mm.guest_pdps : guest 578 drivers/gpu/drm/i915/gvt/gtt.c bool guest) guest 582 drivers/gpu/drm/i915/gvt/gtt.c pte_ops->set_entry(guest ? mm->ppgtt_mm.guest_pdps : guest 649 drivers/gpu/drm/i915/gvt/gtt.c bool guest) guest 660 drivers/gpu/drm/i915/gvt/gtt.c ret = ops->get_entry(page_table, e, index, guest, guest 666 drivers/gpu/drm/i915/gvt/gtt.c update_entry_type_for_real(ops, e, guest ? guest 678 drivers/gpu/drm/i915/gvt/gtt.c bool guest) guest 689 drivers/gpu/drm/i915/gvt/gtt.c return ops->set_entry(page_table, e, index, guest, guest 2040 drivers/gpu/drm/i915/gvt/gtt.c struct intel_gvt_gtt_entry *e, unsigned long index, bool guest) guest 2050 drivers/gpu/drm/i915/gvt/gtt.c if (!guest) guest 1535 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c &cmd->body.guest.ptr, &vmw_bo); guest 1541 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c if (unlikely(cmd->body.guest.ptr.offset > bo_size)) { guest 1546 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c bo_size -= cmd->body.guest.ptr.offset; guest 182 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c if (cmd->dma.guest.ptr.offset % PAGE_SIZE || guest 194 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c cmd->dma.guest.ptr.offset); guest 198 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c kmap_offset = cmd->dma.guest.ptr.offset >> PAGE_SHIFT; guest 213 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c if (box->w == 64 && cmd->dma.guest.pitch == 64*4) { guest 219 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c virtual + i * cmd->dma.guest.pitch, guest 508 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c vmw_bo_get_guest_ptr(&ddirty->buf->base, &cmd->body.guest.ptr); guest 509 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c cmd->body.guest.pitch = ddirty->pitch; guest 1213 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c vmw_bo_get_guest_ptr(&vfbbo->buffer->base, &cmd_dma->body.guest.ptr); guest 1214 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c cmd_dma->body.guest.pitch = update->vfb->base.pitches[0]; guest 295 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c body->guest.ptr = *ptr; guest 296 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c body->guest.ptr.offset += cur_offset->bo_offset; guest 297 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c body->guest.pitch = svga3dsurface_calculate_pitch(desc, guest 317 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c body->guest.pitch); guest 477 drivers/misc/cxl/cxl.h struct cxl_afu_guest *guest; guest 678 drivers/misc/cxl/cxl.h struct cxl_guest *guest; guest 190 drivers/misc/cxl/flash.c unwa->unit_address = cpu_to_be64(adapter->guest->handle); guest 244 drivers/misc/cxl/flash.c header->vendor = cpu_to_be16(adapter->guest->vendor); guest 245 drivers/misc/cxl/flash.c header->device = cpu_to_be16(adapter->guest->device); guest 246 drivers/misc/cxl/flash.c header->subsystem_vendor = cpu_to_be16(adapter->guest->subsystem_vendor); guest 247 drivers/misc/cxl/flash.c header->subsystem = cpu_to_be16(adapter->guest->subsystem); guest 311 drivers/misc/cxl/flash.c rc = fct(adapter->guest->handle, virt_to_phys(le), entries, guest 334 drivers/misc/cxl/flash.c cxl_h_reset_adapter(adapter->guest->handle); guest 343 drivers/misc/cxl/flash.c cxl_h_reset_adapter(adapter->guest->handle); guest 352 drivers/misc/cxl/flash.c cxl_h_reset_adapter(adapter->guest->handle); guest 506 drivers/misc/cxl/flash.c cxl_h_reset_adapter(adapter->guest->handle); guest 523 drivers/misc/cxl/flash.c cdev_del(&adapter->guest->cdev); guest 532 drivers/misc/cxl/flash.c cdev_init(&adapter->guest->cdev, &fops); guest 533 drivers/misc/cxl/flash.c if ((rc = cdev_add(&adapter->guest->cdev, devt, 1))) { guest 111 drivers/misc/cxl/guest.c rc = cxl_h_collect_vpd_adapter(adapter->guest->handle, guest 114 drivers/misc/cxl/guest.c rc = cxl_h_collect_vpd(afu->guest->handle, 0, guest 152 drivers/misc/cxl/guest.c return cxl_h_collect_int_info(ctx->afu->guest->handle, ctx->process_token, info); guest 180 drivers/misc/cxl/guest.c rc = cxl_h_read_error_state(afu->guest->handle, &state); guest 197 drivers/misc/cxl/guest.c rc = cxl_h_get_fn_error_interrupt(afu->guest->handle, &serr); guest 208 drivers/misc/cxl/guest.c rc = cxl_h_ack_fn_error_interrupt(afu->guest->handle, serr); guest 222 drivers/misc/cxl/guest.c for (i = 0; i < adapter->guest->irq_nranges; i++) { guest 223 drivers/misc/cxl/guest.c cur = &adapter->guest->irq_avail[i]; guest 246 drivers/misc/cxl/guest.c for (i = 0; i < adapter->guest->irq_nranges; i++) { guest 247 drivers/misc/cxl/guest.c cur = &adapter->guest->irq_avail[i]; guest 275 drivers/misc/cxl/guest.c rc = cxl_h_reset_adapter(adapter->guest->handle); guest 291 drivers/misc/cxl/guest.c spin_lock(&adapter->guest->irq_alloc_lock); guest 294 drivers/misc/cxl/guest.c spin_unlock(&adapter->guest->irq_alloc_lock); guest 300 drivers/misc/cxl/guest.c spin_lock(&adapter->guest->irq_alloc_lock); guest 302 drivers/misc/cxl/guest.c spin_unlock(&adapter->guest->irq_alloc_lock); guest 312 drivers/misc/cxl/guest.c spin_lock(&adapter->guest->irq_alloc_lock); guest 328 drivers/misc/cxl/guest.c spin_unlock(&adapter->guest->irq_alloc_lock); guest 334 drivers/misc/cxl/guest.c spin_unlock(&adapter->guest->irq_alloc_lock); guest 343 drivers/misc/cxl/guest.c spin_lock(&adapter->guest->irq_alloc_lock); guest 346 drivers/misc/cxl/guest.c spin_unlock(&adapter->guest->irq_alloc_lock); guest 375 drivers/misc/cxl/guest.c return cxl_h_control_faults(ctx->afu->guest->handle, ctx->process_token, guest 428 drivers/misc/cxl/guest.c rc = cxl_h_get_config(afu->guest->handle, cr_idx, offset, guest 575 drivers/misc/cxl/guest.c idx = ctx->irqs.offset[r] + i - adapter->guest->irq_base_offset; guest 585 drivers/misc/cxl/guest.c rc = cxl_h_attach_process(ctx->afu->guest->handle, elem, guest 637 drivers/misc/cxl/guest.c if (cxl_h_detach_process(ctx->afu->guest->handle, ctx->process_token)) guest 664 drivers/misc/cxl/guest.c kfree(afu->guest); guest 684 drivers/misc/cxl/guest.c rc = cxl_h_get_afu_err(afu->guest->handle, guest 802 drivers/misc/cxl/guest.c return cxl_h_reset_afu(afu->guest->handle); guest 807 drivers/misc/cxl/guest.c if (!(afu->p2n_mmio = ioremap(afu->guest->p2n_phys, afu->guest->p2n_size))) { guest 829 drivers/misc/cxl/guest.c if (afu->guest->previous_state == cur_state) guest 836 drivers/misc/cxl/guest.c afu->guest->previous_state = cur_state; guest 853 drivers/misc/cxl/guest.c afu->guest->previous_state = 0; guest 857 drivers/misc/cxl/guest.c afu->guest->previous_state = cur_state; guest 864 drivers/misc/cxl/guest.c afu->guest->previous_state = cur_state; guest 927 drivers/misc/cxl/guest.c if (!(afu->guest = kzalloc(sizeof(struct cxl_afu_guest), GFP_KERNEL))) { guest 991 drivers/misc/cxl/guest.c afu->guest->parent = afu; guest 992 drivers/misc/cxl/guest.c afu->guest->handle_err = true; guest 993 drivers/misc/cxl/guest.c INIT_DELAYED_WORK(&afu->guest->work_err, afu_handle_errstate); guest 994 drivers/misc/cxl/guest.c schedule_delayed_work(&afu->guest->work_err, msecs_to_jiffies(1000)); guest 1011 drivers/misc/cxl/guest.c kfree(afu->guest); guest 1023 drivers/misc/cxl/guest.c afu->guest->handle_err = false; guest 1024 drivers/misc/cxl/guest.c flush_delayed_work(&afu->guest->work_err); guest 1046 drivers/misc/cxl/guest.c if (adapter->guest) { guest 1047 drivers/misc/cxl/guest.c if (adapter->guest->irq_avail) { guest 1048 drivers/misc/cxl/guest.c for (i = 0; i < adapter->guest->irq_nranges; i++) { guest 1049 drivers/misc/cxl/guest.c cur = &adapter->guest->irq_avail[i]; guest 1052 drivers/misc/cxl/guest.c kfree(adapter->guest->irq_avail); guest 1054 drivers/misc/cxl/guest.c kfree(adapter->guest->status); guest 1055 drivers/misc/cxl/guest.c kfree(adapter->guest); guest 1066 drivers/misc/cxl/guest.c if (strlen(adapter->guest->status) && guest 1067 drivers/misc/cxl/guest.c strcmp(adapter->guest->status, "okay")) { guest 1104 drivers/misc/cxl/guest.c if (!(adapter->guest = kzalloc(sizeof(struct cxl_guest), GFP_KERNEL))) { guest 1110 drivers/misc/cxl/guest.c adapter->guest->pdev = pdev; guest 1162 drivers/misc/cxl/guest.c pdev = adapter->guest->pdev; guest 88 drivers/misc/cxl/of.c afu->guest->handle = addr; guest 91 drivers/misc/cxl/of.c afu->guest->p2n_phys += addr; guest 92 drivers/misc/cxl/of.c afu->guest->p2n_size = size; guest 133 drivers/misc/cxl/of.c if (read_handle(afu_np, &afu->guest->handle)) guest 135 drivers/misc/cxl/of.c pr_devel("AFU handle: 0x%.16llx\n", afu->guest->handle); guest 190 drivers/misc/cxl/of.c read_prop_dword(np, "ibm,max-ints-per-process", &afu->guest->max_ints); guest 191 drivers/misc/cxl/of.c afu->irqs_max = afu->guest->max_ints; guest 269 drivers/misc/cxl/of.c pr_devel("AFU handle: %#llx\n", afu->guest->handle); guest 271 drivers/misc/cxl/of.c afu->guest->p2n_phys, afu->guest->p2n_size); guest 301 drivers/misc/cxl/of.c adapter->guest->irq_avail = kcalloc(nranges, sizeof(struct irq_avail), guest 303 drivers/misc/cxl/of.c if (adapter->guest->irq_avail == NULL) guest 306 drivers/misc/cxl/of.c adapter->guest->irq_base_offset = be32_to_cpu(ranges[0]); guest 308 drivers/misc/cxl/of.c cur = &adapter->guest->irq_avail[i]; guest 315 drivers/misc/cxl/of.c if (cur->offset < adapter->guest->irq_base_offset) guest 316 drivers/misc/cxl/of.c adapter->guest->irq_base_offset = cur->offset; guest 322 drivers/misc/cxl/of.c adapter->guest->irq_nranges = nranges; guest 323 drivers/misc/cxl/of.c spin_lock_init(&adapter->guest->irq_alloc_lock); guest 328 drivers/misc/cxl/of.c cur = &adapter->guest->irq_avail[i]; guest 331 drivers/misc/cxl/of.c kfree(adapter->guest->irq_avail); guest 332 drivers/misc/cxl/of.c adapter->guest->irq_avail = NULL; guest 338 drivers/misc/cxl/of.c if (read_handle(np, &adapter->guest->handle)) guest 340 drivers/misc/cxl/of.c pr_devel("Adapter handle: 0x%.16llx\n", adapter->guest->handle); guest 402 drivers/misc/cxl/of.c adapter->guest->status = kasprintf(GFP_KERNEL, "%s", (char *) prop); guest 403 drivers/misc/cxl/of.c if (adapter->guest->status == NULL) guest 409 drivers/misc/cxl/of.c adapter->guest->vendor = val; guest 413 drivers/misc/cxl/of.c adapter->guest->device = val; guest 423 drivers/misc/cxl/of.c adapter->guest->subsystem_vendor = val; guest 427 drivers/misc/cxl/of.c adapter->guest->subsystem = val; guest 308 drivers/misc/cxl/sysfs.c if (irqs_max > afu->guest->max_ints) guest 111 fs/proc/stat.c u64 guest, guest_nice; guest 119 fs/proc/stat.c guest = guest_nice = 0; guest 133 fs/proc/stat.c guest += kcs->cpustat[CPUTIME_GUEST]; guest 155 fs/proc/stat.c seq_put_decimal_ull(p, " ", nsec_to_clock_t(guest)); guest 171 fs/proc/stat.c guest = kcs->cpustat[CPUTIME_GUEST]; guest 182 fs/proc/stat.c seq_put_decimal_ull(p, " ", nsec_to_clock_t(guest)); guest 424 tools/perf/util/evsel.c MOD_PRINT(guest, 'G'); guest 295 tools/virtio/ringtest/main.c pthread_t host, guest; guest 383 tools/virtio/ringtest/main.c ret = pthread_create(&guest, NULL, start_guest, guest_arg); guest 386 tools/virtio/ringtest/main.c ret = pthread_join(guest, &tret); guest 65 tools/virtio/ringtest/ring.c } guest; guest 92 tools/virtio/ringtest/ring.c guest.avail_idx = 0; guest 93 tools/virtio/ringtest/ring.c guest.kicked_avail_idx = -1; guest 94 tools/virtio/ringtest/ring.c guest.last_used_idx = 0; guest 103 tools/virtio/ringtest/ring.c guest.num_free = ring_size; guest 116 tools/virtio/ringtest/ring.c if (!guest.num_free) guest 119 tools/virtio/ringtest/ring.c guest.num_free--; guest 120 tools/virtio/ringtest/ring.c head = (ring_size - 1) & (guest.avail_idx++); guest 145 tools/virtio/ringtest/ring.c unsigned head = (ring_size - 1) & guest.last_used_idx; guest 159 tools/virtio/ringtest/ring.c guest.num_free++; guest 160 tools/virtio/ringtest/ring.c guest.last_used_idx++; guest 166 tools/virtio/ringtest/ring.c unsigned head = (ring_size - 1) & guest.last_used_idx; guest 180 tools/virtio/ringtest/ring.c event->call_index = guest.last_used_idx; guest 195 tools/virtio/ringtest/ring.c guest.avail_idx, guest 196 tools/virtio/ringtest/ring.c guest.kicked_avail_idx); guest 198 tools/virtio/ringtest/ring.c guest.kicked_avail_idx = guest.avail_idx; guest 52 tools/virtio/ringtest/virtio_ring_0_9.c } guest; guest 78 tools/virtio/ringtest/virtio_ring_0_9.c guest.avail_idx = 0; guest 79 tools/virtio/ringtest/virtio_ring_0_9.c guest.kicked_avail_idx = -1; guest 80 tools/virtio/ringtest/virtio_ring_0_9.c guest.last_used_idx = 0; guest 83 tools/virtio/ringtest/virtio_ring_0_9.c guest.free_head = 0; guest 89 tools/virtio/ringtest/virtio_ring_0_9.c guest.num_free = ring_size; guest 107 tools/virtio/ringtest/virtio_ring_0_9.c if (!guest.num_free) guest 111 tools/virtio/ringtest/virtio_ring_0_9.c head = (ring_size - 1) & (guest.avail_idx++); guest 113 tools/virtio/ringtest/virtio_ring_0_9.c head = guest.free_head; guest 115 tools/virtio/ringtest/virtio_ring_0_9.c guest.num_free--; guest 127 tools/virtio/ringtest/virtio_ring_0_9.c guest.free_head = desc[head].next; guest 135 tools/virtio/ringtest/virtio_ring_0_9.c avail = guest.avail_idx++; guest 142 tools/virtio/ringtest/virtio_ring_0_9.c avail = (ring_size - 1) & (guest.avail_idx++); guest 148 tools/virtio/ringtest/virtio_ring_0_9.c ring.avail->idx = guest.avail_idx; guest 159 tools/virtio/ringtest/virtio_ring_0_9.c head = (ring_size - 1) & guest.last_used_idx; guest 161 tools/virtio/ringtest/virtio_ring_0_9.c if ((index ^ guest.last_used_idx ^ 0x8000) & ~(ring_size - 1)) guest 167 tools/virtio/ringtest/virtio_ring_0_9.c if (ring.used->idx == guest.last_used_idx) guest 172 tools/virtio/ringtest/virtio_ring_0_9.c head = (ring_size - 1) & guest.last_used_idx; guest 175 tools/virtio/ringtest/virtio_ring_0_9.c head = (ring_size - 1) & guest.last_used_idx; guest 189 tools/virtio/ringtest/virtio_ring_0_9.c ring.desc[index].next = guest.free_head; guest 190 tools/virtio/ringtest/virtio_ring_0_9.c guest.free_head = index; guest 192 tools/virtio/ringtest/virtio_ring_0_9.c guest.num_free++; guest 193 tools/virtio/ringtest/virtio_ring_0_9.c guest.last_used_idx++; guest 199 tools/virtio/ringtest/virtio_ring_0_9.c unsigned short last_used_idx = guest.last_used_idx; guest 219 tools/virtio/ringtest/virtio_ring_0_9.c vring_used_event(&ring) = guest.last_used_idx; guest 234 tools/virtio/ringtest/virtio_ring_0_9.c guest.avail_idx, guest 235 tools/virtio/ringtest/virtio_ring_0_9.c guest.kicked_avail_idx); guest 237 tools/virtio/ringtest/virtio_ring_0_9.c guest.kicked_avail_idx = guest.avail_idx;