Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- fs/ceph/mds_client.c
- net/ceph/messenger.c, line 616
- net/ceph/mon_client.c, line 258
- net/ceph/osd_client.c
Smatch caller information:
fs/ceph/mds_client.c register_session() -> ceph_con_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | con | 4096-ptr_max |
| PARAM_VALUE | 0 | con->delay | 0 |
| PARAM_VALUE | 0 | con->flags | 0 |
| PARAM_VALUE | 0 | con->in_msg | 0 |
| PARAM_VALUE | 0 | con->in_seq | 0 |
| PARAM_VALUE | 0 | con->msgr | 4096-ptr_max |
| PARAM_VALUE | 0 | con->ops | 4055994015617687552 |
| PARAM_VALUE | 0 | con->out_msg | 0 |
| PARAM_VALUE | 0 | con->out_queue.next | 4096-ptr_max |
| PARAM_VALUE | 0 | con->out_queue.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | con->out_sent.next | 4096-ptr_max |
| PARAM_VALUE | 0 | con->out_sent.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | con->out_seq | 0 |
| PARAM_VALUE | 0 | con->peer_name.num | 0 |
| PARAM_VALUE | 0 | con->peer_name.type | 0 |
| PARAM_VALUE | 0 | con->private | 4096-ptr_max |
| PARAM_VALUE | 0 | con->sock | 0 |
| PARAM_VALUE | 0 | con->state | 1 |
| PARAM_VALUE | 0 | con->v1.auth | 0 |
| PARAM_VALUE | 0 | con->work.cpu | 0 |
| PARAM_VALUE | 0 | con->work.timer.entry.next | 0 |
| PARAM_VALUE | 0 | con->work.timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | con->work.timer.expires | 0 |
| PARAM_VALUE | 0 | con->work.timer.flags | 0 |
| PARAM_VALUE | 0 | con->work.timer.function | 0 |
| PARAM_VALUE | 0 | con->work.work.data.counter | 0 |
| PARAM_VALUE | 0 | con->work.work.entry.next | 0 |
| PARAM_VALUE | 0 | con->work.work.entry.prev | 0 |
| PARAM_VALUE | 0 | con->work.work.func | 0 |
| PARAM_VALUE | 0 | con->work.wq | 0 |
| PARAM_VALUE | 1 | entity_type | 2 |
| PARAM_VALUE | 2 | entity_num | 0-s32max,18446744071562067968-18446744073709551614 |
| PARAM_VALUE | 3 | addr | 4096-ptr_max |
| CAPPED_DATA | 2 | entity_num | 1 |
| DATA_SOURCE | 2 | entity_num | $1 |
| NOSPEC | 2 | entity_num | |
| NOSPEC | 2 | entity_num | |
| MEM_ZERO | 0 | con | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | entity_num | 0-s32max[c] |
| UNITS | 2 | entity_num | unit_array_size |
| HALF_LOCKED2 | &mdsc->mutex |
fs/ceph/mds_client.c send_mds_reconnect() -> ceph_con_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | con | 4096-ptr_max |
| PARAM_VALUE | 0 | con->in_msg | 0 |
| PARAM_VALUE | 0 | con->in_seq | 0 |
| PARAM_VALUE | 0 | con->out_msg | 0 |
| PARAM_VALUE | 0 | con->out_seq | 0 |
| PARAM_VALUE | 0 | con->sock | 0 |
| PARAM_VALUE | 0 | con->state | 1 |
| PARAM_VALUE | 1 | entity_type | 2 |
| PARAM_VALUE | 2 | entity_num | 0-2147483646,18446744071562067968-u64max |
| PARAM_VALUE | 3 | addr | 0,4096-ptr_max |
| BUF_SIZE | 3 | addr | (-1),136 |
| CAPPED_DATA | 2 | entity_num | 1 |
| NOCHECK_CALL | |||
| UNITS | 2 | entity_num | unit_array_size |
| LOCK2 | &session->s_mutex | ||
| TYPE_LOCK | (struct ceph_mds_session)->s_mutex |
net/ceph/mon_client.c __open_session() -> ceph_con_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | con | 4096-ptr_max |
| PARAM_VALUE | 0 | con->sock | 0 |
| PARAM_VALUE | 0 | con->state | 1 |
| PARAM_VALUE | 1 | entity_type | 1 |
| PARAM_VALUE | 2 | entity_num | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 3 | addr | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &monc->mutex | ||
| HALF_LOCKED2 | &client->mount_mutex | ||
| TYPE_LOCK | (struct ceph_mon_client)->mutex |
net/ceph/osd_client.c lookup_create_osd() -> ceph_con_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | con | 4096-ptr_max |
| PARAM_VALUE | 0 | con->delay | 0 |
| PARAM_VALUE | 0 | con->flags | 0 |
| PARAM_VALUE | 0 | con->in_msg | 0 |
| PARAM_VALUE | 0 | con->in_seq | 0 |
| PARAM_VALUE | 0 | con->msgr | 4096-ptr_max |
| PARAM_VALUE | 0 | con->ops | 255334287325880320 |
| PARAM_VALUE | 0 | con->out_msg | 0 |
| PARAM_VALUE | 0 | con->out_queue.next | 4096-ptr_max |
| PARAM_VALUE | 0 | con->out_queue.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | con->out_sent.next | 4096-ptr_max |
| PARAM_VALUE | 0 | con->out_sent.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | con->out_seq | 0 |
| PARAM_VALUE | 0 | con->peer_name.num | 0 |
| PARAM_VALUE | 0 | con->peer_name.type | 0 |
| PARAM_VALUE | 0 | con->private | 4096-ptr_max |
| PARAM_VALUE | 0 | con->sock | 0 |
| PARAM_VALUE | 0 | con->state | 1 |
| PARAM_VALUE | 0 | con->v1.auth | 0 |
| PARAM_VALUE | 0 | con->work.cpu | 0 |
| PARAM_VALUE | 0 | con->work.timer.entry.next | 0 |
| PARAM_VALUE | 0 | con->work.timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | con->work.timer.expires | 0 |
| PARAM_VALUE | 0 | con->work.timer.flags | 0 |
| PARAM_VALUE | 0 | con->work.timer.function | 0 |
| PARAM_VALUE | 0 | con->work.work.data.counter | 0 |
| PARAM_VALUE | 0 | con->work.work.entry.next | 0 |
| PARAM_VALUE | 0 | con->work.work.entry.prev | 0 |
| PARAM_VALUE | 0 | con->work.work.func | 0 |
| PARAM_VALUE | 0 | con->work.wq | 0 |
| PARAM_VALUE | 1 | entity_type | 4 |
| PARAM_VALUE | 2 | entity_num | 0-s32max,18446744071562067968-18446744073709551614 |
| PARAM_VALUE | 3 | addr | 4096-ptr_max |
| CAPPED_DATA | 2 | entity_num | 1 |
| DATA_SOURCE | 2 | entity_num | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | entity_num | unit_array_size |
| HALF_LOCKED2 | &osdc->lock | ||
| HALF_LOCKED2 | &osdc->lock | ||
| TYPE_LOCK | (struct ceph_osd_client)->lock |
net/ceph/osd_client.c reopen_osd() -> ceph_con_open()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | con | 4096-ptr_max |
| PARAM_VALUE | 0 | con->in_msg | 0 |
| PARAM_VALUE | 0 | con->in_seq | 0 |
| PARAM_VALUE | 0 | con->out_msg | 0 |
| PARAM_VALUE | 0 | con->out_seq | 0 |
| PARAM_VALUE | 0 | con->sock | 0 |
| PARAM_VALUE | 0 | con->state | 1 |
| PARAM_VALUE | 1 | entity_type | 4 |
| PARAM_VALUE | 2 | entity_num | 0-s32max,18446744071562067968-u64max |
| NOCHECK_CALL | |||
| UNITS | 2 | entity_num | unit_array_size |
| LOCK2 | &osdc->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_osd_client)->lock |