Documented in 1 files:

Defined in 1 files as a function:

Referenced in 16 files:

Smatch caller information:

drivers/gpu/drm/radeon/radeon_fence.c radeon_fence_activity() -> atomic64_xchg()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
PARAM_VALUE 1 new s64min-(-1),1-s64max
CAPPED_DATA 1 new 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 new 2-s32max[c]
HALF_LOCKED2 &rdev->exclusive_lock
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

lib/atomic64_test.c test_atomic64() -> atomic64_xchg()

Type Parameter Key Value
PARAM_VALUE 0 v 4852880703011659776
PARAM_VALUE 0 v->counter (-6151051535892492275)
PARAM_VALUE 1 new (-2401053088876082434)

fs/afs/inode.c afs_clear_cb_promise() -> atomic64_xchg()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
PARAM_VALUE 1 new s64min
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &vnode->cb_lock.lock
HALF_LOCKED2 &dvnode->rmdir_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &target->i_rwsem
TYPE_LOCK (struct seqlock)->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_flush_compute_tlb() -> atomic64_xchg()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dqm->lock_hidden

net/netfilter/nft_quota.c nft_quota_do_dump() -> atomic64_xchg()

Type Parameter Key Value
PARAM_VALUE 1 new 0
RX_PATH
TASK_NOT_RUNNING

net/netfilter/nf_conntrack_netlink.c dump_counters() -> atomic64_xchg()

Type Parameter Key Value
PARAM_VALUE 1 new 0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

net/netfilter/nf_conntrack_netlink.c dump_counters() -> atomic64_xchg()

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

fs/afs/rotate.c afs_clear_cb_promise() -> atomic64_xchg()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
PARAM_VALUE 1 new s64min
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &vnode->cb_lock.lock

net/netfilter/nfnetlink_acct.c nfnl_acct_fill_info() -> atomic64_xchg()

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

net/netfilter/nfnetlink_acct.c nfnl_acct_fill_info() -> atomic64_xchg()

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

drivers/scsi/lpfc/lpfc_init.c lpfc_cmf_timer() -> atomic64_xchg()

Type Parameter Key Value
PARAM_VALUE 1 new 0

drivers/scsi/lpfc/lpfc_init.c lpfc_cmf_timer() -> atomic64_xchg()

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

drivers/scsi/lpfc/lpfc_init.c lpfc_cmf_timer() -> atomic64_xchg()

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

drivers/pci/endpoint/functions/pci-epf-vntb.c vntb_epf_peer_db_work() -> atomic64_xchg()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
PARAM_VALUE 1 new 0
HALF_LOCKED2 &pool->lock

fs/afs/dir.c afs_clear_cb_promise() -> atomic64_xchg()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
PARAM_VALUE 1 new s64min
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dvnode->rmdir_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &target->i_rwsem

fs/afs/callback.c afs_clear_cb_promise() -> atomic64_xchg()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
PARAM_VALUE 1 new s64min
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &vnode->cb_lock.lock
HALF_LOCKED2 &volume->open_mmaps_lock