Lines Matching refs:auth
127 ceph_auth_reset(monc->auth); in __close_session()
157 ret = ceph_auth_build_hello(monc->auth, in __open_session()
363 (int)monc->client->have_fsid, monc->auth->global_id); in have_debugfs_info()
364 return monc->client->have_fsid && monc->auth->global_id > 0; in have_debugfs_info()
756 int is_auth = ceph_auth_is_authenticated(monc->auth); in delayed_work()
822 monc->auth = ceph_auth_init(cl->options->name, in ceph_monc_init()
824 if (IS_ERR(monc->auth)) { in ceph_monc_init()
825 err = PTR_ERR(monc->auth); in ceph_monc_init()
828 monc->auth->want_keys = in ceph_monc_init()
880 ceph_auth_destroy(monc->auth); in ceph_monc_init()
906 ceph_auth_destroy(monc->auth); in ceph_monc_stop()
926 was_auth = ceph_auth_is_authenticated(monc->auth); in handle_auth_reply()
928 ret = ceph_handle_auth_reply(monc->auth, msg->front.iov_base, in handle_auth_reply()
937 } else if (!was_auth && ceph_auth_is_authenticated(monc->auth)) { in handle_auth_reply()
942 cpu_to_le64(monc->auth->global_id); in handle_auth_reply()
972 ret = ceph_build_auth(monc->auth, monc->m_auth->front.iov_base, in __validate_auth()