Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/ceph/snap.c ceph_queue_cap_snap() -> __ceph_finish_cap_snap()
| 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_cap_snaps.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_cap_snaps.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ci->i_cap_snaps.prev->next->next | 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 | 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->i_wrbuffer_ref_head | 0 |
| 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 | capsnap | 4096-ptr_max |
| PARAM_VALUE | 1 | capsnap->ci_item.next | 4096-ptr_max |
| PARAM_VALUE | 1 | capsnap->context | 4096-ptr_max |
| PARAM_VALUE | 1 | capsnap->xattr_blob | 0,4096-ptr_max |
| DATA_SOURCE | 0 | ci | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| 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 __ceph_put_cap_refs() -> __ceph_finish_cap_snap()
| 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_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 | 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 | capsnap | 4096-ptr_max |
| PARAM_VALUE | 1 | capsnap->writing | 0 |
| DATA_SOURCE | 0 | ci | $0 |
| PARAM_COMPARE | 0 | &ci->i_cap_snaps | != $0->i_cap_snaps.next |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ci->i_ceph_lock | |
| TYPE_LOCK | (struct ceph_inode_info)->i_ceph_lock |