Defined in 1 files as a macro:
Defined in 5 files as a function:
- arch/alpha/include/asm/local.h, line 55 (as a function)
- arch/loongarch/include/asm/local.h, line 96 (as a function)
- arch/mips/include/asm/local.h, line 97 (as a function)
- arch/powerpc/include/asm/local.h, line 79 (as a function)
- arch/x86/include/asm/local.h, line 123 (as a function)
Referenced in 3 files:
- arch/powerpc/include/asm/local.h, line 97
- include/asm-generic/local64.h, line 47
- kernel/trace/ring_buffer.c
Smatch caller information:
drivers/perf/xgene_pmu.c local64_cmpxchg() -> local_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| DATA_SOURCE | 1 | old | $1 |
| DATA_SOURCE | 2 | new | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | new | 0-4294967295 |
| HALF_LOCKED2 | &xgene_pmu->lock |
drivers/perf/arm_dmc620_pmu.c local64_cmpxchg() -> local_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| PARAM_VALUE | 2 | new | 0-4294967295 |
| DATA_SOURCE | 1 | old | $1 |
| DATA_SOURCE | 2 | new | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | new | 0-4294967295 |
| HALF_LOCKED2 | rcu_read |
drivers/perf/alibaba_uncore_drw_pmu.c local64_cmpxchg() -> local_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| PARAM_VALUE | 2 | new | 0-72057594037927935 |
| DATA_SOURCE | 1 | old | $1 |
| DATA_SOURCE | 2 | new | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | new | 0-4294967295 |
| HALF_LOCKED2 | rcu_read |
drivers/perf/arm_smmuv3_pmu.c local64_cmpxchg() -> local_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| DATA_SOURCE | 1 | old | $1 |
| DATA_SOURCE | 2 | new | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | new | s64min-s64max |
drivers/perf/cxl_pmu.c local64_cmpxchg() -> local_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| DATA_SOURCE | 1 | old | $1 |
| DATA_SOURCE | 2 | new | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | new | s64min-s64max |
drivers/perf/arm-ni.c local64_cmpxchg() -> local_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| DATA_SOURCE | 1 | old | $1 |
| DATA_SOURCE | 2 | new | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | new | s64min-s64max |
drivers/perf/arm_cspmu/arm_cspmu.c local64_cmpxchg() -> local_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| DATA_SOURCE | 1 | old | $1 |
| DATA_SOURCE | 2 | new | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | new | 0-4294967295 |
drivers/perf/starfive_starlink_pmu.c local64_cmpxchg() -> local_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| DATA_SOURCE | 1 | old | $1 |
| DATA_SOURCE | 2 | new | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | new | s64min-s64max |
kernel/trace/ring_buffer.c rb_tail_page_update() -> local_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 16,4096-ptr_max |
| PARAM_VALUE | 2 | new | 0,1048576-9223372036853727232 |
| DATA_SOURCE | 1 | old | r local_add_return |
| BIT_INFO | 1 | old | 0x0,0x7fffffffffffffff |
| BIT_INFO | 2 | new | 0x0,0x7ffffffffff00000 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/trace/ring_buffer.c rb_tail_page_update() -> local_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| PARAM_VALUE | 2 | new | 0,1048576-9223372036853727232 |
| DATA_SOURCE | 1 | old | r local_add_return |
| BIT_INFO | 1 | old | 0x0,0x7fffffffffffffff |
| BIT_INFO | 2 | new | 0x0,0x7ffffffffff00000 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/perf/marvell_cn10k_tad_pmu.c local64_cmpxchg() -> local_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| DATA_SOURCE | 1 | old | $1 |
| DATA_SOURCE | 2 | new | $2 |
| HOST_DATA | 2 | new | s64min-s64max |
drivers/perf/dwc_pcie_pmu.c local64_cmpxchg() -> local_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| PARAM_VALUE | 2 | new | 0 |
| DATA_SOURCE | 1 | old | $1 |
| DATA_SOURCE | 2 | new | $2 |
drivers/perf/fujitsu_uncore_pmu.c local64_cmpxchg() -> local_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | l | 4096-ptr_max |
| DATA_SOURCE | 1 | old | $1 |
| DATA_SOURCE | 2 | new | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | new | s64min-s64max |