Lines Matching refs:auth
15 #include <linux/ceph/auth.h>
173 * Send an auth request.
198 ceph_auth_reset(monc->auth);
272 ret = ceph_auth_build_hello(monc->auth,
1094 int is_auth = ceph_auth_is_authenticated(monc->auth);
1169 monc->auth = ceph_auth_init(cl->options->name, cl->options->key,
1171 if (IS_ERR(monc->auth)) {
1172 err = PTR_ERR(monc->auth);
1175 monc->auth->want_keys =
1224 ceph_auth_destroy(monc->auth);
1246 * finishes before we shut down the auth subsystem.
1250 ceph_auth_destroy(monc->auth);
1287 if (!was_authed && ceph_auth_is_authenticated(monc->auth)) {
1289 __func__, monc->auth->global_id);
1293 cpu_to_le64(monc->auth->global_id);
1310 was_authed = ceph_auth_is_authenticated(monc->auth);
1311 ret = ceph_handle_auth_reply(monc->auth, msg->front.iov_base,
1331 ret = ceph_build_auth(monc->auth, monc->m_auth->front.iov_base,
1358 ret = ceph_auth_get_request(monc->auth, buf, *buf_len);
1378 ret = ceph_auth_handle_reply_more(monc->auth, reply, reply_len,
1401 was_authed = ceph_auth_is_authenticated(monc->auth);
1402 ret = ceph_auth_handle_reply_done(monc->auth, global_id,
1423 was_authed = ceph_auth_is_authenticated(monc->auth);
1424 ceph_auth_handle_bad_method(monc->auth, used_proto, result,