Home
last modified time | relevance | path

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

/linux/include/linux/ceph/
H A Dmessenger.h20 struct ceph_connection;
27 struct ceph_connection *(*get)(struct ceph_connection *);
28 void (*put)(struct ceph_connection *);
31 void (*dispatch) (struct ceph_connection *con, struct ceph_msg *m);
35 struct ceph_connection *con,
37 int (*add_authorizer_challenge)(struct ceph_connection *con,
40 int (*verify_authorizer_reply) (struct ceph_connection *con);
41 int (*invalidate_authorizer)(struct ceph_connection *con);
44 void (*fault) (struct ceph_connection *con);
48 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;
/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()
194 static void prepare_write_message(struct ceph_connection *con, in prepare_write_message()
263 static void prepare_write_ack(struct ceph_connection *con) in prepare_write_ack()
284 static void prepare_write_seq(struct ceph_connection *con) in prepare_write_seq()
302 static void prepare_write_keepalive(struct ceph_connection *con) in prepare_write_keepalive()
324 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);
281 static void con_sock_state_init(struct ceph_connection *con) in con_sock_state_init()
292 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()
1359 static int mon_get_auth_request(struct ceph_connection *con, in mon_get_auth_request()
1378 static int mon_handle_auth_reply_more(struct ceph_connection *con, in mon_handle_auth_reply_more()
1399 static int mon_handle_auth_done(struct ceph_connection *con, in mon_handle_auth_done()
1422 static int mon_handle_auth_bad_method(struct ceph_connection *con, in mon_handle_auth_bad_method()
1444 static void mon_dispatch(struct ceph_connection *con, struct ceph_msg *msg) in mon_dispatch()
1493 static struct ceph_msg *mon_alloc_msg(struct ceph_connection *con, in mon_alloc_msg()
1553 static void mon_fault(struct ceph_connection *con) in mon_fault()
1576 static struct ceph_connection *mon_get_con(struct ceph_connection *con) in mon_get_con()
1581 static void mon_put_con(struct ceph_connection *con) in mon_put_con()
H A Dosd_client.c4277 static void osd_fault(struct ceph_connection *con) in osd_fault()
5359 static void osd_dispatch(struct ceph_connection *con, struct ceph_msg *msg) in osd_dispatch()
5410 static struct ceph_msg *get_reply(struct ceph_connection *con, in get_reply()
5503 static struct ceph_msg *osd_alloc_msg(struct ceph_connection *con, in osd_alloc_msg()
5529 static struct ceph_connection *osd_get_con(struct ceph_connection *con) in osd_get_con()
5537 static void osd_put_con(struct ceph_connection *con) in osd_put_con()
5552 osd_get_authorizer(struct ceph_connection *con, int *proto, int force_new) in osd_get_authorizer()
5568 static int osd_add_authorizer_challenge(struct ceph_connection *con, in osd_add_authorizer_challenge()
5579 static int osd_verify_authorizer_reply(struct ceph_connection *con) in osd_verify_authorizer_reply()
5591 static int osd_invalidate_authorizer(struct ceph_connection *con) in osd_invalidate_authorizer()
[all …]
/linux/fs/ceph/
H A Dmds_client.c6261 static struct ceph_connection *mds_get_con(struct ceph_connection *con) in mds_get_con()
6270 static void mds_put_con(struct ceph_connection *con) in mds_put_con()
6281 static void mds_peer_reset(struct ceph_connection *con) in mds_peer_reset()
6293 static void mds_dispatch(struct ceph_connection *con, struct ceph_msg *msg) in mds_dispatch()
6353 mds_get_authorizer(struct ceph_connection *con, int *proto, int force_new) in mds_get_authorizer()
6369 static int mds_add_authorizer_challenge(struct ceph_connection *con, in mds_add_authorizer_challenge()
6380 static int mds_verify_authorizer_reply(struct ceph_connection *con) in mds_verify_authorizer_reply()
6392 static int mds_invalidate_authorizer(struct ceph_connection *con) in mds_invalidate_authorizer()
6403 static int mds_get_auth_request(struct ceph_connection *con, in mds_get_auth_request()
6422 static int mds_handle_auth_reply_more(struct ceph_connection *con, in mds_handle_auth_reply_more()
[all …]
H A Dmds_client.h223 struct ceph_connection s_con;