Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 12 files:
- fs/ceph/debugfs.c
- fs/ceph/mdsmap.c, line 240
- fs/ceph/snap.c
- net/ceph/cls_lock_client.c, line 284
- net/ceph/debugfs.c
- net/ceph/decode.c, line 122
- net/ceph/messenger.c
- net/ceph/messenger_v1.c
- net/ceph/messenger_v2.c
- net/ceph/mon_client.c
- net/ceph/osd_client.c, line 5014
- net/ceph/osdmap.c
Smatch caller information:
net/ceph/messenger_v2.c prepare_client_ident() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| BUF_SIZE | 0 | addr | 136 |
| HALF_LOCKED2 | &con->mutex |
net/ceph/messenger_v2.c prepare_client_ident() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| HALF_LOCKED2 | &con->mutex |
net/ceph/messenger_v2.c prepare_session_reconnect() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| BUF_SIZE | 0 | addr | 136 |
net/ceph/messenger_v2.c process_hello() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 3872027441420656640 |
net/ceph/messenger_v2.c process_hello() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| PARAM_VALUE | 0 | addr->in_addr.ss_family | 0 |
| BUF_SIZE | 0 | addr | 136 |
net/ceph/messenger_v2.c process_hello() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
net/ceph/messenger_v2.c process_hello() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| BUF_SIZE | 0 | addr | 136 |
net/ceph/messenger_v2.c process_message_header() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| LOCK2 | &con->mutex | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger_v2.c process_server_ident() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 1221073089222148096 |
net/ceph/messenger_v2.c process_server_ident() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
net/ceph/messenger_v2.c process_server_ident() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 1221073089222148096 |
net/ceph/messenger_v2.c process_session_reset() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
fs/ceph/snap.c ceph_update_snap_trace() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| LOCK2 | &mdsc->snap_rwsem | ||
| HALF_LOCKED2 | &session->s_mutex | ||
| TYPE_LOCK | (struct ceph_mds_client)->snap_rwsem |
fs/ceph/snap.c ceph_update_snap_trace() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| LOCK2 | &mdsc->snap_rwsem | ||
| HALF_LOCKED2 | &session->s_mutex | ||
| TYPE_LOCK | (struct ceph_mds_client)->snap_rwsem |
fs/ceph/snap.c ceph_update_snap_trace() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| LOCK2 | &mdsc->snap_rwsem | ||
| HALF_LOCKED2 | &session->s_mutex | ||
| TYPE_LOCK | (struct ceph_mds_client)->snap_rwsem |
net/ceph/decode.c ceph_decode_entity_addrvec() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 210668098532048896 |
| PREEMPT_ADD | |||
| HALF_LOCKED2 | &mdsc->mutex | ||
| HALF_LOCKED2 | &monc->mutex | ||
| HALF_LOCKED2 | &osdc->lock |
net/ceph/messenger.c ceph_con_close() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &con->mutex | ||
| HALF_LOCKED2 | &mdsc->mutex | ||
| HALF_LOCKED2 | &monc->mutex | ||
| HALF_LOCKED2 | &osdc->lock | ||
| HALF_LOCKED2 | &s->s_mutex | ||
| HALF_LOCKED2 | &session->s_mutex | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger.c ceph_con_open() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | addr | (-1),136 |
| BUF_SIZE | 0 | addr | (-1),136 |
| DATA_SOURCE | 0 | addr | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &con->mutex | ||
| HALF_LOCKED2 | &monc->mutex | ||
| HALF_LOCKED2 | &osdc->lock | ||
| HALF_LOCKED2 | &session->s_mutex | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger.c ceph_dns_resolve_name() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| PARAM_VALUE | 0 | addr->in_addr.__align | 0 |
| PARAM_VALUE | 0 | addr->in_addr.ss_family | 2,10 |
| DATA_SOURCE | 0 | addr | $2 |
| MEM_ZERO | 0 | &addr->in_addr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
net/ceph/messenger.c ceph_parse_ips() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| PARAM_VALUE | 0 | addr->nonce | 0 |
| PARAM_VALUE | 0 | addr->type | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
net/ceph/messenger.c ceph_tcp_connect() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| LOCK2 | &con->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger.c ceph_tcp_connect() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| LOCK2 | &con->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger.c ceph_tcp_connect() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| LOCK2 | &con->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger.c con_fault() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| LOCK2 | &con->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger.c con_fault() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| LOCK2 | &con->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger_v1.c process_banner() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| LOCK2 | &con->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger_v1.c process_banner() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| PARAM_VALUE | 0 | addr->type | 1 |
| LOCK2 | &con->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger_v1.c process_banner() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| BUF_SIZE | 0 | addr | 136 |
| LOCK2 | &con->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger_v1.c process_connect() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| LOCK2 | &con->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger_v1.c process_connect() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| LOCK2 | &con->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger_v1.c process_connect() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| LOCK2 | &con->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger_v1.c process_connect() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| LOCK2 | &con->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger_v1.c read_partial_message() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| LOCK2 | &con->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger_v1.c verify_hello() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| LOCK2 | &con->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
fs/ceph/debugfs.c mdsmap_show() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| BUF_SIZE | 0 | addr | 136 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/ceph/debugfs.c status_show() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| BUF_SIZE | 0 | addr | 136 |
| DATA_SOURCE | 0 | addr | r ceph_client_addr |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
net/ceph/cls_lock_client.c decode_locker() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| PREEMPT_ADD | |||
| LOCK2 | &pool->lock | ||
| LOCK2 | &rbd_dev->lock_rwsem | ||
| TYPE_LOCK | (struct rbd_device)->lock_rwsem |
net/ceph/debugfs.c monmap_show() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &client->monc.mutex | ||
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct ceph_mon_client)->mutex | ||
| TYPE_LOCK | (struct seq_file)->lock |
net/ceph/debugfs.c osdmap_show() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &osdc->lock | ||
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct ceph_osd_client)->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
net/ceph/mon_client.c ceph_monmap_decode() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| LOCK2 | &monc->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_mon_client)->mutex |
net/ceph/mon_client.c finish_auth() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| LOCK2 | &monc->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_mon_client)->mutex |
net/ceph/mon_client.c reopen_session() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| LOCK2 | &monc->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_mon_client)->mutex |
fs/ceph/mdsmap.c ceph_mdsmap_decode() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 5893599996796448768 |
| LOCK2 | &mdsc->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_mds_client)->mutex |
net/ceph/osdmap.c decode_new_up_state_weight() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 2789906163068231680 |
| LOCK2 | &osdc->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_osd_client)->lock |
net/ceph/osdmap.c osdmap_decode() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| LOCK2 | &osdc->lock | ||
| TYPE_LOCK | (struct ceph_osd_client)->lock |
net/ceph/osd_client.c decode_watcher() -> ceph_pr_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr | 4096-ptr_max |
| PREEMPT_ADD | |||
| LOCK2 | &pool->lock | ||
| LOCK2 | &rbd_dev->lock_rwsem | ||
| TYPE_LOCK | (struct rbd_device)->lock_rwsem |