Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
fs/ceph/metric.c metric_get_session() -> __ceph_lookup_mds_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->max_sessions | 1-s32max |
| PARAM_VALUE | 0 | mdsc->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mdsc->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mdsc->stopping | 0 |
| PARAM_VALUE | 1 | mds | 0-s32max |
| CAPPED_DATA | 0 | &mdsc->mutex | 1 |
| CAPPED_DATA | 1 | mds | 1 |
| DATA_SOURCE | 0 | mdsc | $0 |
| PARAM_COMPARE | 1 | mds | < $0->max_sessions |
| UNITS | 1 | mds | unit_array_size |
| LOCK2 | 0 | &mdsc->mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_mds_client)->mutex |
fs/ceph/mds_client.c __do_request() -> __ceph_lookup_mds_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->fsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->fsc->mount_state | s32min-3,5,7-s32max |
| PARAM_VALUE | 0 | mdsc->mdsmap | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->mdsmap->possible_max_rank | 1-u32max |
| PARAM_VALUE | 0 | mdsc->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.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 | mds | 0-s32max |
| BUF_SIZE | 0 | mdsc->mdsmap | (-1),104 |
| CAPPED_DATA | 1 | mds | 1 |
| DATA_SOURCE | 0 | mdsc | $0 |
| DATA_SOURCE | 1 | mds | r __choose_mds |
| PARAM_COMPARE | 1 | mds | < $0->mdsmap->possible_max_rank |
| NOSPEC | 0 | mdsc->mdsmap->possible_max_rank | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | mdsc->fsc->max_file_size | s64min-9223372036854775806[c] |
| USER_DATA | 0 | mdsc->mdsmap->m_cas_pg_pool | 0-u64max |
| USER_DATA | 0 | mdsc->mdsmap->m_client_epoch | 0-u32max |
| USER_DATA | 0 | mdsc->mdsmap->m_enabled | 0-1 |
| USER_DATA | 0 | mdsc->mdsmap->m_last_failure | 0-u32max |
| USER_DATA | 0 | mdsc->mdsmap->m_max_file_size | 0-u64max |
| USER_DATA | 0 | mdsc->mdsmap->m_max_mds | 0-u32max |
| USER_DATA | 0 | mdsc->mdsmap->m_max_xattr_size | 0-u64max |
| USER_DATA | 0 | mdsc->mdsmap->m_num_data_pg_pools | s32min-s32max |
| USER_DATA | 0 | mdsc->mdsmap->m_root | 0-u32max |
| USER_DATA | 0 | mdsc->mdsmap->m_session_autoclose | 0-u32max |
| USER_DATA | 0 | mdsc->mdsmap->m_session_timeout | 0-u32max |
| USER_DATA | 0 | mdsc->mdsmap->possible_max_rank | 1-u32max |
| USER_DATA | 1 | mds | 0-s32max[c] |
| LOCK2 | 0 | &mdsc->mutex | |
| HALF_LOCKED2 | 0 | &mdsc->snap_rwsem | |
| TYPE_LOCK | (struct ceph_mds_client)->mutex |
fs/ceph/mds_client.c __open_export_target_session() -> __ceph_lookup_mds_session()
| 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 |
| DATA_SOURCE | 0 | mdsc | $0 |
| DATA_SOURCE | 1 | mds | $1 |
| NO_OVERFLOW_SIMPLE | 0 | mdsc->max_sessions | |
| HALF_LOCKED2 | 0 | &mdsc->mutex |
fs/ceph/mds_client.c ceph_mdsc_close_sessions() -> __ceph_lookup_mds_session()
| 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 | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->max_sessions | 1-s32max |
| PARAM_VALUE | 0 | mdsc->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mdsc->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.owner_cpu | u32max |
| 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 | mds | 0-s32max |
| CAPPED_DATA | 0 | &mdsc->mutex | 1 |
| CAPPED_DATA | 1 | mds | 1 |
| DATA_SOURCE | 0 | mdsc | $0 |
| PARAM_COMPARE | 1 | mds | < $0->max_sessions |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mds | unit_array_size |
| LOCK2 | 0 | &mdsc->mutex | |
| TYPE_LOCK | (struct ceph_mds_client)->mutex |
fs/ceph/mds_client.c ceph_mdsc_force_umount() -> __ceph_lookup_mds_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->max_sessions | 1-s32max |
| PARAM_VALUE | 0 | mdsc->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mdsc->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | mds | 0-s32max |
| CAPPED_DATA | 0 | &mdsc->mutex | 1 |
| CAPPED_DATA | 1 | mds | 1 |
| DATA_SOURCE | 0 | mdsc | $0 |
| PARAM_COMPARE | 1 | mds | < $0->max_sessions |
| UNITS | 1 | mds | unit_array_size |
| LOCK2 | 0 | &mdsc->mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_mds_client)->mutex |
fs/ceph/mds_client.c ceph_mdsc_iterate_sessions() -> __ceph_lookup_mds_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->max_sessions | 1-s32max |
| PARAM_VALUE | 0 | mdsc->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mdsc->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | mds | 0-s32max |
| CAPPED_DATA | 0 | &mdsc->mutex | 1 |
| CAPPED_DATA | 1 | mds | 1 |
| DATA_SOURCE | 0 | mdsc | $0 |
| PARAM_COMPARE | 1 | mds | < $0->max_sessions |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mds | unit_array_size |
| LOCK2 | 0 | &mdsc->mutex | |
| TYPE_LOCK | (struct ceph_mds_client)->mutex |
fs/ceph/mds_client.c delayed_work() -> __ceph_lookup_mds_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->fsc->client->osdc.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mdsc->fsc->client->osdc.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mdsc->max_sessions | 1-s32max |
| PARAM_VALUE | 0 | mdsc->mdsmap | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mdsc->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mdsc->stopping | s32min-2 |
| PARAM_VALUE | 1 | mds | 0-s32max |
| CAPPED_DATA | 0 | &mdsc->mutex | 1 |
| CAPPED_DATA | 1 | mds | 1 |
| PARAM_COMPARE | 1 | mds | < $0->max_sessions |
| HARD_MAX | 0 | mdsc->stopping | 2 |
| UNITS | 1 | mds | unit_array_size |
| LOCK2 | 0 | &mdsc->mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_mds_client)->mutex |
fs/ceph/caps.c ceph_flush_snaps() -> __ceph_lookup_mds_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mdsc->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | &mdsc->mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mds | unit_array_size |
| LOCK2 | 0 | &mdsc->mutex | |
| TYPE_LOCK | (struct ceph_mds_client)->mutex |
fs/ceph/caps.c ceph_reserve_caps() -> __ceph_lookup_mds_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->caps_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdsc->fsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->max_sessions | 1-s32max |
| PARAM_VALUE | 0 | mdsc->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | mdsc->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | mds | 0-s32max |
| CAPPED_DATA | 0 | mdsc->caps_total_count | 1 |
| CAPPED_DATA | 1 | mds | 1 |
| DATA_SOURCE | 0 | mdsc | $0 |
| PARAM_COMPARE | 1 | mds | < $0->max_sessions |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mds | unit_array_size |
| LOCK2 | 0 | &mdsc->mutex | |
| HALF_LOCKED2 | &dir->i_rwsem | ||
| TYPE_LOCK | (struct ceph_mds_client)->mutex |
fs/ceph/debugfs.c caps_show() -> __ceph_lookup_mds_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->max_sessions | 1-s32max |
| PARAM_VALUE | 0 | mdsc->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mdsc->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | mds | 0-s32max |
| CAPPED_DATA | 0 | &mdsc->mutex | 1 |
| CAPPED_DATA | 1 | mds | 1 |
| PARAM_COMPARE | 1 | mds | < $0->max_sessions |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mds | unit_array_size |
| LOCK2 | &s->lock | ||
| LOCK2 | 0 | &mdsc->mutex | |
| TYPE_LOCK | (struct ceph_mds_client)->mutex | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/ceph/debugfs.c mds_sessions_show() -> __ceph_lookup_mds_session()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdsc | 4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->max_sessions | 1-s32max |
| PARAM_VALUE | 0 | mdsc->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mdsc->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mdsc->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mdsc->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | mds | 0-s32max |
| CAPPED_DATA | 0 | &mdsc->mutex | 1 |
| CAPPED_DATA | 1 | mds | 1 |
| PARAM_COMPARE | 1 | mds | < $0->max_sessions |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mds | unit_array_size |
| LOCK2 | &s->lock | ||
| LOCK2 | 0 | &mdsc->mutex | |
| TYPE_LOCK | (struct ceph_mds_client)->mutex | ||
| TYPE_LOCK | (struct seq_file)->lock |