Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/ceph/mds_client.c reconnect_caps_cb() -> __ceph_caps_wanted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_ceph_lock.rlock.dep_map->name | 0-255 |
| 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 | ||
| HALF_LOCKED2 | &mdsc->snap_rwsem | ||
| HALF_LOCKED2 | &s->lock | ||
| HALF_LOCKED2 | &session->s_mutex | ||
| TYPE_LOCK | (struct ceph_inode_info)->i_ceph_lock |
fs/ceph/mds_client.c reconnect_caps_cb() -> __ceph_caps_wanted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_ceph_lock.rlock.dep_map->name | 0-255 |
| 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 | ||
| HALF_LOCKED2 | &mdsc->snap_rwsem | ||
| HALF_LOCKED2 | &s->lock | ||
| HALF_LOCKED2 | &session->s_mutex | ||
| TYPE_LOCK | (struct ceph_inode_info)->i_ceph_lock |
fs/ceph/caps.c __kick_flushing_caps() -> __ceph_caps_wanted()
| 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->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->inode_info_offs | 1632,1720,1808,2632,2648 |
| 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->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 |
| CAPPED_DATA | 0 | ci->i_auth_cap | 1 |
| CAPPED_DATA | 0 | &ci->i_cap_flush_list | 1 |
| DATA_SOURCE | 0 | ci | $2 |
| BIT_INFO | 0 | ci->i_ceph_flags | 0x0,0xffffffffffffefff |
| NOSPEC | 0 | ci->i_wanted_max_size | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ci->i_wanted_max_size | 1-9223372036854775805,9223372036854775808-u64max[c] |
| HALF_LOCKED2 | &session->s_mutex | ||
| HALF_LOCKED2 | 0 | &ci->i_ceph_lock |
fs/ceph/caps.c ceph_add_cap() -> __ceph_caps_wanted()
| 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_cached_layout.object_size | 0 |
| PARAM_VALUE | 0 | ci->i_cached_layout.pool_id | 0 |
| PARAM_VALUE | 0 | ci->i_cached_layout.pool_ns | 0 |
| PARAM_VALUE | 0 | ci->i_cached_layout.stripe_count | 0 |
| PARAM_VALUE | 0 | ci->i_cached_layout.stripe_unit | 0 |
| PARAM_VALUE | 0 | ci->i_caps.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->netfs.inode.i_sb | 4096-ptr_max |
| DATA_SOURCE | 0 | ci | r ceph_inode |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ci->i_ceph_lock | ||
| HALF_LOCKED2 | &mdsc->snap_rwsem | ||
| HALF_LOCKED2 | &session->s_mutex | ||
| HALF_LOCKED2 | &session->s_mutex |
fs/ceph/caps.c ceph_drop_caps_for_unlink() -> __ceph_caps_wanted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_ceph_lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | ci | r ceph_inode |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ci->i_ceph_lock | |
| HALF_LOCKED2 | &target->i_rwsem | ||
| TYPE_LOCK | (struct ceph_inode_info)->i_ceph_lock |
fs/ceph/caps.c ceph_encode_inode_release() -> __ceph_caps_wanted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ci | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_caps.rb_node | 1-u64max |
| PARAM_VALUE | 0 | ci->i_ceph_lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | ci | r ceph_inode |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mdsc->mutex | ||
| 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)->mutex |
fs/ceph/caps.c handle_cap_grant() -> __ceph_caps_wanted()
| 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_cached_layout.object_size | 0 |
| PARAM_VALUE | 0 | ci->i_cached_layout.pool_id | 0 |
| PARAM_VALUE | 0 | ci->i_cached_layout.pool_ns | 0 |
| PARAM_VALUE | 0 | ci->i_cached_layout.stripe_count | 0 |
| PARAM_VALUE | 0 | ci->i_cached_layout.stripe_unit | 0 |
| PARAM_VALUE | 0 | ci->i_caps.rb_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ci->netfs.inode.i_sb | 4096-ptr_max |
| DATA_SOURCE | 0 | ci | r ceph_inode |
fs/ceph/caps.c try_flush_caps() -> __ceph_caps_wanted()
| 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->s_cap_flushing.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_auth_cap->session->s_cap_flushing.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_auth_cap->session->s_cap_flushing.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_ceph_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ci->i_dirty_caps | 1-u32max |
| DATA_SOURCE | 0 | ci | r ceph_inode |
| BIT_INFO | 0 | ci->i_ceph_flags | 0x0,0xfffffffffffffe7f |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ci->i_ceph_lock | |
| TYPE_LOCK | (struct ceph_inode_info)->i_ceph_lock |