Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/ceph/ioctl.c ceph_set_encryption_policy() -> ceph_get_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | need | 256 |
| PARAM_VALUE | 2 | want | 0 |
| PARAM_VALUE | 3 | endoff | (-1) |
| PARAM_VALUE | 4 | got | 1976381694561255424 |
| PARAM_VALUE | 4 | *got | 0 |
| DATA_SOURCE | 0 | filp | $0 |
fs/ceph/addr.c ceph_filemap_fault() -> ceph_get_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_inode->i_sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_inode->i_sb->s_fs_info->mount_state | s32min-3 |
| PARAM_VALUE | 0 | filp->private_data | 4096-ptr_max |
| PARAM_VALUE | 1 | need | 2048 |
| PARAM_VALUE | 2 | want | 1024,33792 |
| PARAM_VALUE | 3 | endoff | (-1) |
| PARAM_VALUE | 4 | got | 2673030393558757376 |
| PARAM_VALUE | 4 | *got | 0 |
| FUZZY_MAX | 2 | want | 33792 |
| BIT_INFO | 2 | want | 0x400,0x8400 |
| HARD_MAX | 2 | want | 33792 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ceph/addr.c ceph_page_mkwrite() -> ceph_get_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_inode->i_sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_inode->i_sb->s_fs_info->mount_state | s32min-3 |
| PARAM_VALUE | 0 | filp->private_data | 4096-ptr_max |
| PARAM_VALUE | 1 | need | 4096 |
| PARAM_VALUE | 2 | want | 8192,40960 |
| PARAM_VALUE | 4 | got | 8513515919907037184 |
| PARAM_VALUE | 4 | *got | 0 |
| FUZZY_MAX | 2 | want | 40960 |
| BIT_INFO | 2 | want | 0x2000,0xa000 |
| HARD_MAX | 2 | want | 40960 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ceph/file.c ceph_fallocate() -> ceph_get_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_inode->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->f_inode->i_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | filp->f_inode->i_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | filp->f_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | filp->f_inode->i_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | filp->f_inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_path.dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | filp->f_path.dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | filp->f_path.dentry->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | filp->f_path.dentry->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | filp->f_path.dentry->d_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2704,2712 |
| PARAM_VALUE | 0 | filp->private_data | 4096-ptr_max |
| PARAM_VALUE | 1 | need | 4096 |
| PARAM_VALUE | 2 | want | 8192,40960 |
| PARAM_VALUE | 3 | endoff | 0 |
| PARAM_VALUE | 4 | got | 6477456753934184448 |
| PARAM_VALUE | 4 | *got | 0 |
| BUF_SIZE | 0 | filp | (-1),1-s32max |
| BUF_SIZE | 0 | filp | (-1),1-s32max |
| DATA_SOURCE | 0 | filp | $0 |
| FUZZY_MAX | 2 | want | 40960 |
| BIT_INFO | 2 | want | 0x2000,0xa000 |
| HARD_MAX | 2 | want | 40960 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | filp->f_flags | 0-u32max |
| USER_DATA | 0 | filp->f_mode | 33554432-u32max |
| USER_DATA | 0 | filp->f_path.dentry->d_inode->i_mode | 0-u16max |
| USER_DATA | 0 | filp->f_path.dentry->d_inode->i_size | (-9223372036854775807)-(-4),0-s64max |
| NO_OVERFLOW_SIMPLE | 0 | filp->f_path.d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | filp->f_path.dentry->dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | filp->f_path.dentry->moved->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | filp->f_path.moved->d_inode->i_size | |
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ceph/file.c ceph_read_iter() -> ceph_get_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_inode->i_mapping->host->i_sb->s_cop->empty_dir | 0,86,4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_inode->i_mapping->host->i_sb->s_cop->get_context | 0,706,4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_inode->i_mapping->host->i_sb->s_cop->set_context | 0,67,4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | filp->f_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | filp->f_inode->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->f_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | filp->f_inode->i_rwsem.first_waiter->list.next | 2212933610777083904,2624917664208203776 |
| PARAM_VALUE | 0 | filp->f_inode->i_rwsem.first_waiter->list.prev | 2212933610777083904,2624917664208203776 |
| PARAM_VALUE | 0 | filp->f_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | filp->f_inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2704,2712 |
| PARAM_VALUE | 0 | filp->f_inode->i_sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_inode->i_sb->s_fs_info->mount_state | s32min-3 |
| PARAM_VALUE | 1 | need | 2048 |
| PARAM_VALUE | 2 | want | 0,1024,32768,33792 |
| PARAM_VALUE | 3 | endoff | (-1) |
| PARAM_VALUE | 4 | got | 6816354453794734080 |
| PARAM_VALUE | 4 | *got | 0,256,512-45056 |
| FUZZY_MAX | 2 | want | 0 |
| BIT_INFO | 2 | want | 0x0,0x8400 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ceph/file.c ceph_splice_read() -> ceph_get_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | filp->f_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | filp->f_inode->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->f_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | filp->f_inode->i_rwsem.first_waiter->list.next | 2212933610777083904,2624917664208203776 |
| PARAM_VALUE | 0 | filp->f_inode->i_rwsem.first_waiter->list.prev | 2212933610777083904,2624917664208203776 |
| PARAM_VALUE | 0 | filp->f_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | filp->f_inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_inode->i_sb->s_fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_inode->i_sb->s_fs_info->mount_state | s32min-3 |
| PARAM_VALUE | 0 | filp->f_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_mapping->host | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_op->splice_read | 1-u64max |
| PARAM_VALUE | 0 | filp->f_path.dentry->d_inode->i_sb->s_cop->inode_info_offs | 1632,1640,1720,1808,1816,2632,2640,2648,2704,2712 |
| PARAM_VALUE | 0 | filp->private_data | 4096-ptr_max |
| PARAM_VALUE | 1 | need | 2048 |
| PARAM_VALUE | 2 | want | 1024,33792 |
| PARAM_VALUE | 3 | endoff | (-1) |
| PARAM_VALUE | 4 | got | 5571342587995222016 |
| PARAM_VALUE | 4 | *got | 0 |
| BUF_SIZE | 0 | filp | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | filp | s32min,(-1),1-s32max |
| DATA_SOURCE | 0 | filp | $0 |
| FUZZY_MAX | 2 | want | 1024 |
| BIT_INFO | 0 | filp->f_flags | 0x0,0xffffbfff |
| BIT_INFO | 0 | filp->f_mode | 0x1,0xffffffffffffffff |
| BIT_INFO | 2 | want | 0x400,0x8400 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | filp->f_path.d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | filp->f_path.dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | filp->f_path.moved->d_inode->i_size | |
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ceph/file.c ceph_write_iter() -> ceph_get_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_inode | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_inode->i_mapping->host->i_sb->s_cop->empty_dir | 0,86,4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_inode->i_mapping->host->i_sb->s_cop->get_context | 0,706,4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_inode->i_mapping->host->i_sb->s_cop->set_context | 0,67,4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | filp->f_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | filp->f_inode->i_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filp->f_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | filp->f_inode->i_rwsem.first_waiter->list.next | 2212933610777083904,2624917664208203776 |
| PARAM_VALUE | 0 | filp->f_inode->i_rwsem.first_waiter->list.prev | 2212933610777083904,2624917664208203776 |
| PARAM_VALUE | 0 | filp->f_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | filp->f_inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_inode->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2704,2712 |
| PARAM_VALUE | 0 | filp->f_inode->i_sb->s_root | 4096-ptr_max |
| PARAM_VALUE | 1 | need | 4096 |
| PARAM_VALUE | 2 | want | 0,8192,32768,40960 |
| PARAM_VALUE | 4 | got | 6071667095680995328 |
| PARAM_VALUE | 4 | *got | 0 |
| FUZZY_MAX | 2 | want | 0 |
| BIT_INFO | 2 | want | 0x0,0xa000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | endoff | s64min-9223372036854775805 |
| UNITS | 3 | endoff | unit_byte |
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ceph/file.c get_rd_wr_caps() -> ceph_get_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | filp->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | filp->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | filp->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | filp->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | filp->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | filp->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | filp->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | filp->f_inode->i_mapping->host->i_sb->s_cop->empty_dir | 0,86,4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_inode->i_mapping->host->i_sb->s_cop->get_context | 0,706,4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_inode->i_mapping->host->i_sb->s_cop->set_context | 0,67,4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | filp->f_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | filp->f_inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_op->copy_file_range | 1-u64max |
| PARAM_VALUE | 0 | filp->f_path.dentry->d_inode->i_sb->s_cop->inode_info_offs | 1632,1808,2632,2648 |
| PARAM_VALUE | 1 | need | 4096 |
| PARAM_VALUE | 2 | want | 8192 |
| PARAM_VALUE | 4 | got | 6258734436739112960 |
| PARAM_VALUE | 4 | *got | 0,256,512-45056 |
| BUF_SIZE | 0 | filp | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | filp | s32min,(-1),1-s32max |
| CAPPED_DATA | 0 | filp->f_inode | 1 |
| CAPPED_DATA | 0 | filp->f_op->copy_file_range | 1 |
| DATA_SOURCE | 0 | filp | $2 |
| DATA_SOURCE | 3 | endoff | $3 |
| DATA_SOURCE | 4 | got | $4 |
| RX_PATH | |||
| USER_DATA | 3 | endoff | 2-2000000000[c] |
| NO_OVERFLOW_SIMPLE | 0 | filp->f_path.dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | filp->f_path.moved->d_inode->i_size | |
| UNITS | 3 | endoff | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/ceph/file.c get_rd_wr_caps() -> ceph_get_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | filp->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | filp->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | filp->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | filp->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | filp->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | filp->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | filp->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | filp->f_inode | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_inode->i_mapping->host->i_sb->s_cop->empty_dir | 0,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | filp->f_inode->i_mapping->host->i_sb->s_cop->get_context | 0,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | filp->f_inode->i_mapping->host->i_sb->s_cop->set_context | 0,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 0 | filp->f_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | filp->f_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | filp->f_inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_path.dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | filp->f_path.dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | filp->f_path.dentry->d_inode->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | filp->f_path.dentry->d_inode->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | filp->f_path.dentry->d_inode->i_sb->s_cop->inode_info_offs | 1632,1640,1808,1816,2632,2640,2648,2704,2712 |
| PARAM_VALUE | 0 | filp->f_path.dentry->d_inode->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 1 | need | 2048 |
| PARAM_VALUE | 2 | want | 256 |
| PARAM_VALUE | 3 | endoff | (-1) |
| PARAM_VALUE | 4 | got | 2157722763982921728 |
| PARAM_VALUE | 4 | *got | 0,256,512-45056 |
| BUF_SIZE | 0 | filp | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | filp | s32min,(-1),1-s32max |
| CAPPED_DATA | 0 | filp->f_inode | 1 |
| CAPPED_DATA | 0 | filp->f_inode->i_size | 1 |
| CAPPED_DATA | 4 | *got | 1 |
| DATA_SOURCE | 0 | filp | $0 |
| DATA_SOURCE | 4 | got | $1 |
| RX_PATH | |||
| NO_OVERFLOW_SIMPLE | 0 | filp->f_path.dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | filp->f_path.moved->d_inode->i_size | |
| HALF_LOCKED2 | &pool->lock |