Home
last modified time | relevance | path

Searched refs:ceph_auth_client (Results 1 – 10 of 10) sorted by relevance

/linux/include/linux/ceph/
H A Dauth.h15 struct ceph_auth_client;
39 int (*is_authenticated)(struct ceph_auth_client *ac);
45 int (*should_authenticate)(struct ceph_auth_client *ac);
52 int (*build_request)(struct ceph_auth_client *ac, void *buf, void *end);
53 int (*handle_reply)(struct ceph_auth_client *ac, u64 global_id,
62 int (*create_authorizer)(struct ceph_auth_client *ac, int peer_type,
65 int (*update_authorizer)(struct ceph_auth_client *ac, int peer_type,
67 int (*add_authorizer_challenge)(struct ceph_auth_client *ac,
71 int (*verify_authorizer_reply)(struct ceph_auth_client *ac,
76 void (*invalidate_authorizer)(struct ceph_auth_client *ac,
[all …]
H A Dmon_client.h13 struct ceph_auth_client;
77 struct ceph_auth_client *auth;
/linux/net/ceph/
H A Dauth_none.c15 static void reset(struct ceph_auth_client *ac) in reset()
22 static void destroy(struct ceph_auth_client *ac) in destroy()
28 static int is_authenticated(struct ceph_auth_client *ac) in is_authenticated()
35 static int should_authenticate(struct ceph_auth_client *ac) in should_authenticate()
42 static int ceph_auth_none_build_authorizer(struct ceph_auth_client *ac, in ceph_auth_none_build_authorizer()
63 static int build_request(struct ceph_auth_client *ac, void *buf, void *end) in build_request()
72 static int handle_reply(struct ceph_auth_client *ac, u64 global_id, in handle_reply()
94 struct ceph_auth_client *ac, int peer_type, in ceph_auth_none_create_authorizer()
131 int ceph_auth_none_init(struct ceph_auth_client *ac) in ceph_auth_none_init()
H A Dauth.c24 static int init_protocol(struct ceph_auth_client *ac, int proto) in init_protocol()
39 void ceph_auth_set_global_id(struct ceph_auth_client *ac, u64 global_id) in ceph_auth_set_global_id()
56 struct ceph_auth_client *ceph_auth_init(const char *name, in ceph_auth_init()
60 struct ceph_auth_client *ac; in ceph_auth_init()
81 void ceph_auth_destroy(struct ceph_auth_client *ac) in ceph_auth_destroy()
92 void ceph_auth_reset(struct ceph_auth_client *ac) in ceph_auth_reset()
121 int ceph_auth_build_hello(struct ceph_auth_client *ac, void *buf, size_t len) in ceph_auth_build_hello()
164 static int build_request(struct ceph_auth_client *ac, bool add_header, in build_request()
198 int ceph_handle_auth_reply(struct ceph_auth_client *ac, in ceph_handle_auth_reply()
286 int ceph_build_auth(struct ceph_auth_client *ac, in ceph_build_auth()
[all …]
H A Dauth_x.c36 static void ceph_x_validate_tickets(struct ceph_auth_client *ac, int *pneed);
38 static int ceph_x_is_authenticated(struct ceph_auth_client *ac) in ceph_x_is_authenticated()
52 static int ceph_x_should_authenticate(struct ceph_auth_client *ac) in ceph_x_should_authenticate()
151 get_ticket_handler(struct ceph_auth_client *ac, int service) in get_ticket_handler()
178 static void remove_ticket_handler(struct ceph_auth_client *ac, in remove_ticket_handler()
191 static int process_one_ticket(struct ceph_auth_client *ac, in process_one_ticket()
310 static int ceph_x_proc_ticket_reply(struct ceph_auth_client *ac, in ceph_x_proc_ticket_reply()
393 static int ceph_x_build_authorizer(struct ceph_auth_client *ac, in ceph_x_build_authorizer()
505 static void ceph_x_validate_tickets(struct ceph_auth_client *ac, int *pneed) in ceph_x_validate_tickets()
535 static int ceph_x_build_request(struct ceph_auth_client *ac, in ceph_x_build_request()
[all …]
H A Dauth_none.h25 int ceph_auth_none_init(struct ceph_auth_client *ac);
H A Dauth_x.h52 int ceph_x_init(struct ceph_auth_client *ac);
H A Dosd_client.c5556 struct ceph_auth_client *ac = osdc->client->monc.auth; in osd_get_authorizer()
5573 struct ceph_auth_client *ac = osdc->client->monc.auth; in osd_add_authorizer_challenge()
5583 struct ceph_auth_client *ac = osdc->client->monc.auth; in osd_verify_authorizer_reply()
5595 struct ceph_auth_client *ac = osdc->client->monc.auth; in osd_invalidate_authorizer()
5606 struct ceph_auth_client *ac = o->o_osdc->client->monc.auth; in osd_get_auth_request()
5626 struct ceph_auth_client *ac = o->o_osdc->client->monc.auth; in osd_handle_auth_reply_more()
5646 struct ceph_auth_client *ac = o->o_osdc->client->monc.auth; in osd_handle_auth_done()
/linux/fs/ceph/
H A Ddebugfs.c318 struct ceph_auth_client *ac = fsc->client->monc.auth; in mds_sessions_show()
H A Dmds_client.c6357 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in mds_get_authorizer()
6374 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in mds_add_authorizer_challenge()
6384 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in mds_verify_authorizer_reply()
6396 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in mds_invalidate_authorizer()
6408 struct ceph_auth_client *ac = s->s_mdsc->fsc->client->monc.auth; in mds_get_auth_request()
6428 struct ceph_auth_client *ac = s->s_mdsc->fsc->client->monc.auth; in mds_handle_auth_reply_more()
6448 struct ceph_auth_client *ac = s->s_mdsc->fsc->client->monc.auth; in mds_handle_auth_done()