Defined in 1 files as a prototype:
Defined in 1 files as a macro:
Defined in 2 files as a function:
- include/linux/spinlock_api_up.h, line 121 (as a function)
- kernel/locking/spinlock.c, line 253 (as a function)
Referenced in 2 files:
Smatch caller information:
arch/x86/kvm/xen.c kvm_xen_update_runstate_guest() -> _raw_read_trylock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &v->kvm->srcu | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &v->kvm->arch.xen.xen_lock | ||
| HALF_LOCKED2 | &v->mutex | ||
| HALF_LOCKED2 | &vcpu->mutex | ||
| TYPE_LOCK | (struct kvm)->srcu |
arch/x86/kvm/xen.c kvm_xen_update_runstate_guest() -> _raw_read_trylock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &gpc1->lock | ||
| LOCK2 | &v->kvm->srcu | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &v->kvm->arch.xen.xen_lock | ||
| HALF_LOCKED2 | &v->mutex | ||
| HALF_LOCKED2 | &vcpu->mutex | ||
| TYPE_LOCK | (struct gfn_to_pfn_cache)->lock | ||
| TYPE_LOCK | (struct kvm)->srcu |
arch/x86/kvm/../../../virt/kvm/kvm_main.c kvm_vcpu_yield_to() -> _raw_read_trylock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lock | 4096-ptr_max |
lib/test_context-analysis.c test_read_lock_trylock() -> _raw_read_trylock()
| Type | Parameter | Key | Value |
|---|