Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/ceph/inode.c __ceph_setattr() -> ceph_mds_check_access()

Type Parameter Key Value
PARAM_VALUE 0 mdsc 4096-ptr_max
PARAM_VALUE 0 mdsc->fsc 4096-ptr_max
PARAM_VALUE 1 tpath 0-ptr_max
PARAM_VALUE 2 mask 2
DATA_SOURCE 1 tpath r ceph_mdsc_build_path
RX_PATH
TASK_NOT_RUNNING

fs/ceph/dir.c ceph_unlink() -> ceph_mds_check_access()

Type Parameter Key Value
PARAM_VALUE 0 mdsc 4096-ptr_max
PARAM_VALUE 0 mdsc->fsc 4096-ptr_max
PARAM_VALUE 1 tpath 0-ptr_max
PARAM_VALUE 2 mask 2
DATA_SOURCE 1 tpath r ceph_mdsc_build_path
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_inode->i_rwsem
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &dentry->d_sb->s_vfs_rename_mutex
HALF_LOCKED2 &dir->d_inode->i_rwsem
HALF_LOCKED2 &dir->i_rwsem
HALF_LOCKED2 &target->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ceph/file.c ceph_atomic_open() -> ceph_mds_check_access()

Type Parameter Key Value
PARAM_VALUE 0 mdsc 4096-ptr_max
PARAM_VALUE 0 mdsc->fsc 4096-ptr_max
PARAM_VALUE 1 tpath 0-ptr_max
PARAM_VALUE 2 mask 4,6
DATA_SOURCE 1 tpath r ceph_mdsc_build_path
FUZZY_MAX 2 mask 4
BIT_INFO 2 mask 0x4,0x6
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &dir_inode->i_rwsem

fs/ceph/file.c ceph_open() -> ceph_mds_check_access()

Type Parameter Key Value
PARAM_VALUE 0 mdsc 4096-ptr_max
PARAM_VALUE 0 mdsc->fsc 4096-ptr_max
PARAM_VALUE 1 tpath 0-ptr_max
PARAM_VALUE 2 mask 4,6
DATA_SOURCE 1 tpath r ceph_mdsc_build_path
FUZZY_MAX 2 mask 4
BIT_INFO 2 mask 0x4,0x6
RX_PATH
TASK_NOT_RUNNING