Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 17 files:

Smatch caller information:

ipc/namespace.c __ns_ref_dec_and_lock() -> refcount_dec_and_lock()

Type Parameter Key Value
PARAM_VALUE 1 lock 5381428545363451904
DATA_SOURCE 1 lock $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

fs/nfs/inode.c nfs_put_lock_context() -> refcount_dec_and_lock()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/nfs/pnfs_nfs.c nfs4_pnfs_ds_put() -> refcount_dec_and_lock()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

fs/nfs/pnfs_nfs.c pnfs_put_commit_array() -> refcount_dec_and_lock()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 0 r->refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 lock 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &pool->lock

fs/nfs/client.c nfs_put_client() -> refcount_dec_and_lock()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &nn->nfs_client_lock
HALF_LOCKED2 global &nfs_clid_init_mutex

fs/nfsd/nfs4state.c nfs4_put_stid() -> refcount_dec_and_lock()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &clp->cl_lock
HALF_LOCKED2 &ls->ls_mutex
HALF_LOCKED2 &stp->st_mutex
HALF_LOCKED2 global &nfsd_mutex

fs/nfsd/nfs4state.c put_clnt_odstate() -> refcount_dec_and_lock()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

fs/lockd/svclock.c nlmsvc_put_lockowner() -> refcount_dec_and_lock()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

fs/crypto/keysetup_v1.c fscrypt_put_direct_key() -> refcount_dec_and_lock()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 lock 2414994864515497984
RX_PATH
TASK_NOT_RUNNING

fs/lockd/mon.c nsm_release() -> refcount_dec_and_lock()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 lock 184235670041051136
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &nlm_host_mutex

security/keys/key.c key_user_put() -> refcount_dec_and_lock()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 lock 8501466384034791424
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

fs/lockd/clntproc.c nlmclnt_put_lockowner() -> refcount_dec_and_lock()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

fs/nilfs2/the_nilfs.c nilfs_put_root() -> refcount_dec_and_lock()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &nilfs->ns_segctor_sem
HALF_LOCKED2 &nilfs->ns_snapshot_mount_mutex

fs/smb/client/cached_dir.c kref_put_lock() -> refcount_dec_and_lock()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
DATA_SOURCE 1 lock $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &cifs_mount_mutex

net/sunrpc/svcauth.c kref_put_lock() -> refcount_dec_and_lock()

Type Parameter Key Value
PARAM_VALUE 1 lock 6374114450619678720
DATA_SOURCE 1 lock $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &nfs_uuid->lock
HALF_LOCKED2 global &nfsd_mutex

drivers/gpu/drm/i915/gem/i915_gem_object_frontbuffer.c kref_put_lock() -> refcount_dec_and_lock()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
DATA_SOURCE 1 lock $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

security/landlock/object.c landlock_put_object() -> refcount_dec_and_lock()

Type Parameter Key Value
PARAM_VALUE 0 r 1-u64max
PARAM_VALUE 1 lock 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

fs/nfs/pnfs.c pnfs_put_layout_hdr() -> refcount_dec_and_lock()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

fs/nfs/pnfs.c pnfs_put_lseg() -> refcount_dec_and_lock()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

fs/notify/mark.c fsnotify_put_mark() -> refcount_dec_and_lock()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 lock 1-u64max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &(*connp)->lock
HALF_LOCKED2 &group->mark_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &audit_filter_mutex
HALF_LOCKED2 idr_lock

fs/nfs/nfs4state.c nfs4_put_lock_state() -> refcount_dec_and_lock()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

fs/nfs/nfs4state.c nfs4_put_open_state() -> refcount_dec_and_lock()

Type Parameter Key Value
PARAM_VALUE 0 r 4096-ptr_max
PARAM_VALUE 1 lock 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING