Lines Matching defs:ac
13 static void reset(struct ceph_auth_client *ac)
15 struct ceph_auth_none_info *xi = ac->private;
21 static void destroy(struct ceph_auth_client *ac)
23 kfree(ac->private);
24 ac->private = NULL;
27 static int is_authenticated(struct ceph_auth_client *ac)
29 struct ceph_auth_none_info *xi = ac->private;
34 static int should_authenticate(struct ceph_auth_client *ac)
36 struct ceph_auth_none_info *xi = ac->private;
45 static int handle_reply(struct ceph_auth_client *ac, int result,
48 struct ceph_auth_none_info *xi = ac->private;
60 struct ceph_auth_client *ac, int peer_type,
65 struct ceph_auth_none_info *ai = ac->private;
74 ret = ceph_entity_name_encode(ac->name, &p, end - 8);
78 ceph_encode_64(&p, ac->global_id);
97 static void ceph_auth_none_destroy_authorizer(struct ceph_auth_client *ac,
114 int ceph_auth_none_init(struct ceph_auth_client *ac)
118 dout("ceph_auth_none_init %p\n", ac);
126 ac->protocol = CEPH_AUTH_NONE;
127 ac->private = xi;
128 ac->ops = &ceph_auth_none_ops;