Documented in 1 files:
Defined in 2 files as a function:
- include/linux/atomic/atomic-instrumented.h, line 1275 (as a function)
- tools/include/linux/atomic.h, line 15 (as a function)
Referenced in 47 files:
- arch/loongarch/include/asm/qspinlock.h, line 28
- arch/riscv/kvm/aia.c, line 592
- arch/x86/include/asm/paravirt-spinlock.h, line 144
- arch/x86/kernel/apic/apic.c, line 366
- arch/x86/kernel/cpu/mshyperv.c, line 391
- arch/x86/kernel/smp.c, line 161
- block/blk-cgroup.h
- block/blk-iolatency.c, line 423
- block/blk-rq-qos.c, line 16
- drivers/cxl/core/region.c, line 2527
- drivers/gpu/drm/i915/i915_sw_fence.c, line 234
- drivers/gpu/drm/i915/i915_vma.c, line 964
- drivers/md/dm-verity-target.c, line 192
- drivers/misc/ntsync.c
- drivers/net/ipa/gsi_trans.c, line 311
- drivers/ptp/ptp_vmclock.c, line 418
- fs/aio.c, line 1018
- fs/btrfs/extent_io.c, line 4101
- fs/gfs2/log.c
- include/asm-generic/ticket_spinlock.h, line 60
- include/linux/jump_label.h, line 285
- io_uring/zcrx.c, line 363
- kernel/bpf/ringbuf.c, line 832
- kernel/bpf/rqspinlock.c, line 283
- kernel/cpu.c
- kernel/futex/requeue.c
- kernel/jump_label.c
- kernel/padata.c, line 492
- kernel/panic.c
- kernel/printk/nbcon.c, line 159
- kernel/sched/ext/ext.c
- kernel/time/tick-sched.c, line 216
- kernel/time/timer_migration.c
- kernel/trace/ring_buffer.c
- lib/sbitmap.c, line 629
- mm/kasan/kasan_test_c.c
- mm/rmap.c, line 768
- net/core/dev.c
- net/ipv4/icmp.c, line 263
- net/ipv6/ip6_fib.c, line 98
- net/netfilter/ipvs/ip_vs_conn.c, line 1476
- net/rxrpc/conn_object.c, line 431
- rust/helpers/atomic.c, line 425
- samples/vfio-mdev/mbochs.c, line 527
- samples/vfio-mdev/mtty.c, line 1322
- sound/usb/endpoint.c, line 140
- tools/include/linux/atomic.h, line 32
Smatch caller information:
fs/gfs2/log.c __gfs2_log_reserve() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 0 | v->counter | 0-s32max |
| PARAM_VALUE | 1 | old | 4335133051613528064 |
| PARAM_VALUE | 1 | *old | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/gfs2/log.c __gfs2_log_try_reserve() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 1109645249006387200 |
| PARAM_VALUE | 1 | *old | s32min-(-1),1-s32max |
| PARAM_VALUE | 2 | new | 1-2147483646 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sdp->sd_log_flush_lock | ||
| TYPE_LOCK | (struct gfs2_sbd)->sd_log_flush_lock |
fs/gfs2/log.c __gfs2_log_try_reserve_revokes() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 324937374909485056 |
| PARAM_VALUE | 1 | *old | s32min-(-1),1-s32max |
| PARAM_VALUE | 2 | new | 1-2147483646 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | new | unit_byte |
| LOCK2 | &sdp->sd_log_flush_lock | ||
| TYPE_LOCK | (struct gfs2_sbd)->sd_log_flush_lock |
kernel/panic.c panic_try_force_cpu() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 2010335773696667648 |
| PARAM_VALUE | 1 | old | 6458491711490899968 |
| PARAM_VALUE | 1 | *old | (-1) |
| PARAM_VALUE | 2 | new | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | irq |
kernel/panic.c panic_try_start() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 5940140699783262208 |
| PARAM_VALUE | 1 | old | 2561984821774286848 |
| PARAM_VALUE | 1 | *old | (-1) |
| PARAM_VALUE | 2 | new | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
net/rxrpc/conn_object.c rxrpc_service_connection_reaper() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 0 | v->counter | s32min-0 |
| PARAM_VALUE | 1 | old | 6179065832145833984 |
| PARAM_VALUE | 1 | *old | 0 |
| PARAM_VALUE | 2 | new | (-1) |
| LOCK2 | &rxnet->conn_lock | ||
| TYPE_LOCK | (struct rxrpc_net)->conn_lock |
kernel/jump_label.c static_key_dec_not_one() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | old | 2179155449720528896 |
| PARAM_VALUE | 1 | *old | 2-s32max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/jump_label.c static_key_fast_inc_not_disabled() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | old | 5659015603883909120 |
| PARAM_VALUE | 1 | *old | 1-2147483646 |
| PARAM_VALUE | 2 | new | 2-s32max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
arch/x86/kernel/apic/apic.c reserve_eilvt_offset() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 7483006614880948224 |
| PARAM_VALUE | 2 | new | 0,244,249,1024,1268,1273,65536,65780,65785,66560,66804,66809 |
| DATA_SOURCE | 2 | new | $1 |
| BIT_INFO | 2 | new | 0x0,0xff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/cpu/mshyperv.c hv_nmi_unknown() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 2717830435368366080 |
| PARAM_VALUE | 0 | v->counter | (-1) |
| PARAM_VALUE | 1 | old | 3006419573380849664 |
| PARAM_VALUE | 1 | *old | (-1) |
| PARAM_VALUE | 2 | new | 0 |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | global &nmi_reason_lock |
fs/aio.c __get_reqs_available() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | old | 1014109194788093952 |
| LOCK2 | flags |
drivers/gpu/drm/i915/i915_vma.c try_qad_pin() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 3136188505146912768 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | >->perf.lock | ||
| HALF_LOCKED2 | __flags | ||
| HALF_LOCKED2 | bo->base.resv | ||
| HALF_LOCKED2 | ce->timeline->hwsp_ggtt->obj->base.resv | ||
| HALF_LOCKED2 | engine->legacy.ring->vma->obj->base.resv | ||
| HALF_LOCKED2 | obj->base.resv | ||
| HALF_LOCKED2 | rpcs->base.resv | ||
| HALF_LOCKED2 | timeline->hwsp_ggtt->obj->base.resv | ||
| HALF_LOCKED2 | vma->obj->base.resv | ||
| HALF_LOCKED2 | vma->obj->base.resv |
drivers/cxl/core/region.c cxl_region_release() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 9080744565833900032 |
| PARAM_VALUE | 1 | *old | (-2147483647)-s32max |
| PARAM_VALUE | 2 | new | s32min-2147483646 |
| CAPPED_DATA | 2 | new | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &subsys->su_mutex |
mm/rmap.c set_tlb_ubc_flush_pending() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | old | 159062787142340608 |
| PARAM_VALUE | 2 | new | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &anon_vma->root->rwsem | ||
| HALF_LOCKED2 | &folio->private->lock |
drivers/net/ipa/gsi_trans.c gsi_trans_tre_reserve() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 5902333912372195328 |
| PARAM_VALUE | 2 | new | 0-s32max |
| FUZZY_MAX | 2 | new | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | new | unit_page |
block/blk-iocost.c blkcg_clear_delay() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 6837752714593468416 |
| PARAM_VALUE | 1 | *old | s32min-(-1),1-s32max |
| PARAM_VALUE | 2 | new | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &iocg->waitq.lock | ||
| HALF_LOCKED2 | &ioc->lock | ||
| HALF_LOCKED2 | &iocg->ioc->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct wait_queue_head)->lock |
block/blk-iocost.c blkcg_set_delay() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 6021761309252505600 |
| PARAM_VALUE | 1 | *old | 0 |
| PARAM_VALUE | 2 | new | (-1) |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &iocg->waitq.lock | ||
| HALF_LOCKED2 | &ioc->lock | ||
| HALF_LOCKED2 | &iocg->ioc->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct wait_queue_head)->lock |
drivers/misc/ntsync.c try_wake_all() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 4523204141658202112 |
| PARAM_VALUE | 1 | *old | (-1) |
| PARAM_VALUE | 2 | new | 0 |
| LOCK2 | &dev->wait_all_lock | ||
| TYPE_LOCK | (struct ntsync_device)->wait_all_lock |
drivers/misc/ntsync.c try_wake_any_event() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 7194828741033422848 |
| PARAM_VALUE | 1 | *old | (-1) |
| HALF_LOCKED2 | &dev->wait_all_lock |
drivers/misc/ntsync.c try_wake_any_mutex() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 2361938755832336384 |
| PARAM_VALUE | 1 | *old | (-1) |
| HALF_LOCKED2 | &dev->wait_all_lock |
drivers/misc/ntsync.c try_wake_any_sem() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 7208374693547810816 |
| PARAM_VALUE | 1 | *old | (-1) |
| HALF_LOCKED2 | &dev->wait_all_lock |
mm/kasan/kasan_test_c.c kasan_atomics_helper() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 4096-ptr_max |
| PARAM_VALUE | 2 | new | 42 |
| BUF_SIZE | 1 | old | 8 |
| DATA_SOURCE | 0 | v | $1 |
| DATA_SOURCE | 1 | old | $2 |
| NOCHECK_CALL |
mm/kasan/kasan_test_c.c kasan_atomics_helper() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 4096-ptr_max |
| PARAM_VALUE | 2 | new | 42 |
| BUF_SIZE | 0 | v | 8 |
| DATA_SOURCE | 0 | v | $2 |
| DATA_SOURCE | 1 | old | $1 |
| NOCHECK_CALL |
io_uring/zcrx.c io_zcrx_put_niov_uref() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 4413863035860557824 |
| PARAM_VALUE | 1 | *old | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | v | r io_get_user_counter |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &ctx->uring_lock |
fs/btrfs/extent_io.c free_extent_buffer_clear_reading() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 8939306386484105216 |
| PARAM_VALUE | 1 | *old | s32min-0,2-s32max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &eb->refs_lock | ||
| HALF_LOCKED2 | &pool->lock |
arch/x86/kernel/smp.c native_stop_other_cpus() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 9077888332910563328 |
| PARAM_VALUE | 1 | old | 1326704057625137152 |
| PARAM_VALUE | 1 | *old | (-1) |
| PARAM_VALUE | 2 | new | 0 |
| DATA_SOURCE | 2 | new | r debug_smp_processor_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | irq | ||
| HALF_LOCKED2 | global &system_transition_mutex |
lib/sbitmap.c sbitmap_queue_wake_up() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 1037191680599187456 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | v->counter | s32min-s32max |
| HOST_DATA | 1 | *old | s32min-s32max |
kernel/printk/nbcon.c nbcon_state_try_cmpxchg() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 2580075563635195904,3913571730978111488,7401590802170925056 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | v->counter | 0 |
| HOST_DATA | 1 | *old | 0 |
| HOST_DATA | 2 | new | 0 |
| HALF_LOCKED2 | flags |
kernel/bpf/rqspinlock.c resilient_tas_spin_lock() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 0 | v->counter | 0 |
| PARAM_VALUE | 1 | old | 4838054137442816000 |
| PARAM_VALUE | 1 | *old | 0 |
| PARAM_VALUE | 2 | new | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq_flags |
sound/usb/endpoint.c ep_state_update() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | *old | 0-2 |
| PARAM_VALUE | 2 | new | 0-2 |
| DATA_SOURCE | 2 | new | $2 |
| HARD_MAX | 2 | new | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/locking/qspinlock.c virt_spin_lock() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v->counter | 0 |
| PARAM_VALUE | 1 | old | 7345040928335331328 |
| PARAM_VALUE | 1 | *old | 0 |
| PARAM_VALUE | 2 | new | 1 |
kernel/cpu.c cpuhp_bp_sync_dead() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 2322732248078053376 |
| PARAM_VALUE | 1 | *old | s32min-(-1),1-s32max |
| PARAM_VALUE | 2 | new | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
kernel/cpu.c cpuhp_can_boot_ap() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 4850902327819935744 |
| PARAM_VALUE | 1 | *old | 0-1,3 |
| PARAM_VALUE | 2 | new | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
kernel/cpu.c cpuhp_wait_for_sync_state() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 6935014243005489152 |
| PARAM_VALUE | 1 | *old | 0,3 |
| PARAM_VALUE | 2 | new | 0,4 |
| DATA_SOURCE | 2 | new | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | global &sparse_irq_lock | ||
| HALF_LOCKED2 | irq |
kernel/time/tick-sched.c tick_limited_update_jiffies64() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 1790671396211195904 |
| PARAM_VALUE | 1 | old | 8423692979444998144 |
| PARAM_VALUE | 1 | *old | 0 |
| PARAM_VALUE | 2 | new | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/ptp/ptp_vmclock.c vmclock_miscdev_read() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 6470019935496339456 |
| PARAM_VALUE | 2 | new | s32min-0,2-s32max |
| CAPPED_DATA | 2 | new | 1 |
| BIT_INFO | 2 | new | 0x0,0xfffffffe |
kernel/time/timer_migration.c tmigr_active_up() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/time/timer_migration.c tmigr_inactive_up() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
samples/vfio-mdev/mbochs.c mbochs_init_dev() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 910740797978849280 |
| PARAM_VALUE | 1 | old | 4911214978675748864 |
| PARAM_VALUE | 1 | *old | s32min-(-1),4-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
block/blk-rq-qos.c atomic_inc_below() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 4755590658428289024 |
| PARAM_VALUE | 1 | *old | s32min-(-2),0-s32max |
| PARAM_VALUE | 2 | new | s32min-(-1),1-s32max |
| CAPPED_DATA | 2 | new | 1 |
| DATA_SOURCE | 0 | v | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/futex/requeue.c futex_requeue_pi_complete() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 3762820284144566272 |
| PARAM_VALUE | 1 | *old | s32min-0,2-s32max |
| PARAM_VALUE | 2 | new | 0-1,4-5 |
| FUZZY_MAX | 2 | new | 5 |
| HARD_MAX | 2 | new | 5 |
| RX_PATH |
kernel/futex/requeue.c futex_requeue_pi_prepare() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 6374934549918703616 |
| PARAM_VALUE | 1 | *old | 0 |
| PARAM_VALUE | 2 | new | 2 |
| RX_PATH |
kernel/futex/requeue.c futex_requeue_pi_wakeup_sync() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 6287657923781144700 |
| PARAM_VALUE | 0 | v->counter | 0-s32max |
| PARAM_VALUE | 1 | old | 3207926331715186688 |
| PARAM_VALUE | 1 | *old | 0-3 |
| PARAM_VALUE | 2 | new | 1,3 |
| FUZZY_MAX | 2 | new | 3 |
| BIT_INFO | 2 | new | 0x1,0x3 |
| HARD_MAX | 2 | new | 3 |
| RX_PATH |
net/ipv4/icmp.c icmp_global_allow() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 5604736962053951488 |
| CAPPED_DATA | 2 | new | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/netfilter/ipvs/ip_vs_conn.c ip_vs_conn_new() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 2836994331409698816 |
| PARAM_VALUE | 1 | *old | s32min-2147483646 |
| PARAM_VALUE | 2 | new | (-2147483647)-s32max |
| CAPPED_DATA | 2 | new | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
kernel/padata.c padata_do_multithreaded() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 6883894701918228480 |
| PARAM_VALUE | 1 | old | 4411642213734375424 |
| PARAM_VALUE | 2 | new | 0-64 |
| CAPPED_DATA | 2 | new | 1 |
| DATA_SOURCE | 2 | new | r __next_node_in |
net/ipv6/ip6_fib.c fib6_new_sernum() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 2527357419684081664 |
| PARAM_VALUE | 2 | new | (-2147483647)-s32max |
| FUZZY_MAX | 2 | new | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &table->tb6_lock | ||
| HALF_LOCKED2 | bh |
kernel/trace/ring_buffer.c ring_buffer_record_off() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 3181599035707236352 |
| PARAM_VALUE | 2 | new | s32min-0,1048576-s32max |
| BIT_INFO | 2 | new | 0x100000,0xffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/trace/ring_buffer.c ring_buffer_record_on() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 4850882053325860864 |
| BIT_INFO | 2 | new | 0x0,0xffefffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/core/dev.c net_disable_timestamp() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 5725657649712115712 |
| PARAM_VALUE | 1 | old | 4093746047565422592 |
| PARAM_VALUE | 1 | *old | 2-s32max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/core/dev.c net_enable_timestamp() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 5725657649712115712 |
| PARAM_VALUE | 1 | old | 2194733973144018944 |
| PARAM_VALUE | 1 | *old | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
block/blk-iolatency.c blkcg_clear_delay() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 7847923314621767680 |
| PARAM_VALUE | 1 | *old | s32min-(-1),1-s32max |
| PARAM_VALUE | 2 | new | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | irq |
block/blk-iolatency.c blkcg_unuse_delay() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 7752928914362941440 |
| PARAM_VALUE | 1 | *old | s32min-(-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock |
block/blk-iolatency.c blkcg_unuse_delay() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 0 | v->counter | 0-s32max |
| PARAM_VALUE | 1 | old | 7752928914362941440 |
| PARAM_VALUE | 1 | *old | s32min-(-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock |
block/blk-iolatency.c check_scale_change() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 8915955139417952256 |
| CAPPED_DATA | 2 | new | 1 |
| BIT_INFO | 2 | new | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock |
samples/vfio-mdev/mtty.c mtty_init_dev() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 7522088278044413952 |
| PARAM_VALUE | 1 | old | 2154713411048738816 |
| PARAM_VALUE | 1 | *old | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/bpf/ringbuf.c ____bpf_user_ringbuf_drain() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 1375578350428094464 |
| PARAM_VALUE | 1 | *old | 0 |
| PARAM_VALUE | 2 | new | 1 |
drivers/gpu/drm/i915/i915_sw_fence.c i915_sw_fence_await() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 384,4096-ptr_max |
| PARAM_VALUE | 1 | old | 6756756314340098048 |
| PARAM_VALUE | 1 | *old | 1-s32max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ce->guc_state.lock | ||
| HALF_LOCKED2 | &ctx->stale.lock | ||
| HALF_LOCKED2 | __flags | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/md/dm-verity-target.c verity_handle_err() -> atomic_try_cmpxchg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| PARAM_VALUE | 1 | old | 1622425657627529216 |
| PARAM_VALUE | 1 | *old | s32min-99 |
| PARAM_VALUE | 2 | new | (-2147483647)-100 |
| RX_PATH | |||
| TASK_NOT_RUNNING |