Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- include/linux/ceph/messenger.h, line 102
- net/ceph/auth.c
- net/ceph/auth_x.c
- net/ceph/ceph_strings.c, line 19
Smatch caller information:
net/ceph/messenger_v2.c process_message_header() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &con->mutex | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger_v2.c process_session_reset() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|
net/ceph/messenger.c ceph_con_process_message() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &pool->lock |
net/ceph/messenger.c ceph_con_send() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &con->mutex | ||
| HALF_LOCKED2 | &mdsc->mutex | ||
| HALF_LOCKED2 | &mdsc->snap_rwsem | ||
| HALF_LOCKED2 | &monc->mutex | ||
| HALF_LOCKED2 | &osd->lock | ||
| HALF_LOCKED2 | &osdc->lock | ||
| HALF_LOCKED2 | &s->s_mutex | ||
| HALF_LOCKED2 | &session->s_mutex | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger.c con_fault() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &con->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/auth.c ceph_auth_handle_bad_authorizer() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 2,4 |
| DATA_SOURCE | 0 | type | $1 |
| HARD_MAX | 0 | type | 4 |
| LOCK2 | &ac->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_auth_client)->mutex |
net/ceph/auth.c ceph_auth_handle_bad_authorizer() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 2,4 |
| DATA_SOURCE | 0 | type | $1 |
| HARD_MAX | 0 | type | 4 |
| LOCK2 | &ac->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_auth_client)->mutex |
net/ceph/auth.c ceph_auth_handle_bad_authorizer() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 2,4 |
| DATA_SOURCE | 0 | type | $1 |
| HARD_MAX | 0 | type | 4 |
| LOCK2 | &ac->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_auth_client)->mutex |
net/ceph/auth.c ceph_auth_handle_bad_authorizer() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 2,4 |
| DATA_SOURCE | 0 | type | $1 |
| HARD_MAX | 0 | type | 4 |
| LOCK2 | &ac->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_auth_client)->mutex |
net/ceph/messenger_v1.c process_connect() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &con->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger_v1.c process_connect() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &con->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger_v1.c process_connect() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &con->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger_v1.c process_connect() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &con->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
net/ceph/messenger_v1.c read_partial_message() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &con->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_connection)->mutex |
fs/ceph/debugfs.c status_show() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/block/rbd.c get_lock_owner_info() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-255 |
| LOCK2 | &rbd_dev->lock_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rbd_device)->lock_rwsem |
drivers/block/rbd.c rbd_object_map_lock() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-255 |
| LOCK2 | &pool->lock | ||
| LOCK2 | &rbd_dev->lock_rwsem | ||
| TYPE_LOCK | (struct rbd_device)->lock_rwsem |
drivers/block/rbd.c rbd_try_lock() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &rbd_dev->lock_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rbd_device)->lock_rwsem |
drivers/block/rbd.c rbd_try_lock() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &rbd_dev->lock_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rbd_device)->lock_rwsem |
net/ceph/auth_x.c ceph_x_build_authorizer() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 2,4,32 |
| CAPPED_DATA | 0 | type | 1 |
| LOCK2 | &ac->mutex | ||
| HALF_LOCKED2 | &con->mutex | ||
| HALF_LOCKED2 | &monc->mutex | ||
| TYPE_LOCK | (struct ceph_auth_client)->mutex |
net/ceph/auth_x.c have_key() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 1-2 |
| CAPPED_DATA | 0 | type | 1 |
| USER_DATA | 0 | type | 2[c] |
| LOCK2 | &ac->mutex | ||
| LOCK2 | &monc->mutex | ||
| TYPE_LOCK | (struct ceph_auth_client)->mutex | ||
| TYPE_LOCK | (struct ceph_mon_client)->mutex |
net/ceph/auth_x.c invalidate_ticket() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 2,4,32 |
| CAPPED_DATA | 0 | type | 1 |
| DATA_SOURCE | 0 | type | $1 |
| LOCK2 | &ac->mutex | ||
| TYPE_LOCK | (struct ceph_auth_client)->mutex |
net/ceph/auth_x.c process_one_ticket() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | type | r ceph_decode_32 |
| USER_DATA | 0 | type | s32min-s32max |
| LOCK2 | &ac->mutex | ||
| LOCK2 | &monc->mutex | ||
| TYPE_LOCK | (struct ceph_auth_client)->mutex | ||
| TYPE_LOCK | (struct ceph_mon_client)->mutex |
net/ceph/auth_x.c process_one_ticket() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | type | r ceph_decode_32 |
| USER_DATA | 0 | type | s32min-s32max |
| LOCK2 | &ac->mutex | ||
| LOCK2 | &monc->mutex | ||
| TYPE_LOCK | (struct ceph_auth_client)->mutex | ||
| TYPE_LOCK | (struct ceph_mon_client)->mutex |
net/ceph/cls_lock_client.c ceph_cls_break_lock() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &rbd_dev->lock_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rbd_device)->lock_rwsem |
net/ceph/cls_lock_client.c decode_locker() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| LOCK2 | &pool->lock | ||
| LOCK2 | &rbd_dev->lock_rwsem | ||
| TYPE_LOCK | (struct rbd_device)->lock_rwsem |
net/ceph/debugfs.c monmap_show() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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/osd_client.c decode_watcher() -> ceph_entity_type_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| LOCK2 | &pool->lock | ||
| LOCK2 | &rbd_dev->lock_rwsem | ||
| TYPE_LOCK | (struct rbd_device)->lock_rwsem |