Lines Matching refs:auth
309 struct ceph_auth_handshake *auth, in __ceph_auth_get_authorizer() argument
316 if (force_new && auth->authorizer) { in __ceph_auth_get_authorizer()
317 ceph_auth_destroy_authorizer(auth->authorizer); in __ceph_auth_get_authorizer()
318 auth->authorizer = NULL; in __ceph_auth_get_authorizer()
320 if (!auth->authorizer) in __ceph_auth_get_authorizer()
321 ret = ac->ops->create_authorizer(ac, peer_type, auth); in __ceph_auth_get_authorizer()
323 ret = ac->ops->update_authorizer(ac, peer_type, auth); in __ceph_auth_get_authorizer()
548 struct ceph_auth_handshake *auth, in ceph_auth_get_authorizer() argument
557 ret = __ceph_auth_get_authorizer(ac, auth, peer_type, true, &proto, in ceph_auth_get_authorizer()
568 ceph_encode_32_safe(&p, end, auth->authorizer_buf_len, e_range); in ceph_auth_get_authorizer()
578 struct ceph_auth_handshake *auth, in ceph_auth_handle_svc_reply_more() argument
586 ret = ceph_auth_add_authorizer_challenge(ac, auth->authorizer, in ceph_auth_handle_svc_reply_more()
592 ceph_encode_32_safe(&p, end, auth->authorizer_buf_len, e_range); in ceph_auth_handle_svc_reply_more()
602 struct ceph_auth_handshake *auth, in ceph_auth_handle_svc_reply_done() argument
607 return ceph_auth_verify_authorizer_reply(ac, auth->authorizer, in ceph_auth_handle_svc_reply_done()