Lines Matching refs:ac

14 static void reset(struct ceph_auth_client *ac)  in reset()  argument
16 struct ceph_auth_none_info *xi = ac->private; in reset()
22 static void destroy(struct ceph_auth_client *ac) in destroy() argument
24 kfree(ac->private); in destroy()
25 ac->private = NULL; in destroy()
28 static int is_authenticated(struct ceph_auth_client *ac) in is_authenticated() argument
30 struct ceph_auth_none_info *xi = ac->private; in is_authenticated()
35 static int should_authenticate(struct ceph_auth_client *ac) in should_authenticate() argument
37 struct ceph_auth_none_info *xi = ac->private; in should_authenticate()
42 static int build_request(struct ceph_auth_client *ac, void *buf, void *end) in build_request() argument
51 static int handle_reply(struct ceph_auth_client *ac, int result, in handle_reply() argument
54 struct ceph_auth_none_info *xi = ac->private; in handle_reply()
66 struct ceph_auth_client *ac, int peer_type, in ceph_auth_none_create_authorizer() argument
69 struct ceph_auth_none_info *ai = ac->private; in ceph_auth_none_create_authorizer()
78 ret = ceph_entity_name_encode(ac->name, &p, end - 8); in ceph_auth_none_create_authorizer()
82 ceph_encode_64(&p, ac->global_id); in ceph_auth_none_create_authorizer()
102 static void ceph_auth_none_destroy_authorizer(struct ceph_auth_client *ac, in ceph_auth_none_destroy_authorizer() argument
120 int ceph_auth_none_init(struct ceph_auth_client *ac) in ceph_auth_none_init() argument
124 dout("ceph_auth_none_init %p\n", ac); in ceph_auth_none_init()
132 ac->protocol = CEPH_AUTH_NONE; in ceph_auth_none_init()
133 ac->private = xi; in ceph_auth_none_init()
134 ac->ops = &ceph_auth_none_ops; in ceph_auth_none_init()