Lines Matching defs:ac
15 static void reset(struct ceph_auth_client *ac)
17 struct ceph_auth_none_info *xi = ac->private;
22 static void destroy(struct ceph_auth_client *ac)
24 kfree(ac->private);
25 ac->private = NULL;
28 static int is_authenticated(struct ceph_auth_client *ac)
30 struct ceph_auth_none_info *xi = ac->private;
35 static int should_authenticate(struct ceph_auth_client *ac)
37 struct ceph_auth_none_info *xi = ac->private;
42 static int ceph_auth_none_build_authorizer(struct ceph_auth_client *ac,
50 ret = ceph_auth_entity_name_encode(ac->name, &p, end);
54 ceph_encode_64_safe(&p, end, ac->global_id, e_range);
63 static int build_request(struct ceph_auth_client *ac, void *buf, void *end)
72 static int handle_reply(struct ceph_auth_client *ac, u64 global_id,
77 struct ceph_auth_none_info *xi = ac->private;
80 ceph_auth_set_global_id(ac, global_id);
94 struct ceph_auth_client *ac, int peer_type,
106 ret = ceph_auth_none_build_authorizer(ac, au);
131 int ceph_auth_none_init(struct ceph_auth_client *ac)
135 dout("ceph_auth_none_init %p\n", ac);
142 ac->protocol = CEPH_AUTH_NONE;
143 ac->private = xi;
144 ac->ops = &ceph_auth_none_ops;