Lines Matching refs:auth

24 #include <linux/ceph/auth.h>
1378 /* choose auth mds */
1380 dout("%s %p %llx.%llx frag %u mds%d (auth)\n",
1408 cap == ci->i_auth_cap ? "auth " : "", cap);
2158 * after dropping auth caps. It doesn't hurt because reply
2159 * of lock mds request will re-add auth caps. */
3361 * For async create we will choose the auth MDS of frag in parent
3366 * And then the auth cap will be changed.
3396 dout("do_request session changed for auth cap %d -> %d\n",
3399 /* Remove the auth cap from old session */
3405 /* Add the auth cap to the new session */
5793 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth;
5794 struct ceph_auth_handshake *auth = &s->s_auth;
5797 ret = __ceph_auth_get_authorizer(ac, auth, CEPH_ENTITY_TYPE_MDS,
5802 return auth;
5810 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth;
5820 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth;
5821 struct ceph_auth_handshake *auth = &s->s_auth;
5823 return ceph_auth_verify_authorizer_reply(ac, auth->authorizer,
5824 auth->authorizer_reply_buf, auth->authorizer_reply_buf_len,
5832 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth;
5844 struct ceph_auth_client *ac = s->s_mdsc->fsc->client->monc.auth;
5845 struct ceph_auth_handshake *auth = &s->s_auth;
5848 ret = ceph_auth_get_authorizer(ac, auth, CEPH_ENTITY_TYPE_MDS,
5853 *authorizer = auth->authorizer_buf;
5854 *authorizer_len = auth->authorizer_buf_len;
5864 struct ceph_auth_client *ac = s->s_mdsc->fsc->client->monc.auth;
5865 struct ceph_auth_handshake *auth = &s->s_auth;
5868 ret = ceph_auth_handle_svc_reply_more(ac, auth, reply, reply_len,
5873 *authorizer = auth->authorizer_buf;
5874 *authorizer_len = auth->authorizer_buf_len;
5884 struct ceph_auth_client *ac = s->s_mdsc->fsc->client->monc.auth;
5885 struct ceph_auth_handshake *auth = &s->s_auth;
5887 return ceph_auth_handle_svc_reply_done(ac, auth, reply, reply_len,
5901 if (ceph_auth_handle_bad_authorizer(monc->auth, CEPH_ENTITY_TYPE_MDS,
5937 struct ceph_auth_handshake *auth = &s->s_auth;
5939 return ceph_auth_sign_message(auth, msg);
5945 struct ceph_auth_handshake *auth = &s->s_auth;
5947 return ceph_auth_check_message_signature(auth, msg);