Lines Matching refs:auth

198 	ceph_auth_reset(monc->auth);  in __close_session()
272 ret = ceph_auth_build_hello(monc->auth, in __open_session()
1094 int is_auth = ceph_auth_is_authenticated(monc->auth); in delayed_work()
1170 monc->auth = ceph_auth_init(cl->options->name, cl->options->key, in ceph_monc_init()
1172 if (IS_ERR(monc->auth)) { in ceph_monc_init()
1173 err = PTR_ERR(monc->auth); in ceph_monc_init()
1176 monc->auth->want_keys = in ceph_monc_init()
1225 ceph_auth_destroy(monc->auth); in ceph_monc_init()
1251 ceph_auth_destroy(monc->auth); in ceph_monc_stop()
1288 if (!was_authed && ceph_auth_is_authenticated(monc->auth)) { in finish_auth()
1290 __func__, monc->auth->global_id); in finish_auth()
1294 cpu_to_le64(monc->auth->global_id); in finish_auth()
1311 was_authed = ceph_auth_is_authenticated(monc->auth); in handle_auth_reply()
1312 ret = ceph_handle_auth_reply(monc->auth, msg->front.iov_base, in handle_auth_reply()
1332 ret = ceph_build_auth(monc->auth, monc->m_auth->front.iov_base, in __validate_auth()
1359 ret = ceph_auth_get_request(monc->auth, buf, *buf_len); in mon_get_auth_request()
1379 ret = ceph_auth_handle_reply_more(monc->auth, reply, reply_len, in mon_handle_auth_reply_more()
1402 was_authed = ceph_auth_is_authenticated(monc->auth); in mon_handle_auth_done()
1403 ret = ceph_auth_handle_reply_done(monc->auth, global_id, in mon_handle_auth_done()
1424 was_authed = ceph_auth_is_authenticated(monc->auth); in mon_handle_auth_bad_method()
1425 ceph_auth_handle_bad_method(monc->auth, used_proto, result, in mon_handle_auth_bad_method()