Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- fs/ceph/caps.c
- fs/ceph/dir.c, line 1310
- fs/ceph/file.c
- fs/ceph/inode.c
- fs/ceph/snap.c, line 599
- fs/ceph/super.h, line 819
- fs/ceph/xattr.c
Smatch caller information:
fs/ceph/snap.c ceph_queue_cap_snap() -> __ceph_caps_issued()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_ceph_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ci->i_head_snapc | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_snap_realm | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_snap_realm->cached_context | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->netfs.inode.i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ci->netfs.inode.i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ci->netfs.inode.i_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | implemented | 0 |
| DATA_SOURCE | 0 | ci | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &mdsc->snap_rwsem | ||
| LOCK2 | 0 | &ci->i_ceph_lock | |
| HALF_LOCKED2 | &session->s_mutex | ||
| TYPE_LOCK | (struct ceph_inode_info)->i_ceph_lock | ||
| TYPE_LOCK | (struct ceph_mds_client)->snap_rwsem |
fs/ceph/caps.c __check_cap_issue() -> __ceph_caps_issued()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->netfs.inode.i_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | implemented | 0 |
| DATA_SOURCE | 0 | ci | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ceph/caps.c ceph_check_caps() -> __ceph_caps_issued()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_ceph_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ci->netfs.inode.i_data.host->i_sb->s_export_op->encode_fh | 0,2,4096-ptr_max |
| PARAM_VALUE | 0 | ci->netfs.inode.i_mapping->host->i_sb->s_cop->empty_dir | 0,86,4096-ptr_max |
| PARAM_VALUE | 0 | ci->netfs.inode.i_mapping->host->i_sb->s_cop->get_context | 0,706,4096-ptr_max |
| PARAM_VALUE | 0 | ci->netfs.inode.i_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,2632,2648 |
| PARAM_VALUE | 0 | ci->netfs.inode.i_mapping->host->i_sb->s_cop->set_context | 0,67,4096-ptr_max |
| PARAM_VALUE | 0 | ci->netfs.inode.i_mapping->host->i_sb->s_export_op->encode_fh | 0,2,4096-ptr_max |
| PARAM_VALUE | 0 | ci->netfs.inode.i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ci->netfs.inode.i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ci->netfs.inode.i_op->get_acl | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ci->netfs.inode.i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->netfs.inode.i_sb->s_cop->empty_dir | 0,86,4096-ptr_max |
| PARAM_VALUE | 0 | ci->netfs.inode.i_sb->s_cop->get_context | 0,706,4096-ptr_max |
| PARAM_VALUE | 0 | ci->netfs.inode.i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2704,2712 |
| PARAM_VALUE | 0 | ci->netfs.inode.i_sb->s_cop->set_context | 0,67,4096-ptr_max |
| PARAM_VALUE | 0 | ci->netfs.inode.i_sb->s_export_op->encode_fh | 0,2,4096-ptr_max |
| PARAM_VALUE | 1 | implemented | 6043194815055593472 |
| DATA_SOURCE | 0 | ci | $0 |
| NOSPEC | 0 | ci->i_wanted_max_size | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ci->i_wanted_max_size | 1-9223372036854775805,9223372036854775808-u64max[c] |
| LOCK2 | 0 | &ci->i_ceph_lock | |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct ceph_inode_info)->i_ceph_lock |
fs/ceph/caps.c handle_cap_import() -> __ceph_caps_issued()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 1 | implemented | 3384645928404447232 |
| DATA_SOURCE | 0 | ci | r ceph_inode |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 0 | &ci->i_ceph_lock |
fs/ceph/caps.c handle_cap_trunc() -> __ceph_caps_issued()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 1 | implemented | 3192415042438557696 |
| PARAM_VALUE | 1 | *implemented | 0 |
fs/ceph/caps.c try_get_cap_refs() -> __ceph_caps_issued()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_ceph_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ci->i_truncate_pending | 0 |
| PARAM_VALUE | 1 | implemented | 3492402621119004672 |
| DATA_SOURCE | 0 | ci | r ceph_inode |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ci->i_ceph_lock | |
| HALF_LOCKED2 | &mdsc->snap_rwsem | ||
| TYPE_LOCK | (struct ceph_inode_info)->i_ceph_lock |
fs/ceph/inode.c __ceph_setattr() -> __ceph_caps_issued()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_ceph_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | implemented | 0 |
| DATA_SOURCE | 0 | ci | r ceph_inode |
| NOSPEC | 0 | ci->i_reported_size | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ci->i_reported_size | 0-9223372036854775807,9223372036854775809-18446744073709547520 |
| LOCK2 | 0 | &ci->i_ceph_lock | |
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct ceph_inode_info)->i_ceph_lock |
fs/ceph/inode.c __ceph_setattr() -> __ceph_caps_issued()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_auth_cap | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_caps.rb_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_ceph_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ci->i_head_snapc | 0 |
| PARAM_VALUE | 0 | ci->netfs.inode.i_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | implemented | 0 |
| DATA_SOURCE | 0 | ci | r ceph_inode |
| NOSPEC | 0 | ci->i_reported_size | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ci->i_reported_size | 0-9223372036854775807,9223372036854775809-18446744073709547520 |
| LOCK2 | &mdsc->snap_rwsem | ||
| LOCK2 | 0 | &ci->i_ceph_lock | |
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct ceph_inode_info)->i_ceph_lock | ||
| TYPE_LOCK | (struct ceph_mds_client)->snap_rwsem |
fs/ceph/inode.c ceph_caps_issued() -> __ceph_caps_issued()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_ceph_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | implemented | 0 |
| DATA_SOURCE | 0 | ci | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ci->i_ceph_lock | |
| TYPE_LOCK | (struct ceph_inode_info)->i_ceph_lock |
fs/ceph/inode.c ceph_fill_inode() -> __ceph_caps_issued()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_ceph_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | implemented | 4734438946641301504 |
| BUF_SIZE | 0 | ci->i_snapid_map | (-1),64 |
| DATA_SOURCE | 0 | ci | r ceph_inode |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mdsc->snap_rwsem | ||
| LOCK2 | 0 | &ci->i_ceph_lock | |
| HALF_LOCKED2 | &req->r_fill_mutex | ||
| HALF_LOCKED2 | &session->s_mutex | ||
| TYPE_LOCK | (struct ceph_inode_info)->i_ceph_lock | ||
| TYPE_LOCK | (struct ceph_mds_client)->snap_rwsem |
fs/ceph/inode.c fill_fscrypt_truncate() -> __ceph_caps_issued()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 1 | implemented | 0 |
| DATA_SOURCE | 0 | ci | r ceph_inode |
fs/ceph/addr.c ceph_caps_issued() -> __ceph_caps_issued()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_ceph_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | implemented | 0 |
| DATA_SOURCE | 0 | ci | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | 0 | &ci->i_ceph_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_inode_info)->i_ceph_lock |
fs/ceph/dir.c get_caps_for_async_unlink() -> __ceph_caps_issued()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_ceph_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | implemented | 0 |
| DATA_SOURCE | 0 | ci | r ceph_inode |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ci->i_ceph_lock | |
| 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 | &dn->d_lockref.lock | ||
| HALF_LOCKED2 | &target->i_rwsem | ||
| TYPE_LOCK | (struct ceph_inode_info)->i_ceph_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ceph/xattr.c __ceph_setxattr() -> __ceph_caps_issued()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_ceph_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | implemented | 0 |
| BUF_SIZE | 0 | ci->i_xattrs.prealloc_blob | (-1),32 |
| DATA_SOURCE | 0 | ci | r ceph_inode |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ci->i_ceph_lock | |
| HALF_LOCKED2 | &mdsc->snap_rwsem | ||
| TYPE_LOCK | (struct ceph_inode_info)->i_ceph_lock |
fs/ceph/xattr.c ceph_vxattrcb_caps() -> __ceph_caps_issued()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_ceph_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | implemented | 0 |
| DATA_SOURCE | 0 | ci | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ci->i_ceph_lock | |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct ceph_inode_info)->i_ceph_lock |
fs/ceph/file.c cache_file_layout() -> __ceph_caps_issued()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_ceph_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | implemented | 0 |
| DATA_SOURCE | 0 | ci | r ceph_inode |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | 0 | &ci->i_ceph_lock | |
| HALF_LOCKED2 | &dn->d_lockref.lock | ||
| TYPE_LOCK | (struct ceph_inode_info)->i_ceph_lock |
fs/ceph/file.c ceph_open() -> __ceph_caps_issued()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_caps.rb_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_ceph_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | implemented | 0 |
| DATA_SOURCE | 0 | ci | r ceph_inode |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ci->i_ceph_lock | |
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct ceph_inode_info)->i_ceph_lock |
fs/ceph/file.c ceph_renew_caps() -> __ceph_caps_issued()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_cap_delay_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_ceph_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ci->netfs.inode.i_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | implemented | 0 |
| DATA_SOURCE | 0 | ci | r ceph_inode |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ci->i_ceph_lock | |
| TYPE_LOCK | (struct ceph_inode_info)->i_ceph_lock |
fs/ceph/file.c try_prep_async_create() -> __ceph_caps_issued()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_auth_cap | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_auth_cap->session | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_auth_cap->session->s_delegated_inos.xa_head | 1-u64max |
| PARAM_VALUE | 0 | ci->i_ceph_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | implemented | 0 |
| DATA_SOURCE | 0 | ci | r ceph_inode |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | 0 | &ci->i_ceph_lock | |
| HALF_LOCKED2 | &dn->d_lockref.lock | ||
| TYPE_LOCK | (struct ceph_inode_info)->i_ceph_lock |