Documented in 1 files:

Defined in 1 files as a function:

Referenced in 11 files:

Smatch caller information:

mm/page-writeback.c wb_update_write_bandwidth() -> atomic_long_add_return()

Type Parameter Key Value
PARAM_VALUE 1 v 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &wb->list_lock
TYPE_LOCK (struct bdi_writeback)->list_lock

mm/shrinker.c add_nr_deferred() -> atomic_long_add_return()

Type Parameter Key Value
PARAM_VALUE 1 v 4096-ptr_max
CAPPED_DATA 0 i 1
CAPPED_DATA 0 i 1
DATA_SOURCE 0 i $0
RX_PATH
TASK_NOT_RUNNING

mm/shrinker.c add_nr_deferred_memcg() -> atomic_long_add_return()

Type Parameter Key Value
PARAM_VALUE 1 v 4096-ptr_max
CAPPED_DATA 0 i 1
CAPPED_DATA 0 i 1
DATA_SOURCE 0 i $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read

kernel/ucount.c inc_rlimit_get_ucounts() -> atomic_long_add_return()

Type Parameter Key Value
PARAM_VALUE 0 i 1
PARAM_VALUE 1 v 4096-ptr_max
BUF_SIZE 1 v 16
RX_PATH
TASK_NOT_RUNNING

kernel/ucount.c inc_rlimit_ucounts() -> atomic_long_add_return()

Type Parameter Key Value
PARAM_VALUE 1 v 4096-ptr_max
DATA_SOURCE 0 i $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 i 1-4503599627370495[c]
UNITS 0 i unit_page
HALF_LOCKED2 global &mq_lock
HALF_LOCKED2 global &shmlock_user_lock

fs/pipe.c account_pipe_buffers() -> atomic_long_add_return()

Type Parameter Key Value
PARAM_VALUE 1 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 i (-15)-15
UNITS 0 i unit_page
HALF_LOCKED2 &pipe->mutex

mm/page_counter.c page_counter_charge() -> atomic_long_add_return()

Type Parameter Key Value
PARAM_VALUE 1 v 4096-ptr_max
DATA_SOURCE 0 i $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 i unit_page
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &cgroup_mutex
HALF_LOCKED2 global &hugetlb_lock
HALF_LOCKED2 irq
HALF_LOCKED2 rcu_read

mm/page_counter.c page_counter_try_charge() -> atomic_long_add_return()

Type Parameter Key Value
PARAM_VALUE 1 v 4096-ptr_max
DATA_SOURCE 0 i $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 i s64min-s64max

kernel/dma/swiotlb.c inc_used_and_hiwater_real() -> atomic_long_add_return()

Type Parameter Key Value
PARAM_VALUE 1 v 4096-ptr_max
DATA_SOURCE 0 i $1

kernel/locking/rwsem.c rwsem_down_read_slowpath() -> atomic_long_add_return()

Type Parameter Key Value
PARAM_VALUE 0 i (-256),(-254)-s64max
PARAM_VALUE 1 v 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sem->wait_lock
LOCK2 irq
TYPE_LOCK (struct rw_semaphore)->wait_lock

drivers/tty/tty_ldsem.c __ldsem_down_read_nested() -> atomic_long_add_return()

Type Parameter Key Value
PARAM_VALUE 0 i 1
RX_PATH
TASK_NOT_RUNNING

drivers/tty/tty_ldsem.c __ldsem_down_write_nested() -> atomic_long_add_return()

Type Parameter Key Value
PARAM_VALUE 0 i (-4294967295)
PARAM_VALUE 1 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/tty/tty_ldsem.c __ldsem_wake_readers() -> atomic_long_add_return()

Type Parameter Key Value
PARAM_VALUE 1 v 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sem->wait_lock
HALF_LOCKED2 irq
TYPE_LOCK (struct ld_semaphore)->wait_lock

drivers/tty/tty_ldsem.c down_read_failed() -> atomic_long_add_return()

Type Parameter Key Value
PARAM_VALUE 0 i 4294967296
PARAM_VALUE 1 v 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &sem->wait_lock
LOCK2 irq
TYPE_LOCK (struct ld_semaphore)->wait_lock

drivers/tty/tty_ldsem.c down_write_failed() -> atomic_long_add_return()

Type Parameter Key Value
PARAM_VALUE 0 i 4294967296
PARAM_VALUE 1 v 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &sem->wait_lock
LOCK2 irq
TYPE_LOCK (struct ld_semaphore)->wait_lock

drivers/tty/tty_ldsem.c ldsem_up_read() -> atomic_long_add_return()

Type Parameter Key Value
PARAM_VALUE 0 i (-1)
PARAM_VALUE 1 v 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 &tty->legacy_mutex
TYPE_LOCK (struct tty_struct)->ldisc_sem

drivers/tty/tty_ldsem.c ldsem_up_write() -> atomic_long_add_return()

Type Parameter Key Value
PARAM_VALUE 0 i 4294967295
PARAM_VALUE 1 v 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &tty->legacy_mutex

drivers/tty/tty_ldsem.c writer_trylock() -> atomic_long_add_return()

Type Parameter Key Value
PARAM_VALUE 0 i 1
PARAM_VALUE 1 v 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sem->wait_lock
LOCK2 irq
TYPE_LOCK (struct ld_semaphore)->wait_lock

kernel/bpf/core.c bpf_jit_charge_modmem() -> atomic_long_add_return()

Type Parameter Key Value
PARAM_VALUE 1 v 7970477535896326144
DATA_SOURCE 0 i $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 i unit_byte