Documented in 1 files:
Defined in 1 files as a function:
Referenced in 3 files:
- include/linux/atomic/atomic-arch-fallback.h, line 2206
- include/linux/atomic/atomic-instrumented.h, line 1237
- include/linux/atomic/atomic-long.h, line 1413
Smatch caller information:
lib/atomic64_test.c atomic_cmpxchg_release() -> raw_atomic_cmpxchg_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 244908970501345280 |
| PARAM_VALUE | 0 | v->counter | (-1432153289) |
| PARAM_VALUE | 1 | old | (-1432153289),286335522 |
| PARAM_VALUE | 2 | new | (-559038737) |
| DATA_SOURCE | 0 | v | $0 |
| DATA_SOURCE | 1 | old | $1 |
| DATA_SOURCE | 2 | new | $2 |
| HARD_MAX | 1 | old | 286335522 |
arch/x86/kvm/lapic.c atomic_cmpxchg_release() -> raw_atomic_cmpxchg_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 0 | v->counter | 0-s32max |
| PARAM_VALUE | 1 | old | 1 |
| PARAM_VALUE | 2 | new | 0 |
| DATA_SOURCE | 0 | v | $0 |
| DATA_SOURCE | 1 | old | $1 |
| DATA_SOURCE | 2 | new | $2 |
| LOCK2 | &kvm->arch.apic_map_lock | ||
| HALF_LOCKED2 | &vcpu->mutex | ||
| TYPE_LOCK | (struct kvm_arch)->apic_map_lock |