Documented in 1 files:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

lib/atomic64_test.c test_atomic() -> atomic_xchg_relaxed()

Type Parameter Key Value
PARAM_VALUE 0 v 244908970501345280
PARAM_VALUE 0 v->counter (-1432153289)
PARAM_VALUE 1 new (-559038737)

drivers/md/dm-vdo/dedupe.c ratelimit_state_reset_miss() -> atomic_xchg_relaxed()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
PARAM_VALUE 1 new 0
RX_PATH
TASK_NOT_RUNNING

kernel/printk/printk.c ratelimit_state_reset_miss() -> atomic_xchg_relaxed()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
PARAM_VALUE 1 new 0
RX_PATH
TASK_NOT_RUNNING

lib/ratelimit.c ratelimit_state_reset_miss() -> atomic_xchg_relaxed()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
PARAM_VALUE 1 new 0
LOCK2 &rs->lock
LOCK2 flags
TYPE_LOCK (struct ratelimit_state)->lock

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c ratelimit_state_reset_miss() -> atomic_xchg_relaxed()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
PARAM_VALUE 1 new 0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 &rs->lock
LOCK2 flags
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct ratelimit_state)->lock

lib/tests/test_ratelimit.c ratelimit_state_reset_miss() -> atomic_xchg_relaxed()

Type Parameter Key Value
PARAM_VALUE 0 v 5992492726027145300
PARAM_VALUE 1 new 0