Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/ceph/ceph_common.c get_secret() -> ceph_crypto_key_clone()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
BUF_SIZE 0 dst 120
BUF_SIZE 1 src 1-s32max
BUF_SIZE 1 src 1-s32max
DATA_SOURCE 0 dst $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex

net/ceph/auth_x.c ceph_x_build_authorizer() -> ceph_crypto_key_clone()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 0 dst->aes_tfm 0
PARAM_VALUE 0 dst->key 0
PARAM_VALUE 1 src 4096-ptr_max
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_init() -> ceph_crypto_key_clone()

Type Parameter Key Value
PARAM_VALUE 0 dst 4096-ptr_max
PARAM_VALUE 1 src 1-u64max
LOCK2 &ac->mutex
LOCK2 &monc->mutex
TYPE_LOCK (struct ceph_auth_client)->mutex
TYPE_LOCK (struct ceph_mon_client)->mutex