Lines Matching refs:protocol
24 static int ceph_auth_init_protocol(struct ceph_auth_client *ac, int protocol) in ceph_auth_init_protocol() argument
26 switch (protocol) { in ceph_auth_init_protocol()
160 ceph_encode_32(&p, ac->protocol); in ceph_build_auth_request()
184 int protocol; in ceph_handle_auth_reply() local
196 protocol = ceph_decode_32(&p); in ceph_handle_auth_reply()
221 if (!protocol && result < 0) { in ceph_handle_auth_reply()
226 if (ac->protocol && ac->protocol != protocol) { in ceph_handle_auth_reply()
228 ac->protocol = 0; in ceph_handle_auth_reply()
231 if (ac->protocol != protocol) { in ceph_handle_auth_reply()
232 ret = ceph_auth_init_protocol(ac, protocol); in ceph_handle_auth_reply()
235 ret, protocol); in ceph_handle_auth_reply()