Documented in 1 files:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/namei.c atomic_inc_unless_negative() -> raw_atomic_inc_unless_negative()

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

fs/overlayfs/inode.c atomic_inc_unless_negative() -> raw_atomic_inc_unless_negative()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
DATA_SOURCE 0 v $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &dentry->d_lockref.lock

mm/kasan/kasan_test_c.c atomic_inc_unless_negative() -> raw_atomic_inc_unless_negative()

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

fs/kernfs/dir.c atomic_inc_unless_negative() -> raw_atomic_inc_unless_negative()

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

mm/vma.c atomic_inc_unless_negative() -> raw_atomic_inc_unless_negative()

Type Parameter Key Value
PARAM_VALUE 0 v 260,4096-ptr_max
DATA_SOURCE 0 v $0

fs/nfsd/vfs.c atomic_inc_unless_negative() -> raw_atomic_inc_unless_negative()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
DATA_SOURCE 0 v $0
HALF_LOCKED2 &fhp->fh_dentry->d_lockref.lock

block/bdev.c atomic_inc_unless_negative() -> raw_atomic_inc_unless_negative()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
DATA_SOURCE 0 v $0
PREEMPT_ADD
RX_PATH
LOCK2 &bdev->bd_fsfreeze_mutex
HALF_LOCKED2 &md->suspend_lock
TYPE_LOCK (struct block_device)->bd_fsfreeze_mutex

sound/core/pcm_lib.c atomic_inc_unless_negative() -> raw_atomic_inc_unless_negative()

Type Parameter Key Value
DATA_SOURCE 0 v $0

kernel/events/core.c atomic_inc_unless_negative() -> raw_atomic_inc_unless_negative()

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

fs/gfs2/file.c atomic_inc_unless_negative() -> raw_atomic_inc_unless_negative()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
DATA_SOURCE 0 v $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/open.c atomic_inc_unless_negative() -> raw_atomic_inc_unless_negative()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
DATA_SOURCE 0 v $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/hwtracing/intel_th/msu.c atomic_inc_unless_negative() -> raw_atomic_inc_unless_negative()

Type Parameter Key Value
PARAM_VALUE 0 v 4096-ptr_max
DATA_SOURCE 0 v $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex

fs/proc/inode.c atomic_inc_unless_negative() -> raw_atomic_inc_unless_negative()

Type Parameter Key Value
DATA_SOURCE 0 v $0
RX_PATH
TASK_NOT_RUNNING