Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/ceph/
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 …]
Dmon_client.h13 struct ceph_auth_client;
77 struct ceph_auth_client *auth;
/Linux-v6.6/net/ceph/
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()
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 …]
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 …]
Dauth_none.h25 int ceph_auth_none_init(struct ceph_auth_client *ac);
Dauth_x.h52 int ceph_x_init(struct ceph_auth_client *ac);
Dosd_client.c5604 struct ceph_auth_client *ac = osdc->client->monc.auth; in osd_get_authorizer()
5621 struct ceph_auth_client *ac = osdc->client->monc.auth; in osd_add_authorizer_challenge()
5631 struct ceph_auth_client *ac = osdc->client->monc.auth; in osd_verify_authorizer_reply()
5643 struct ceph_auth_client *ac = osdc->client->monc.auth; in osd_invalidate_authorizer()
5654 struct ceph_auth_client *ac = o->o_osdc->client->monc.auth; in osd_get_auth_request()
5674 struct ceph_auth_client *ac = o->o_osdc->client->monc.auth; in osd_handle_auth_reply_more()
5694 struct ceph_auth_client *ac = o->o_osdc->client->monc.auth; in osd_handle_auth_done()
/Linux-v6.6/fs/ceph/
Ddebugfs.c320 struct ceph_auth_client *ac = fsc->client->monc.auth; in mds_sessions_show()
Dmds_client.c5793 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in mds_get_authorizer()
5810 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in mds_add_authorizer_challenge()
5820 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in mds_verify_authorizer_reply()
5832 struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; in mds_invalidate_authorizer()
5844 struct ceph_auth_client *ac = s->s_mdsc->fsc->client->monc.auth; in mds_get_auth_request()
5864 struct ceph_auth_client *ac = s->s_mdsc->fsc->client->monc.auth; in mds_handle_auth_reply_more()
5884 struct ceph_auth_client *ac = s->s_mdsc->fsc->client->monc.auth; in mds_handle_auth_done()