Documented in 1 files:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/md/md-llbitmap.c percpu_ref_tryget_live_rcu() -> atomic_long_inc_not_zero()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read

fs/nfs/delegation.c get_cred_rcu() -> atomic_long_inc_not_zero()

Type Parameter Key Value
PARAM_VALUE 0 v 1-u64max
PREEMPT_ADD
LOCK2 &delegation->lock
LOCK2 rcu_read
TYPE_LOCK (struct nfs_delegation)->lock

drivers/md/md.c percpu_ref_tryget_live_rcu() -> atomic_long_inc_not_zero()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &md->io_barrier

mm/swapfile.c percpu_ref_tryget_live_rcu() -> atomic_long_inc_not_zero()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read

block/blk-mq.c percpu_ref_tryget_live_rcu() -> atomic_long_inc_not_zero()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &bio->bi_bdev->bd_queue->queue_lock
HALF_LOCKED2 &pool->lock

fs/aio.c percpu_ref_tryget_live_rcu() -> atomic_long_inc_not_zero()

Type Parameter Key Value
LOCK2 rcu_read

fs/nfsd/nfssvc.c percpu_ref_tryget_live_rcu() -> atomic_long_inc_not_zero()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read

drivers/pci/p2pdma.c percpu_ref_tryget_live_rcu() -> atomic_long_inc_not_zero()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &of->mutex

mm/kasan/kasan_test_c.c kasan_atomics_helper() -> atomic_long_inc_not_zero()

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

drivers/nvme/target/core.c percpu_ref_tryget_live_rcu() -> atomic_long_inc_not_zero()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &pool->lock

fs/nfs/flexfilelayout/flexfilelayoutdev.c get_cred_rcu() -> atomic_long_inc_not_zero()

Type Parameter Key Value
PARAM_VALUE 0 v 1-u64max
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read

drivers/dma/idxd/submit.c percpu_ref_tryget_live_rcu() -> atomic_long_inc_not_zero()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read

drivers/target/target_core_alua.c percpu_ref_tryget_live_rcu() -> atomic_long_inc_not_zero()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tg_pt_gp->tg_pt_gp_lock
LOCK2 &tg_pt_gp->tg_pt_gp_transition_mutex
LOCK2 rcu_read
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct t10_alua_tg_pt_gp)->tg_pt_gp_lock
TYPE_LOCK (struct t10_alua_tg_pt_gp)->tg_pt_gp_transition_mutex

drivers/nvme/target/pr.c percpu_ref_tryget_live_rcu() -> atomic_long_inc_not_zero()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &pool->lock

block/blk-core.c percpu_ref_tryget_live_rcu() -> atomic_long_inc_not_zero()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read

kernel/cgroup/cgroup.c percpu_ref_tryget_live_rcu() -> atomic_long_inc_not_zero()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &m->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &seq->lock
HALF_LOCKED2 global &cpuset_mutex
HALF_LOCKED2 global &cpuset_top_mutex
HALF_LOCKED2 global &freezer_mutex
HALF_LOCKED2 global &zswap_shrink_lock

kernel/cgroup/cgroup-v1.c percpu_ref_tryget_live_rcu() -> atomic_long_inc_not_zero()

Type Parameter Key Value
NS_CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &fc->uapi_mutex

drivers/target/target_core_xcopy.c percpu_ref_tryget_live_rcu() -> atomic_long_inc_not_zero()

Type Parameter Key Value
LOCK2 &pool->lock
LOCK2 rcu_read

kernel/acct.c acct_get() -> atomic_long_inc_not_zero()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 global &system_transition_mutex

kernel/events/core.c __perf_event_overflow() -> atomic_long_inc_not_zero()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->flags
HALF_LOCKED2 rcu_read

kernel/events/core.c inherit_event() -> atomic_long_inc_not_zero()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &parent_ctx->mutex
LOCK2 &parent_event->child_mutex
LOCK2 _T->lock
TYPE_LOCK (struct perf_event)->child_mutex
TYPE_LOCK (struct perf_event_context)->mutex

kernel/events/core.c perf_get_aux_event() -> atomic_long_inc_not_zero()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &parent_ctx->mutex
TYPE_LOCK (struct perf_event_context)->mutex

kernel/events/core.c perf_mmap_close() -> atomic_long_inc_not_zero()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 _T->lock

kernel/events/core.c pmu_get_event() -> atomic_long_inc_not_zero()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &pmu->events_lock
LOCK2 _T->lock
TYPE_LOCK (struct pmu)->events_lock

drivers/target/target_core_transport.c percpu_ref_tryget_live_rcu() -> atomic_long_inc_not_zero()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read

mm/memremap.c percpu_ref_tryget_live_rcu() -> atomic_long_inc_not_zero()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 global &mf_mutex

drivers/target/target_core_device.c percpu_ref_tryget_live_rcu() -> atomic_long_inc_not_zero()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read

kernel/cred.c get_cred_rcu() -> atomic_long_inc_not_zero()

Type Parameter Key Value
PARAM_VALUE 0 v 1-u64max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &m->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &cgroup_mutex
HALF_LOCKED2 global &oom_lock
HALF_LOCKED2 global &rdtgroup_mutex

drivers/target/target_core_pr.c percpu_ref_tryget_live_rcu() -> atomic_long_inc_not_zero()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->se_port_lock
LOCK2 rcu_read
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct se_device)->se_port_lock