Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/ceph/mon_client.c handle_auth_reply() -> finish_auth()

Type Parameter Key Value
PARAM_VALUE 0 monc 4096-ptr_max
PARAM_VALUE 0 monc->auth 4096-ptr_max
PARAM_VALUE 0 monc->auth->key->len s32min-s32max
PARAM_VALUE 0 monc->auth->key->type s32min-s32max
PARAM_VALUE 0 monc->auth->negotiating 0
PARAM_VALUE 0 monc->auth->ops 0,4096-ptr_max
PARAM_VALUE 0 monc->auth->ops->add_authorizer_challenge 0,8694480074367614976
PARAM_VALUE 0 monc->auth->ops->build_request 1500831215093698560,4557810522341318656
PARAM_VALUE 0 monc->auth->ops->check_message_signature 0,1409719960148287488
PARAM_VALUE 0 monc->auth->ops->create_authorizer 5116800447108878336,7727551989208821760
PARAM_VALUE 0 monc->auth->ops->destroy 232516170488102912,8163172160793608192
PARAM_VALUE 0 monc->auth->ops->handle_reply 2227757077980221440,9129812294381019136
PARAM_VALUE 0 monc->auth->ops->invalidate_authorizer 0,2134755273616740352
PARAM_VALUE 0 monc->auth->ops->is_authenticated 4736068865338830848,5467747194246344704
PARAM_VALUE 0 monc->auth->ops->reset 5039140746860773376,6995935188971859968
PARAM_VALUE 0 monc->auth->ops->should_authenticate 3224183598294859776,4516429494390382592
PARAM_VALUE 0 monc->auth->ops->sign_message 0,2680124485992787968
PARAM_VALUE 0 monc->auth->ops->update_authorizer 0,5337904568822358016
PARAM_VALUE 0 monc->auth->ops->verify_authorizer_reply 0,1015249060593123328
PARAM_VALUE 0 monc->auth->private 0,4096-ptr_max
PARAM_VALUE 0 monc->auth->private->auth_authorizer.buf->kref.refcount.refs.counter 1
PARAM_VALUE 0 monc->auth->private->auth_authorizer.service 2,4,32
PARAM_VALUE 0 monc->auth->private->auth_authorizer.session_key->key s64max
PARAM_VALUE 0 monc->auth->private->have_keys 0-4294967295
PARAM_VALUE 0 monc->auth->private->secret->key (-4611686018427387904)
PARAM_VALUE 0 monc->auth->private->starting 0
PARAM_VALUE 0 monc->auth->protocol 0-2
PARAM_VALUE 0 monc->m_auth 4096-ptr_max
PARAM_VALUE 0 monc->mutex.dep_map->name 0-255
PARAM_VALUE 0 monc->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 monc->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 monc->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 monc->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 monc->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 monc->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 *monc->auth->private->auth_authorizer.enc_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 auth_err s32min-0
BUF_SIZE 0 monc 2584,2656,2776
BUF_SIZE 0 monc 2584,2656,2776
CAPPED_DATA 0 &monc->mutex 1
DATA_SOURCE 0 monc $0
DATA_SOURCE 1 auth_err r ceph_handle_auth_reply
DATA_SOURCE 2 was_authed r ceph_auth_is_authenticated
NOCHECK_CALL
LOCK2 0 &monc->mutex
TYPE_LOCK (struct ceph_mon_client)->mutex

net/ceph/mon_client.c mon_handle_auth_bad_method() -> finish_auth()

Type Parameter Key Value
PARAM_VALUE 0 monc 4096-ptr_max
PARAM_VALUE 0 monc->auth 4096-ptr_max
PARAM_VALUE 0 monc->auth->ops 0,4096-ptr_max
PARAM_VALUE 0 monc->auth->private->have_keys 0-4294967295
PARAM_VALUE 0 monc->mutex.dep_map->name 0-255
PARAM_VALUE 0 monc->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 monc->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 monc->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 monc->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 monc->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 monc->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 auth_err (-13)
BUF_SIZE 0 monc 2584,2656,2776
BUF_SIZE 0 monc 2584,2656,2776
CAPPED_DATA 0 &monc->mutex 1
DATA_SOURCE 2 was_authed r ceph_auth_is_authenticated
NOCHECK_CALL
LOCK2 0 &monc->mutex
TYPE_LOCK (struct ceph_mon_client)->mutex

net/ceph/mon_client.c mon_handle_auth_done() -> finish_auth()

Type Parameter Key Value
PARAM_VALUE 0 monc 4096-ptr_max
PARAM_VALUE 0 monc->auth 4096-ptr_max
PARAM_VALUE 0 monc->auth->ops 4096-ptr_max
PARAM_VALUE 0 monc->auth->ops->handle_reply 4096-ptr_max
PARAM_VALUE 0 monc->auth->private->starting 0-1
PARAM_VALUE 0 monc->mutex.dep_map->name 0-255
PARAM_VALUE 0 monc->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 monc->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 monc->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 monc->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 monc->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 monc->mutex.wait_lock.owner_cpu u32max
BUF_SIZE 0 monc 2584,2656,2776
BUF_SIZE 0 monc 2584,2656,2776
CAPPED_DATA 0 &monc->mutex 1
DATA_SOURCE 1 auth_err r ceph_auth_handle_reply_done
DATA_SOURCE 2 was_authed r ceph_auth_is_authenticated
NOSPEC 1 auth_err
NOCHECK_CALL
USER_DATA 0 monc->auth->global_id 0-u64max
USER_DATA 0 monc->auth->private->have_keys 0-4294967295[u]
USER_DATA 1 auth_err (-65566)-(-12),(-10)-(-1)
LOCK2 0 &monc->mutex
TYPE_LOCK (struct ceph_mon_client)->mutex