Lines Matching refs:ops
67 if (ac->ops) in ceph_auth_destroy()
68 ac->ops->destroy(ac); in ceph_auth_destroy()
79 if (ac->ops && !ac->negotiating) in ceph_auth_reset()
80 ac->ops->reset(ac); in ceph_auth_reset()
158 ret = ac->ops->build_request(ac, p + sizeof(u32), end); in ceph_build_auth_request()
161 ac->ops->name); in ceph_build_auth_request()
223 ac->ops->destroy(ac); in ceph_handle_auth_reply()
225 ac->ops = NULL; in ceph_handle_auth_reply()
239 ret = ac->ops->handle_reply(ac, result, payload, payload_end); in ceph_handle_auth_reply()
243 pr_err("auth method '%s' error %d\n", ac->ops->name, ret); in ceph_handle_auth_reply()
264 else if (ac->ops->should_authenticate(ac)) in ceph_build_auth()
275 if (ac->ops) in ceph_auth_is_authenticated()
276 ret = ac->ops->is_authenticated(ac); in ceph_auth_is_authenticated()
289 if (ac->ops && ac->ops->create_authorizer) in ceph_auth_create_authorizer()
290 ret = ac->ops->create_authorizer(ac, peer_type, auth); in ceph_auth_create_authorizer()
300 if (ac->ops && ac->ops->destroy_authorizer) in ceph_auth_destroy_authorizer()
301 ac->ops->destroy_authorizer(ac, a); in ceph_auth_destroy_authorizer()
313 if (ac->ops && ac->ops->update_authorizer) in ceph_auth_update_authorizer()
314 ret = ac->ops->update_authorizer(ac, peer_type, a); in ceph_auth_update_authorizer()
326 if (ac->ops && ac->ops->verify_authorizer_reply) in ceph_auth_verify_authorizer_reply()
327 ret = ac->ops->verify_authorizer_reply(ac, a, len); in ceph_auth_verify_authorizer_reply()
336 if (ac->ops && ac->ops->invalidate_authorizer) in ceph_auth_invalidate_authorizer()
337 ac->ops->invalidate_authorizer(ac, peer_type); in ceph_auth_invalidate_authorizer()