Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/fs_context.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &sb->s_umount

fs/nfs/inode.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dentry->d_lockref.lock

fs/nfs/getroot.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fc->uapi_mutex
HALF_LOCKED2 &s->s_umount

security/landlock/fs.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
NOCHECK_CALL

fs/super.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fc->uapi_mutex

fs/nfsd/nfs4proc.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
NOCHECK_CALL

fs/cachefiles/namei.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 &cache->daemon_mutex

fs/kernfs/mount.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fc->uapi_mutex

fs/overlayfs/copy_up.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/configfs/dir.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &configfs_dirent_lock

fs/autofs/expire.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
NOCHECK_CALL

security/apparmor/apparmorfs.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

security/smack/smack_lsm.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
NOCHECK_CALL

fs/ecryptfs/inode.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dentry->d_lockref.lock

fs/namei.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &parent->d_inode->i_rwsem
HALF_LOCKED2 global &mount_lock.lock

fs/gfs2/ops_fstype.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fc->uapi_mutex

fs/ntfs3/namei.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &source->i_rwsem
HALF_LOCKED2 &target->i_rwsem

fs/nfsd/nfs4state.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
NOCHECK_CALL

fs/ceph/mds_client.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &inode->i_lock
HALF_LOCKED2 &s->lock
HALF_LOCKED2 &session->s_mutex

fs/nilfs2/super.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fc->uapi_mutex

fs/overlayfs/util.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/overlayfs/dir.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &wdir->i_rwsem
HALF_LOCKED2 _T->lock

net/unix/af_unix.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &u->bindlock
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 global &o2nm_cluster_group.cs_subsys.su_mutex
TYPE_LOCK (struct unix_sock)->bindlock

fs/xfs/xfs_qm.c xfs_qm_dqhold() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/overlayfs/super.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fc->uapi_mutex
HALF_LOCKED2 &sb->s_umount

net/sunrpc/rpc_pipe.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &pipe->lock
TYPE_LOCK (struct rpc_pipe)->lock

fs/namespace.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &mount_lock.lock
HALF_LOCKED2 global &namespace_sem

fs/ceph/export.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &child->d_lockref.lock

fs/nfsd/vfs.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
NOCHECK_CALL

fs/nfsd/export.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
NOCHECK_CALL

fs/smb/client/file.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

lib/fault-inject.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &once_lock
HALF_LOCKED2 global &ttm_global_mutex

fs/overlayfs/readdir.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/ecryptfs/main.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fc->uapi_mutex

drivers/mtd/mtdsuper.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fc->uapi_mutex

kernel/acct.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
CAPABLE 0 20
NOCHECK_CALL
LOCK2 global &acct_on_mutex

fs/nfsd/nfs3xdr.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
NOCHECK_CALL

fs/fhandle.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dentry->d_lockref.lock

fs/afs/super.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fc->uapi_mutex

fs/fuse/virtio_fs.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fsc->uapi_mutex

fs/9p/vfs_super.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fc->uapi_mutex

fs/smb/client/cached_dir.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &cifs_mount_mutex

fs/exportfs/expfs.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/exportfs/expfs.c dget_alias_ilocked() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &inode->i_lock
TYPE_LOCK (struct inode)->i_lock

fs/nfs/nfs4proc.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/overlayfs/export.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/btrfs/super.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fc->uapi_mutex

fs/overlayfs/namei.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dentry->d_lockref.lock

drivers/base/devtmpfs.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &sb->s_umount
HALF_LOCKED2 &fc->uapi_mutex
TYPE_LOCK (struct super_block)->s_umount

fs/xfs/xfs_buf.c xfs_buf_hold() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ailp->ail_lock
HALF_LOCKED2 &bp->b_sema
HALF_LOCKED2 &bp->b_sema
HALF_LOCKED2 &cil->xc_ctx_lock
HALF_LOCKED2 &dqp->q_qlock
HALF_LOCKED2 &iip->ili_lock

fs/ceph/dir.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &inode->i_rwsem

fs/fuse/inode.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fsc->uapi_mutex

fs/ceph/super.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &fsc->client->mount_mutex
HALF_LOCKED2 &fc->uapi_mutex
HALF_LOCKED2 &sb->s_umount
TYPE_LOCK (struct ceph_client)->mount_mutex

security/selinux/hooks.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/ubifs/super.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fc->uapi_mutex

fs/smb/client/cifsfs.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &cifs_mount_mutex
HALF_LOCKED2 &fc->uapi_mutex

fs/nfs/unlink.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &target->i_rwsem

fs/nfsd/nfsfh.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/orangefs/super.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fc->uapi_mutex

fs/ceph/file.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 &dn->d_lockref.lock

fs/libfs.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/dcache.c __d_find_dir_alias() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &inode->i_lock
TYPE_LOCK (struct inode)->i_lock

fs/dcache.c dget() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &rename_lock.lock

fs/dcache.c dget_alias_ilocked() -> lockref_get()

Type Parameter Key Value
PARAM_VALUE 0 lockref 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &inode->i_lock
TYPE_LOCK (struct inode)->i_lock