Home
last modified time | relevance | path

Searched refs:ceph_auth_client (Results 1 – 9 of 9) 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()
284 int ceph_build_auth(struct ceph_auth_client *ac, in ceph_build_auth()
[all …]
H A Dauth_x.c20 static void ceph_x_validate_tickets(struct ceph_auth_client *ac, int *pneed);
22 static int ceph_x_is_authenticated(struct ceph_auth_client *ac) in ceph_x_is_authenticated()
36 static int ceph_x_should_authenticate(struct ceph_auth_client *ac) in ceph_x_should_authenticate()
120 get_ticket_handler(struct ceph_auth_client *ac, int service) in get_ticket_handler()
147 static void remove_ticket_handler(struct ceph_auth_client *ac, in remove_ticket_handler()
160 static int process_one_ticket(struct ceph_auth_client *ac, in process_one_ticket()
270 static int ceph_x_proc_ticket_reply(struct ceph_auth_client *ac, in ceph_x_proc_ticket_reply()
351 static int ceph_x_build_authorizer(struct ceph_auth_client *ac, in ceph_x_build_authorizer()
458 static void ceph_x_validate_tickets(struct ceph_auth_client *ac, int *pneed) in ceph_x_validate_tickets()
488 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.c5572 struct ceph_auth_client *ac = osdc->client->monc.auth; in osd_get_authorizer()
5589 struct ceph_auth_client *ac = osdc->client->monc.auth; in osd_add_authorizer_challenge()
5599 struct ceph_auth_client *ac = osdc->client->monc.auth; in osd_verify_authorizer_reply()
5611 struct ceph_auth_client *ac = osdc->client->monc.auth; in osd_invalidate_authorizer()
5622 struct ceph_auth_client *ac = o->o_osdc->client->monc.auth; in osd_get_auth_request()
5642 struct ceph_auth_client *ac = o->o_osdc->client->monc.auth; in osd_handle_auth_reply_more()
5662 struct ceph_auth_client *ac = o->o_osdc->client->monc.auth; in osd_handle_auth_done()
/linux/fs/ceph/
H A Dmds_client.c6284 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in mds_get_authorizer()
6301 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in mds_add_authorizer_challenge()
6311 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in mds_verify_authorizer_reply()
6323 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in mds_invalidate_authorizer()
6335 struct ceph_auth_client *ac = s->s_mdsc->fsc->client->monc.auth; in mds_get_auth_request()
6355 struct ceph_auth_client *ac = s->s_mdsc->fsc->client->monc.auth; in mds_handle_auth_reply_more()
6375 struct ceph_auth_client *ac = s->s_mdsc->fsc->client->monc.auth; in mds_handle_auth_done()