Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
arch/x86/kvm/xen.c __kvm_xen_has_interrupt() -> kvm_gpc_refresh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpc | 4096-ptr_max |
| PARAM_VALUE | 0 | gpc->active | 1 |
| PARAM_VALUE | 0 | gpc->kvm | 4096-ptr_max |
| PARAM_VALUE | 0 | gpc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | len | 64 |
| BUF_SIZE | 0 | gpc | 304 |
| UNITS | 1 | len | unit_byte |
| HALF_LOCKED2 | &v->kvm->srcu | ||
| HALF_LOCKED2 | &v->mutex |
arch/x86/kvm/xen.c kvm_xen_inject_pending_events() -> kvm_gpc_refresh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpc | 4096-ptr_max |
| PARAM_VALUE | 0 | gpc->kvm | 4096-ptr_max |
| PARAM_VALUE | 0 | gpc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | len | 64 |
| BUF_SIZE | 0 | gpc | 304 |
| UNITS | 1 | len | unit_byte |
| LOCK2 | &v->kvm->srcu | ||
| LOCK2 | &v->mutex | ||
| TYPE_LOCK | (struct kvm)->srcu | ||
| TYPE_LOCK | (struct kvm_vcpu)->mutex |
arch/x86/kvm/xen.c kvm_xen_set_evtchn() -> kvm_gpc_refresh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpc | 4096-ptr_max |
| PARAM_VALUE | 0 | gpc->kvm | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 4096 |
| BUF_SIZE | 0 | gpc | 304 |
| UNITS | 1 | len | unit_byte |
| LOCK2 | &kvm->arch.xen.shinfo_cache.lock | ||
| LOCK2 | &kvm->srcu | ||
| TYPE_LOCK | (struct gfn_to_pfn_cache)->lock | ||
| TYPE_LOCK | (struct kvm)->srcu |
arch/x86/kvm/xen.c kvm_xen_shared_info_init() -> kvm_gpc_refresh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpc | 4096-ptr_max |
| PARAM_VALUE | 0 | gpc->active | 1 |
| PARAM_VALUE | 0 | gpc->kvm | 4096-ptr_max |
| PARAM_VALUE | 0 | gpc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | len | 4096 |
| BUF_SIZE | 0 | gpc | 304 |
| UNITS | 1 | len | unit_byte |
| LOCK2 | &kvm->arch.xen.xen_lock | ||
| LOCK2 | &kvm->srcu | ||
| TYPE_LOCK | (struct kvm)->srcu | ||
| TYPE_LOCK | (struct kvm_xen)->xen_lock |
arch/x86/kvm/xen.c kvm_xen_update_runstate_guest() -> kvm_gpc_refresh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpc | 4096-ptr_max |
| PARAM_VALUE | 0 | gpc->active | 1 |
| PARAM_VALUE | 0 | gpc->kvm | 4096-ptr_max |
| PARAM_VALUE | 0 | gpc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | len | 1-4096 |
| BUF_SIZE | 0 | gpc | 304 |
| NOSPEC | 0 | gpc->gpa | |
| NOSPEC | 0 | gpc->uhva | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | gpc->gpa | 0-18446744073709551614[c] |
| USER_DATA | 0 | gpc->pfn | 0-4503599627370494[c] |
| USER_DATA | 0 | gpc->uhva | 0-u64max[c] |
| USER_DATA | 1 | len | 2-4096[c] |
| UNITS | 1 | len | unit_byte |
| LOCK2 | &v->kvm->srcu | ||
| HALF_LOCKED2 | &v->kvm->arch.xen.xen_lock | ||
| HALF_LOCKED2 | &vcpu->mutex | ||
| TYPE_LOCK | (struct kvm)->srcu |
arch/x86/kvm/xen.c xen_get_guest_pvclock() -> kvm_gpc_refresh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpc | 4096-ptr_max |
| PARAM_VALUE | 0 | gpc->active | 1 |
| PARAM_VALUE | 0 | gpc->kvm | 4096-ptr_max |
| PARAM_VALUE | 0 | gpc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | len | 32,64 |
| DATA_SOURCE | 0 | gpc | $2 |
| UNITS | 1 | len | unit_byte |
| HALF_LOCKED2 | &vcpu->kvm->arch.xen.xen_lock | ||
| HALF_LOCKED2 | &vcpu->kvm->srcu | ||
| HALF_LOCKED2 | &vcpu->mutex |
arch/x86/kvm/x86.c kvm_setup_guest_pvclock() -> kvm_gpc_refresh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpc | 4096-ptr_max |
| PARAM_VALUE | 0 | gpc->active | 1 |
| PARAM_VALUE | 0 | gpc->kvm | 4096-ptr_max |
| PARAM_VALUE | 0 | gpc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | len | 32,64 |
| DATA_SOURCE | 0 | gpc | $2 |
| UNITS | 1 | len | unit_byte |
| LOCK2 | &vcpu->kvm->srcu | ||
| LOCK2 | &vcpu->mutex | ||
| TYPE_LOCK | (struct kvm)->srcu | ||
| TYPE_LOCK | (struct kvm_vcpu)->mutex |