Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/ceph/caps.c handle_cap_export() -> ceph_get_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->fsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->mdsmap | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->sessions | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.first_waiter->handoff_set | 1 |
| 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 | 0 | mdsc->snap_rwsem.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mdsc->snap_rwsem.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | *mdsc->sessions | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 0 |
| CAPPED_DATA | 0 | &mdsc->snap_rwsem | 1 |
| NO_OVERFLOW_SIMPLE | 0 | mdsc->max_sessions | |
| LOCK2 | &session->s_mutex | ||
| LOCK2 | &tsession->s_mutex | ||
| TYPE_LOCK | (struct ceph_mds_session)->s_mutex |
fs/ceph/caps.c handle_cap_import() -> ceph_get_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->fsc | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 0 |
| DATA_SOURCE | 0 | mdsc | $0 |
fs/ceph/inode.c ceph_fill_inode() -> ceph_get_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->fsc | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 0,4096-ptr_max |
| DATA_SOURCE | 0 | mdsc | r ceph_sb_to_mdsc |
| DATA_SOURCE | 1 | ctx | $6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mdsc->snap_rwsem | ||
| HALF_LOCKED2 | &req->r_fill_mutex | ||
| HALF_LOCKED2 | &session->s_mutex | ||
| TYPE_LOCK | (struct ceph_mds_client)->snap_rwsem |