Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
net/ceph/ceph_common.c ceph_destroy_options() -> ceph_crypto_key_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | key->type | 0-u16max |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &client_mutex |
net/ceph/ceph_common.c ceph_parse_param() -> ceph_crypto_key_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex |
net/ceph/ceph_common.c ceph_parse_param() -> ceph_crypto_key_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex |
net/ceph/auth_x.c ceph_x_authorizer_cleanup() -> ceph_crypto_key_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ac->mutex |
net/ceph/auth_x.c ceph_x_build_authorizer() -> ceph_crypto_key_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &ac->mutex | ||
| HALF_LOCKED2 | &con->mutex | ||
| HALF_LOCKED2 | &monc->mutex | ||
| TYPE_LOCK | (struct ceph_auth_client)->mutex |
net/ceph/auth_x.c ceph_x_destroy() -> ceph_crypto_key_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ac->mutex | ||
| HALF_LOCKED2 | &monc->mutex |
net/ceph/auth_x.c ceph_x_init() -> ceph_crypto_key_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 4096-ptr_max |
| PARAM_VALUE | 0 | key->key | 1-u64max |
| PARAM_VALUE | 0 | key->type | s32min-(-1),1-s32max |
| NOCHECK_CALL | |||
| 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_crypto_key_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 4096-ptr_max |
| NOCHECK_CALL | |||
| 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_crypto_key_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 84968597942489088 |
| PARAM_VALUE | 0 | key->aes_tfm | 0,4096-ptr_max |
| PARAM_VALUE | 0 | key->len | 0-u16max |
| PARAM_VALUE | 0 | key->type | 0-u16max |
| NOCHECK_CALL | |||
| USER_DATA | 0 | key->type | 0-u16max |
| 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 remove_ticket_handler() -> ceph_crypto_key_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | key | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ac->mutex | ||
| HALF_LOCKED2 | &monc->mutex |
net/ceph/crypto.c ceph_key_destroy() -> ceph_crypto_key_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | key | 1-s32max |
| BUF_SIZE | 0 | key | 1-s32max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &key->sem | ||
| HALF_LOCKED2 | &pool->lock |
net/ceph/crypto.c ceph_key_free_preparse() -> ceph_crypto_key_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | key | 1-s32max |
| BUF_SIZE | 0 | key | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &key_types_sem |