Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/ceph/snap.c __cleanup_empty_realms() -> __destroy_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_empty_lock.rlock.dep_map->name | 0-255 |
| 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 | 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.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | realm | 4096-ptr_max |
| CAPPED_DATA | 0 | &mdsc->snap_empty | 1 |
| DATA_SOURCE | 0 | mdsc | $0 |
| PARAM_COMPARE | 0 | &mdsc->snap_empty | != $0->snap_empty.next |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &mdsc->snap_rwsem | |
| TYPE_LOCK | (struct ceph_mds_client)->snap_rwsem |
fs/ceph/snap.c __put_snap_realm() -> __destroy_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->client->monc.con.ops->get | 0,1733957411014758400,5067823073802145792,9046076307153379328 |
| 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 | 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 | 4096-ptr_max |
| DATA_SOURCE | 0 | mdsc | $0 |
| DATA_SOURCE | 1 | realm | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 0 | &mdsc->snap_rwsem |
fs/ceph/snap.c ceph_put_snap_realm() -> __destroy_snap_realm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc | 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_empty_lock.rlock.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->type | 0-1 |
| PARAM_VALUE | 1 | realm | 4096-ptr_max |
| BUF_SIZE | 1 | realm | (-1)-0,296 |
| BUF_SIZE | 1 | realm | (-1)-0,296 |
| CAPPED_DATA | 0 | &mdsc->snap_rwsem | 1 |
| CAPPED_DATA | 1 | realm | 1 |
| DATA_SOURCE | 0 | mdsc | $0 |
| DATA_SOURCE | 1 | realm | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | realm->num_prior_parent_snaps | |
| NO_OVERFLOW_SIMPLE | 1 | realm->num_snaps | |
| LOCK2 | 0 | &mdsc->snap_rwsem | |
| HALF_LOCKED2 | &session->s_mutex | ||
| TYPE_LOCK | (struct ceph_mds_client)->snap_rwsem |