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()
1169 monc->auth = ceph_auth_init(cl->options->name, cl->options->key, in ceph_monc_init()
1171 if (IS_ERR(monc->auth)) { in ceph_monc_init()
1172 err = PTR_ERR(monc->auth); in ceph_monc_init()
1175 monc->auth->want_keys = in ceph_monc_init()
1224 ceph_auth_destroy(monc->auth); in ceph_monc_init()
1250 ceph_auth_destroy(monc->auth); in ceph_monc_stop()
1287 if (!was_authed && ceph_auth_is_authenticated(monc->auth)) { in finish_auth()
1289 __func__, monc->auth->global_id); in finish_auth()
1293 cpu_to_le64(monc->auth->global_id); in finish_auth()
1310 was_authed = ceph_auth_is_authenticated(monc->auth); in handle_auth_reply()
1311 ret = ceph_handle_auth_reply(monc->auth, msg->front.iov_base, in handle_auth_reply()
1331 ret = ceph_build_auth(monc->auth, monc->m_auth->front.iov_base, in __validate_auth()
1358 ret = ceph_auth_get_request(monc->auth, buf, *buf_len); in mon_get_auth_request()
1378 ret = ceph_auth_handle_reply_more(monc->auth, reply, reply_len, in mon_handle_auth_reply_more()
1401 was_authed = ceph_auth_is_authenticated(monc->auth); in mon_handle_auth_done()
1402 ret = ceph_auth_handle_reply_done(monc->auth, global_id, in mon_handle_auth_done()
1423 was_authed = ceph_auth_is_authenticated(monc->auth); in mon_handle_auth_bad_method()
1424 ceph_auth_handle_bad_method(monc->auth, used_proto, result, in mon_handle_auth_bad_method()