Searched refs:authorizer (Results 1 - 11 of 11) sorted by relevance

/linux-4.4.14/net/ceph/
H A Dauth_none.h10 * we use a single static authorizer that simply encodes our entity name
H A Dauth_none.c61 * build an 'authorizer' with our entity_name and global_id. we can
85 dout("built authorizer len %d\n", au->buf_len); ceph_auth_none_create_authorizer()
88 auth->authorizer = (struct ceph_authorizer *) au; ceph_auth_none_create_authorizer()
H A Dauth_x_protocol.h58 * The authorizer consists of two pieces:
H A Dauth_x.c356 dout(" built authorizer nonce %llx len %d\n", au->nonce, ceph_x_build_authorizer()
575 auth->authorizer = (struct ceph_authorizer *) au; ceph_x_create_authorizer()
597 au = (struct ceph_x_authorizer *)auth->authorizer; ceph_x_update_authorizer()
705 ret = calcu_signature((struct ceph_x_authorizer *)auth->authorizer, ceph_x_sign_message()
722 ret = calcu_signature((struct ceph_x_authorizer *)auth->authorizer, ceph_x_check_message_signature()
H A Dosd_client.c1057 if (osd->o_auth.authorizer) put_osd()
1058 ceph_auth_destroy_authorizer(ac, osd->o_auth.authorizer); put_osd()
2939 if (force_new && auth->authorizer) { get_authorizer()
2940 ceph_auth_destroy_authorizer(ac, auth->authorizer); get_authorizer()
2941 auth->authorizer = NULL; get_authorizer()
2943 if (!auth->authorizer) { get_authorizer()
2966 return ceph_auth_verify_authorizer_reply(ac, o->o_auth.authorizer, len); verify_authorizer_reply()
H A Dmon_client.c901 * - any osd_client or other work that may reference an authorizer ceph_monc_stop()
H A Dmessenger.c1411 /* Can't hold the mutex while getting authorizer */ get_connect_authorizer()
/linux-4.4.14/include/linux/ceph/
H A Dauth.h11 * 'authorizer' that we use when connecting to a service (mds, osd).
19 struct ceph_authorizer *authorizer; member in struct:ceph_auth_handshake
55 * Create authorizer for connecting to a service, and verify
60 /* ensure that an existing authorizer is up to date */
H A Dmessenger.h203 int auth_retry; /* true if we need a newer authorizer */
204 void *auth_reply_buf; /* where to put the authorizer reply */
H A Dmsgr.h88 #define CEPH_MSGR_TAG_BADAUTHORIZER 11 /* bad authorizer */
/linux-4.4.14/fs/ceph/
H A Dmds_client.c380 if (s->s_auth.authorizer) ceph_put_mds_session()
383 s->s_auth.authorizer); ceph_put_mds_session()
3883 if (force_new && auth->authorizer) { get_authorizer()
3884 ceph_auth_destroy_authorizer(ac, auth->authorizer); get_authorizer()
3885 auth->authorizer = NULL; get_authorizer()
3887 if (!auth->authorizer) { get_authorizer()
3910 return ceph_auth_verify_authorizer_reply(ac, s->s_auth.authorizer, len); verify_authorizer_reply()

Completed in 505 milliseconds