Lines Matching refs:protocol
177 ceph_encode_32_safe(&p, end, ac->protocol, e_range); in build_request()
184 ceph_auth_proto_name(ac->protocol), ret); in build_request()
204 int protocol; in ceph_handle_auth_reply() local
216 protocol = ceph_decode_32(&p); in ceph_handle_auth_reply()
236 if (!protocol && result < 0) { in ceph_handle_auth_reply()
241 if (ac->protocol && ac->protocol != protocol) { in ceph_handle_auth_reply()
243 ac->protocol = 0; in ceph_handle_auth_reply()
246 if (ac->protocol != protocol) { in ceph_handle_auth_reply()
247 ret = init_protocol(ac, protocol); in ceph_handle_auth_reply()
250 ceph_auth_proto_name(protocol), ret); in ceph_handle_auth_reply()
260 ceph_auth_proto_name(ac->protocol), result); in ceph_handle_auth_reply()
329 *proto = ac->protocol; in __ceph_auth_get_authorizer()
436 if (ac->protocol == CEPH_AUTH_UNKNOWN) { in ceph_auth_get_request()
444 WARN_ON(ac->protocol != proto); in ceph_auth_get_request()
449 ceph_encode_32_safe(&p, end, ac->protocol, e_range); in ceph_auth_get_request()
513 WARN_ON(used_proto != ac->protocol); in ceph_auth_handle_bad_method()
516 if (!contains(allowed_protos, proto_cnt, ac->protocol)) { in ceph_auth_handle_bad_method()
518 ceph_auth_proto_name(ac->protocol)); in ceph_auth_handle_bad_method()
537 ceph_auth_proto_name(ac->protocol), result); in ceph_auth_handle_bad_method()
619 WARN_ON(used_proto != ac->protocol); in ceph_auth_handle_bad_authorizer()
622 if (!contains(allowed_protos, proto_cnt, ac->protocol)) { in ceph_auth_handle_bad_authorizer()
624 ceph_auth_proto_name(ac->protocol), in ceph_auth_handle_bad_authorizer()
646 ceph_auth_proto_name(ac->protocol), in ceph_auth_handle_bad_authorizer()