Lines Matching refs:auth
127 ceph_auth_reset(monc->auth); in __close_session()
153 ret = ceph_auth_build_hello(monc->auth, in __open_session()
347 (int)monc->client->have_fsid, monc->auth->global_id); in have_debugfs_info()
348 return monc->client->have_fsid && monc->auth->global_id > 0; in have_debugfs_info()
743 if (ceph_auth_is_authenticated(monc->auth)) in delayed_work()
794 monc->auth = ceph_auth_init(cl->options->name, in ceph_monc_init()
796 if (IS_ERR(monc->auth)) { in ceph_monc_init()
797 err = PTR_ERR(monc->auth); in ceph_monc_init()
800 monc->auth->want_keys = in ceph_monc_init()
852 ceph_auth_destroy(monc->auth); in ceph_monc_init()
878 ceph_auth_destroy(monc->auth); in ceph_monc_stop()
898 was_auth = ceph_auth_is_authenticated(monc->auth); in handle_auth_reply()
900 ret = ceph_handle_auth_reply(monc->auth, msg->front.iov_base, in handle_auth_reply()
909 } else if (!was_auth && ceph_auth_is_authenticated(monc->auth)) { in handle_auth_reply()
914 cpu_to_le64(monc->auth->global_id); in handle_auth_reply()
944 ret = ceph_build_auth(monc->auth, monc->m_auth->front.iov_base, in __validate_auth()