Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

arch/x86/kvm/vmx/nested.c handle_vmptrld() -> kvm_read_guest_cached()

Type Parameter Key Value
PARAM_VALUE 0 kvm 4096-ptr_max
PARAM_VALUE 1 ghc 4096-ptr_max
PARAM_VALUE 3 len 4096
BUF_SIZE 1 ghc 40
UNITS 0 kvm unit_byte

arch/x86/kvm/vmx/nested.c nested_cache_shadow_vmcs12() -> kvm_read_guest_cached()

Type Parameter Key Value
PARAM_VALUE 0 kvm 4096-ptr_max
PARAM_VALUE 0 kvm->arch.apic_map->xapic_flat_map->lapic_timer.timer_advance_ns 0-4294967295
PARAM_VALUE 0 kvm->arch.apic_map->xapic_flat_map->lapic_timer.timer_mode 0-4294967295
PARAM_VALUE 0 kvm->arch.apic_map->xapic_flat_map->lapic_timer.timer_mode_mask 0-4294967295
PARAM_VALUE 0 kvm->srcu.dep_map->name 0-255
PARAM_VALUE 1 ghc 4096-ptr_max
PARAM_VALUE 3 len 4096
BUF_SIZE 1 ghc 40
NOCHECK_CALL
UNITS 0 kvm unit_byte

arch/x86/kvm/hyperv.c kvm_hv_get_assist_page() -> kvm_read_guest_cached()

Type Parameter Key Value
PARAM_VALUE 0 kvm->arch.apic_map->xapic_flat_map->lapic_timer.timer_advance_ns 0-4294967295
PARAM_VALUE 0 kvm->arch.apic_map->xapic_flat_map->lapic_timer.timer_mode 0-4294967295
PARAM_VALUE 0 kvm->arch.apic_map->xapic_flat_map->lapic_timer.timer_mode_mask 0-4294967295
PARAM_VALUE 0 kvm->arch.apicv_update_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 kvm->arch.apicv_update_lock.first_waiter->type 0-1
PARAM_VALUE 1 ghc 4096-ptr_max
PARAM_VALUE 2 data 4096-ptr_max
PARAM_VALUE 3 len 624
BUF_SIZE 2 data 624
NO_OVERFLOW_SIMPLE 0 kvm->arch.split_desc_cache.kmem_cache->sheaf_capacity
NO_OVERFLOW_SIMPLE 0 kvm->arch.split_page_header_cache.kmem_cache->sheaf_capacity
NO_OVERFLOW_SIMPLE 0 kvm->arch.split_shadow_page_cache.kmem_cache->sheaf_capacity
UNITS 0 kvm unit_byte
UNITS 3 len unit_byte
HALF_LOCKED2 0 &kvm->srcu

arch/x86/kvm/lapic.c kvm_lapic_sync_from_vapic() -> kvm_read_guest_cached()

Type Parameter Key Value
PARAM_VALUE 1 ghc 4096-ptr_max
PARAM_VALUE 2 data 2037566737775742976
PARAM_VALUE 3 len 4
BUF_SIZE 2 data 4
UNITS 0 kvm unit_byte
UNITS 3 len unit_byte

arch/x86/kvm/lapic.c pv_eoi_get_user() -> kvm_read_guest_cached()

Type Parameter Key Value
PARAM_VALUE 0 kvm 4096-ptr_max
PARAM_VALUE 0 kvm->arch.apic_map->xapic_flat_map->lapic_timer.timer_advance_ns 0-5000
PARAM_VALUE 0 kvm->arch.apic_map->xapic_flat_map->lapic_timer.timer_mode_mask 0,131072,393216
PARAM_VALUE 0 kvm->arch.apicv_update_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 kvm->arch.apicv_update_lock.first_waiter->type 0-1
PARAM_VALUE 0 kvm->arch.irqchip_mode 0,2-u32max
PARAM_VALUE 0 kvm->arch.nx_once.state.counter 2
PARAM_VALUE 0 kvm->arch.vpic->output 0-1
PARAM_VALUE 0 kvm->arch.xen.shinfo_cache.memslot->npages 0-4503599627370495
PARAM_VALUE 0 kvm->irq_routing->nr_rt_entries 0-4096
PARAM_VALUE 0 kvm->srcu.srcu_ctrp 4096-ptr_max
PARAM_VALUE 1 ghc 4096-ptr_max
PARAM_VALUE 2 data 4404088392795377664
PARAM_VALUE 3 len 1
CAPPED_DATA 0 kvm 1
CAPPED_DATA 0 kvm->mm 1
CAPPED_DATA 0 kvm->srcu.srcu_ctrp 1
DATA_SOURCE 2 data $1
UNITS 0 kvm unit_byte
UNITS 3 len unit_byte
LOCK2 &vcpu->mutex
LOCK2 0 &kvm->srcu
TYPE_LOCK (struct kvm)->srcu
TYPE_LOCK (struct kvm_vcpu)->mutex