Documented in 1 files:
Defined in 1 files as a function:
Referenced in 5 files:
- arch/arm64/include/asm/atomic.h, line 99
- drivers/net/ethernet/mellanox/mlx5/core/eswitch.c, line 2997
- drivers/net/netdevsim/fib.c
- lib/atomic64_test.c
- rust/helpers/atomic.c, line 1031
Smatch caller information:
lib/atomic64_test.c test_atomic64() -> atomic64_dec_if_positive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4852880703011659776 |
| PARAM_VALUE | 0 | v->counter | 1229782938533634594 |
lib/atomic64_test.c test_atomic64() -> atomic64_dec_if_positive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4852880703011659776 |
| PARAM_VALUE | 0 | v->counter | 0 |
lib/atomic64_test.c test_atomic64() -> atomic64_dec_if_positive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4852880703011659776 |
| PARAM_VALUE | 0 | v->counter | (-1) |
drivers/net/netdevsim/fib.c nsim_fib_account() -> atomic64_dec_if_positive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &data->fib_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/netdevsim/fib.c nsim_fib_rule_account() -> atomic64_dec_if_positive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| NOCHECK_CALL |
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mlx5_esw_put() -> atomic64_dec_if_positive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | v | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |