Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/ceph/file.c __ceph_copy_file_range() -> get_rd_wr_caps()

Type Parameter Key Value
PARAM_VALUE 0 src_filp 4096-ptr_max
PARAM_VALUE 0 src_filp->f_cred->process_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 src_filp->f_cred->process_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 src_filp->f_cred->request_key_auth->user->qnbytes s32min-s32max
PARAM_VALUE 0 src_filp->f_cred->request_key_auth->user->qnkeys s32min-s32max
PARAM_VALUE 0 src_filp->f_cred->session_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 src_filp->f_cred->session_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 src_filp->f_cred->thread_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 src_filp->f_cred->thread_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 src_filp->f_inode 4096-ptr_max
PARAM_VALUE 0 src_filp->f_inode->i_sb 4096-ptr_max
PARAM_VALUE 0 src_filp->f_path.dentry->d_inode->i_mapping->host->i_sb->s_export_op->encode_fh 0,2,4096-ptr_max
PARAM_VALUE 0 src_filp->f_path.dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 src_filp->f_path.dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 src_filp->f_path.dentry->d_inode->i_sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 0 src_filp->f_path.dentry->d_inode->i_sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 0 src_filp->f_path.dentry->d_inode->i_sb->s_cop->inode_info_offs 1632,1808,2632,2648,2712
PARAM_VALUE 0 src_filp->f_path.dentry->d_inode->i_sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 0 src_filp->f_path.dentry->d_inode->i_wb->dwork.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 src_filp->f_path.dentry->d_inode->i_wb->dwork.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 src_filp->f_path.dentry->d_inode->i_wb->dwork.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 src_got 2157722763982921728
PARAM_VALUE 1 *src_got 0
PARAM_VALUE 2 dst_filp 4096-ptr_max
PARAM_VALUE 2 dst_filp->f_cred->process_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 2 dst_filp->f_cred->process_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 2 dst_filp->f_cred->request_key_auth->user->qnbytes s32min-s32max
PARAM_VALUE 2 dst_filp->f_cred->request_key_auth->user->qnkeys s32min-s32max
PARAM_VALUE 2 dst_filp->f_cred->session_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 2 dst_filp->f_cred->session_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 2 dst_filp->f_cred->thread_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 2 dst_filp->f_cred->thread_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 2 dst_filp->f_inode->i_sb 4096-ptr_max
PARAM_VALUE 2 dst_filp->f_op 4096-ptr_max
PARAM_VALUE 2 dst_filp->f_op->copy_file_range 1-u64max
PARAM_VALUE 3 dst_endoff 1-2000000000
PARAM_VALUE 4 dst_got 6258734436739112960
PARAM_VALUE 4 *dst_got 0
BUF_SIZE 0 src_filp s32min,(-1),1-s32max
BUF_SIZE 0 src_filp s32min,(-1),1-s32max
BUF_SIZE 2 dst_filp s32min,(-1),1-s32max
BUF_SIZE 2 dst_filp s32min,(-1),1-s32max
CAPPED_DATA 0 src_filp->f_inode 1
CAPPED_DATA 0 src_filp->f_inode->i_size 1
CAPPED_DATA 2 dst_filp->f_inode 1
CAPPED_DATA 2 dst_filp->f_op->copy_file_range 1
DATA_SOURCE 0 src_filp $0
DATA_SOURCE 2 dst_filp $2
RX_PATH
USER_DATA 3 dst_endoff 2-2000000000[c]
NO_OVERFLOW_SIMPLE 0 src_filp->f_path.dentry->d_inode->i_size
NO_OVERFLOW_SIMPLE 0 src_filp->f_path.moved->d_inode->i_size
NO_OVERFLOW_SIMPLE 2 dst_filp->f_path.dentry->d_inode->i_size
NO_OVERFLOW_SIMPLE 2 dst_filp->f_path.moved->d_inode->i_size
UNITS 3 dst_endoff unit_byte
HALF_LOCKED2 &pool->lock

fs/ceph/file.c __ceph_copy_file_range() -> get_rd_wr_caps()

Type Parameter Key Value
PARAM_VALUE 0 src_filp 4096-ptr_max
PARAM_VALUE 0 src_filp->f_cred->process_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 src_filp->f_cred->process_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 src_filp->f_cred->request_key_auth->user->qnbytes s32min-s32max
PARAM_VALUE 0 src_filp->f_cred->request_key_auth->user->qnkeys s32min-s32max
PARAM_VALUE 0 src_filp->f_cred->session_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 src_filp->f_cred->session_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 src_filp->f_cred->thread_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 src_filp->f_cred->thread_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 src_filp->f_inode 4096-ptr_max
PARAM_VALUE 0 src_filp->f_inode->i_sb 4096-ptr_max
PARAM_VALUE 0 src_filp->f_path.dentry->d_inode->i_mapping->host->i_sb->s_export_op->encode_fh 0,2,4096-ptr_max
PARAM_VALUE 0 src_filp->f_path.dentry->d_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent 0,5297,148606482432692224,436469935444291584,467281172929331200
PARAM_VALUE 0 src_filp->f_path.dentry->d_inode->i_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 0 src_filp->f_path.dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 src_filp->f_path.dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 src_filp->f_path.dentry->d_inode->i_sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 0 src_filp->f_path.dentry->d_inode->i_sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 0 src_filp->f_path.dentry->d_inode->i_sb->s_cop->inode_info_offs 1632,1808,2632,2648,2712
PARAM_VALUE 0 src_filp->f_path.dentry->d_inode->i_sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 0 src_filp->f_path.dentry->d_inode->i_sb->s_export_op->fh_to_parent 0,5297,148606482432692224,436469935444291584,467281172929331200
PARAM_VALUE 0 src_filp->f_path.dentry->d_inode->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 0 src_filp->f_path.dentry->d_inode->i_wb->dwork.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 src_filp->f_path.dentry->d_inode->i_wb->dwork.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 src_filp->f_path.dentry->d_inode->i_wb->dwork.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 src_got 2157722763982921728
PARAM_VALUE 1 *src_got 256,512-45056
PARAM_VALUE 2 dst_filp 4096-ptr_max
PARAM_VALUE 2 dst_filp->f_cred->process_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 2 dst_filp->f_cred->process_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 2 dst_filp->f_cred->request_key_auth->user->qnbytes s32min-s32max
PARAM_VALUE 2 dst_filp->f_cred->request_key_auth->user->qnkeys s32min-s32max
PARAM_VALUE 2 dst_filp->f_cred->session_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 2 dst_filp->f_cred->session_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 2 dst_filp->f_cred->thread_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 2 dst_filp->f_cred->thread_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 2 dst_filp->f_inode 4096-ptr_max
PARAM_VALUE 2 dst_filp->f_inode->i_mapping 4096-ptr_max
PARAM_VALUE 2 dst_filp->f_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 2 dst_filp->f_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 dst_filp->f_inode->i_sb 4096-ptr_max
PARAM_VALUE 2 dst_filp->f_op 4096-ptr_max
PARAM_VALUE 2 dst_filp->f_op->copy_file_range 1-u64max
PARAM_VALUE 4 dst_got 6258734436739112960
PARAM_VALUE 4 *dst_got 0
BUF_SIZE 0 src_filp s32min,(-1),1-s32max
BUF_SIZE 0 src_filp s32min,(-1),1-s32max
BUF_SIZE 2 dst_filp s32min,(-1),1-s32max
BUF_SIZE 2 dst_filp s32min,(-1),1-s32max
CAPPED_DATA 0 src_filp->f_inode 1
CAPPED_DATA 0 src_filp->f_inode->i_size 1
CAPPED_DATA 2 dst_filp->f_inode 1
CAPPED_DATA 2 dst_filp->f_op->copy_file_range 1
DATA_SOURCE 0 src_filp $0
DATA_SOURCE 2 dst_filp $2
RX_PATH
USER_DATA 3 dst_endoff 2-2000000000[c]
NO_OVERFLOW_SIMPLE 0 src_filp->f_path.dentry->d_inode->i_size
NO_OVERFLOW_SIMPLE 0 src_filp->f_path.moved->d_inode->i_size
NO_OVERFLOW_SIMPLE 2 dst_filp->f_path.dentry->d_inode->i_size
NO_OVERFLOW_SIMPLE 2 dst_filp->f_path.moved->d_inode->i_size
UNITS 3 dst_endoff unit_byte
HALF_LOCKED2 &pool->lock