Lines Matching refs:ac

15 static void reset(struct ceph_auth_client *ac)  in reset()  argument
17 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 ceph_auth_none_build_authorizer(struct ceph_auth_client *ac, in ceph_auth_none_build_authorizer() argument
50 ret = ceph_auth_entity_name_encode(ac->name, &p, end); in ceph_auth_none_build_authorizer()
54 ceph_encode_64_safe(&p, end, ac->global_id, e_range); in ceph_auth_none_build_authorizer()
63 static int build_request(struct ceph_auth_client *ac, void *buf, void *end) in build_request() argument
72 static int handle_reply(struct ceph_auth_client *ac, u64 global_id, in handle_reply() argument
77 struct ceph_auth_none_info *xi = ac->private; in handle_reply()
80 ceph_auth_set_global_id(ac, global_id); in handle_reply()
94 struct ceph_auth_client *ac, int peer_type, in ceph_auth_none_create_authorizer() argument
106 ret = ceph_auth_none_build_authorizer(ac, au); in ceph_auth_none_create_authorizer()
131 int ceph_auth_none_init(struct ceph_auth_client *ac) in ceph_auth_none_init() argument
135 dout("ceph_auth_none_init %p\n", ac); in ceph_auth_none_init()
142 ac->protocol = CEPH_AUTH_NONE; in ceph_auth_none_init()
143 ac->private = xi; in ceph_auth_none_init()
144 ac->ops = &ceph_auth_none_ops; in ceph_auth_none_init()