Defined in 3 files as a macro:
- arch/m68k/include/asm/atomic.h, line 168 (as a macro)
- arch/s390/include/asm/atomic.h, line 76 (as a macro)
- arch/x86/include/asm/atomic.h, line 75 (as a macro)
Defined in 3 files as a function:
- arch/m68k/include/asm/atomic.h, line 162 (as a function)
- arch/s390/include/asm/atomic.h, line 72 (as a function)
- arch/x86/include/asm/atomic.h, line 71 (as a function)
Referenced in 1 files:
Smatch caller information:
sound/soc/intel/avs/core.c raw_atomic_inc_and_test() -> arch_atomic_inc_and_test()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| DATA_SOURCE | 0 | v | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bus->reg_lock | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/char/ipmi/ipmi_watchdog.c raw_atomic_inc_and_test() -> arch_atomic_inc_and_test()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 6705077862485651456 |
| DATA_SOURCE | 0 | v | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &intf->users_mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/video/fbdev/sh_mobile_lcdcfb.c raw_atomic_inc_and_test() -> arch_atomic_inc_and_test()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| DATA_SOURCE | 0 | v | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fbdefio_state->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &console_sem |
mm/rmap.c raw_atomic_inc_and_test() -> arch_atomic_inc_and_test()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | v | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &folio->private->lock |
mm/kasan/kasan_test_c.c raw_atomic_inc_and_test() -> arch_atomic_inc_and_test()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| DATA_SOURCE | 0 | v | $0 |
drivers/infiniband/core/cm.c raw_atomic_inc_and_test() -> arch_atomic_inc_and_test()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| DATA_SOURCE | 0 | v | $0 |
| PREEMPT_ADD | |||
| LOCK2 | &cm_id_priv->lock | ||
| LOCK2 | &pool->lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct cm_id_private)->lock |
drivers/net/wireless/ath/ath9k/mac.c raw_atomic_inc_and_test() -> arch_atomic_inc_and_test()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| DATA_SOURCE | 0 | v | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sc->mutex | ||
| HALF_LOCKED2 | &sc->sc_pcu_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/staging/most/video/video.c raw_atomic_inc_and_test() -> arch_atomic_inc_and_test()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| DATA_SOURCE | 0 | v | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |