Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/ceph/
H A Dmessenger.h19 struct ceph_connection;
26 struct ceph_connection *(*get)(struct ceph_connection *);
27 void (*put)(struct ceph_connection *);
30 void (*dispatch) (struct ceph_connection *con, struct ceph_msg *m);
34 struct ceph_connection *con,
36 int (*add_authorizer_challenge)(struct ceph_connection *con,
39 int (*verify_authorizer_reply) (struct ceph_connection *con);
40 int (*invalidate_authorizer)(struct ceph_connection *con);
43 void (*fault) (struct ceph_connection *con);
47 void (*peer_reset) (struct ceph_connection *con);
[all …]
H A Dmon_client.h85 struct ceph_connection con;
H A Dosd_client.h87 struct ceph_connection o_con;
/openbmc/linux/net/ceph/
H A Dmessenger_v1.c110 static void con_out_kvec_reset(struct ceph_connection *con) in con_out_kvec_reset()
119 static void con_out_kvec_add(struct ceph_connection *con, in con_out_kvec_add()
138 static int con_out_kvec_skip(struct ceph_connection *con) in con_out_kvec_skip()
153 static size_t sizeof_footer(struct ceph_connection *con) in sizeof_footer()
172 static void prepare_write_message_footer(struct ceph_connection *con) in prepare_write_message_footer()
195 static void prepare_write_message(struct ceph_connection *con) in prepare_write_message()
267 static void prepare_write_ack(struct ceph_connection *con) in prepare_write_ack()
288 static void prepare_write_seq(struct ceph_connection *con) in prepare_write_seq()
306 static void prepare_write_keepalive(struct ceph_connection *con) in prepare_write_keepalive()
328 static int get_connect_authorizer(struct ceph_connection *con) in get_connect_authorizer()
[all …]
H A Dmessenger_v2.c109 static int ceph_tcp_recv(struct ceph_connection *con) in ceph_tcp_recv()
196 static int ceph_tcp_send(struct ceph_connection *con) in ceph_tcp_send()
211 static void add_in_kvec(struct ceph_connection *con, void *buf, int len) in add_in_kvec()
224 static void reset_in_kvecs(struct ceph_connection *con) in reset_in_kvecs()
232 static void set_in_bvec(struct ceph_connection *con, const struct bio_vec *bv) in set_in_bvec()
240 static void set_in_skip(struct ceph_connection *con, int len) in set_in_skip()
248 static void add_out_kvec(struct ceph_connection *con, void *buf, int len) in add_out_kvec()
262 static void reset_out_kvecs(struct ceph_connection *con) in reset_out_kvecs()
273 static void set_out_bvec(struct ceph_connection *con, const struct bio_vec *bv, in set_out_bvec()
285 static void set_out_bvec_zero(struct ceph_connection *con) in set_out_bvec_zero()
[all …]
H A Dmessenger.c100 void ceph_con_flag_clear(struct ceph_connection *con, unsigned long con_flag) in ceph_con_flag_clear()
107 void ceph_con_flag_set(struct ceph_connection *con, unsigned long con_flag) in ceph_con_flag_set()
114 bool ceph_con_flag_test(struct ceph_connection *con, unsigned long con_flag) in ceph_con_flag_test()
121 bool ceph_con_flag_test_and_clear(struct ceph_connection *con, in ceph_con_flag_test_and_clear()
129 bool ceph_con_flag_test_and_set(struct ceph_connection *con, in ceph_con_flag_test_and_set()
145 static void queue_con(struct ceph_connection *con);
146 static void cancel_con(struct ceph_connection *con);
148 static void con_fault(struct ceph_connection *con);
280 static void con_sock_state_init(struct ceph_connection *con) in con_sock_state_init()
291 static void con_sock_state_connecting(struct ceph_connection *con) in con_sock_state_connecting()
[all …]
H A Dmon_client.c706 static struct ceph_msg *get_generic_reply(struct ceph_connection *con, in get_generic_reply()
1360 static int mon_get_auth_request(struct ceph_connection *con, in mon_get_auth_request()
1379 static int mon_handle_auth_reply_more(struct ceph_connection *con, in mon_handle_auth_reply_more()
1400 static int mon_handle_auth_done(struct ceph_connection *con, in mon_handle_auth_done()
1423 static int mon_handle_auth_bad_method(struct ceph_connection *con, in mon_handle_auth_bad_method()
1445 static void mon_dispatch(struct ceph_connection *con, struct ceph_msg *msg) in mon_dispatch()
1494 static struct ceph_msg *mon_alloc_msg(struct ceph_connection *con, in mon_alloc_msg()
1554 static void mon_fault(struct ceph_connection *con) in mon_fault()
1577 static struct ceph_connection *mon_get_con(struct ceph_connection *con) in mon_get_con()
1582 static void mon_put_con(struct ceph_connection *con) in mon_put_con()
H A Dosd_client.c4296 static void osd_fault(struct ceph_connection *con) in osd_fault()
5409 static void osd_dispatch(struct ceph_connection *con, struct ceph_msg *msg) in osd_dispatch()
5460 static struct ceph_msg *get_reply(struct ceph_connection *con, in get_reply()
5553 static struct ceph_msg *osd_alloc_msg(struct ceph_connection *con, in osd_alloc_msg()
5579 static struct ceph_connection *osd_get_con(struct ceph_connection *con) in osd_get_con()
5587 static void osd_put_con(struct ceph_connection *con) in osd_put_con()
5602 osd_get_authorizer(struct ceph_connection *con, int *proto, int force_new) in osd_get_authorizer()
5618 static int osd_add_authorizer_challenge(struct ceph_connection *con, in osd_add_authorizer_challenge()
5629 static int osd_verify_authorizer_reply(struct ceph_connection *con) in osd_verify_authorizer_reply()
5641 static int osd_invalidate_authorizer(struct ceph_connection *con) in osd_invalidate_authorizer()
[all …]
/openbmc/linux/fs/ceph/
H A Dmds_client.c5704 static struct ceph_connection *mds_get_con(struct ceph_connection *con) in mds_get_con()
5713 static void mds_put_con(struct ceph_connection *con) in mds_put_con()
5724 static void mds_peer_reset(struct ceph_connection *con) in mds_peer_reset()
5734 static void mds_dispatch(struct ceph_connection *con, struct ceph_msg *msg) in mds_dispatch()
5793 mds_get_authorizer(struct ceph_connection *con, int *proto, int force_new) in mds_get_authorizer()
5809 static int mds_add_authorizer_challenge(struct ceph_connection *con, in mds_add_authorizer_challenge()
5820 static int mds_verify_authorizer_reply(struct ceph_connection *con) in mds_verify_authorizer_reply()
5832 static int mds_invalidate_authorizer(struct ceph_connection *con) in mds_invalidate_authorizer()
5843 static int mds_get_auth_request(struct ceph_connection *con, in mds_get_auth_request()
5862 static int mds_handle_auth_reply_more(struct ceph_connection *con, in mds_handle_auth_reply_more()
[all …]
H A Dmds_client.h200 struct ceph_connection s_con;