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_handle_snap() -> ceph_get_snap_realm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->fsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mdsc->stopping | s32min-1 |
| PARAM_VALUE | 0 | mdsc->stopping_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | realm | 4096-ptr_max |
| BUF_SIZE | 1 | realm | (-1),296 |
| BUF_SIZE | 1 | realm | (-1),296 |
| CAPPED_DATA | 0 | &mdsc->snap_rwsem | 1 |
| DATA_SOURCE | 0 | mdsc | $0 |
| HARD_MAX | 0 | mdsc->stopping | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &ci->i_ceph_lock | ||
| LOCK2 | 0 | &mdsc->snap_rwsem | |
| TYPE_LOCK | (struct ceph_inode_info)->i_ceph_lock | ||
| TYPE_LOCK | (struct ceph_mds_client)->snap_rwsem |
fs/ceph/snap.c ceph_lookup_snap_realm() -> ceph_get_snap_realm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->fsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->fsc->sb->s_cop->empty_dir | 0,86,4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->fsc->sb->s_cop->get_context | 0,706,4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->fsc->sb->s_cop->set_context | 0,67,4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->snap_realms.rb_node | 1-u64max |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | realm | 4096-ptr_max |
| CAPPED_DATA | 1 | realm->ino | 1 |
| DATA_SOURCE | 0 | mdsc | $0 |
| DATA_SOURCE | 1 | realm | r __lookup_snap_realm |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 0 | &mdsc->snap_rwsem |
fs/ceph/quota.c check_quota_exceeded() -> ceph_get_snap_realm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->fsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | realm | 1-u64max |
| CAPPED_DATA | 0 | &mdsc->snap_rwsem | 1 |
| DATA_SOURCE | 0 | mdsc | r ceph_sb_to_mdsc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &mdsc->snap_rwsem | |
| TYPE_LOCK | (struct ceph_mds_client)->snap_rwsem |
fs/ceph/quota.c check_quota_exceeded() -> ceph_get_snap_realm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->fsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | realm | 1-u64max |
| CAPPED_DATA | 0 | &mdsc->snap_rwsem | 1 |
| DATA_SOURCE | 0 | mdsc | r ceph_sb_to_mdsc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &mdsc->snap_rwsem | |
| TYPE_LOCK | (struct ceph_mds_client)->snap_rwsem |
fs/ceph/quota.c get_quota_realm() -> ceph_get_snap_realm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->fsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | realm | 1-u64max |
| DATA_SOURCE | 0 | mdsc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &mdsc->snap_rwsem | |
| TYPE_LOCK | (struct ceph_mds_client)->snap_rwsem |
fs/ceph/quota.c get_quota_realm() -> ceph_get_snap_realm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->fsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | realm | 1-u64max |
| DATA_SOURCE | 0 | mdsc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &mdsc->snap_rwsem | |
| TYPE_LOCK | (struct ceph_mds_client)->snap_rwsem |