Home
last modified time | relevance | path

Searched refs:ceph_msg (Results 1 – 21 of 21) sorted by relevance

/linux/include/linux/ceph/
H A Dmessenger.h19 struct ceph_msg;
31 void (*dispatch) (struct ceph_connection *con, struct ceph_msg *m);
50 struct ceph_msg * (*alloc_msg) (struct ceph_connection *con,
54 void (*reencode_message) (struct ceph_msg *msg);
56 int (*sign_message) (struct ceph_msg *msg);
57 int (*check_message_signature) (struct ceph_msg *msg);
266 struct ceph_msg { struct
499 struct ceph_msg *in_msg;
500 struct ceph_msg *out_msg; /* sending message (== tail of
538 struct ceph_msg *msg, size_t length);
[all …]
H A Dauth.h16 struct ceph_msg;
29 struct ceph_msg *msg);
31 struct ceph_msg *msg);
85 struct ceph_msg *msg);
87 struct ceph_msg *msg);
145 struct ceph_msg *msg) in ceph_auth_sign_message()
154 struct ceph_msg *msg) in ceph_auth_check_message_signature()
H A Dmon_client.h61 struct ceph_msg *request; /* original request */
62 struct ceph_msg *reply; /* and reply */
78 struct ceph_msg *m_auth, *m_auth_reply, *m_subscribe, *m_subscribe_ack;
H A Dmsgpool.h23 struct ceph_msg *ceph_msgpool_get(struct ceph_msgpool *pool, int front_len,
25 extern void ceph_msgpool_put(struct ceph_msgpool *, struct ceph_msg *);
H A Dosd_client.h20 struct ceph_msg;
248 struct ceph_msg *r_request, *r_reply;
453 struct ceph_msg *msg);
H A Dlibceph.h127 int (*extra_mon_dispatch)(struct ceph_client *, struct ceph_msg *);
/linux/net/ceph/
H A Dmsgpool.c15 struct ceph_msg *msg; in msgpool_alloc()
31 struct ceph_msg *msg = element; in msgpool_free()
59 struct ceph_msg *ceph_msgpool_get(struct ceph_msgpool *pool, int front_len, in ceph_msgpool_get()
62 struct ceph_msg *msg; in ceph_msgpool_get()
81 void ceph_msgpool_put(struct ceph_msgpool *pool, struct ceph_msg *msg) in ceph_msgpool_put()
H A Dmessenger.c30 * Ceph uses the messenger to exchange ceph_msg messages with other
214 ceph_msg_cache = KMEM_CACHE(ceph_msg, 0); in ceph_msgr_slab_init()
539 static void ceph_msg_remove(struct ceph_msg *msg) in ceph_msg_remove()
549 struct ceph_msg *msg = list_first_entry(head, struct ceph_msg, in ceph_msg_remove_list()
674 struct ceph_msg *msg; in ceph_con_discard_sent()
679 msg = list_first_entry(&con->out_sent, struct ceph_msg, in ceph_con_discard_sent()
699 struct ceph_msg *msg; in ceph_con_discard_requeued()
704 msg = list_first_entry(&con->out_queue, struct ceph_msg, in ceph_con_discard_requeued()
1067 struct ceph_msg *ms in ceph_msg_data_cursor_init()
[all...]
H A Dmon_client.c336 struct ceph_msg *msg = monc->m_subscribe; in __send_subscribe()
385 struct ceph_msg *msg) in handle_subscribe_ack()
542 struct ceph_msg *msg) in ceph_monc_handle_map()
708 static struct ceph_msg *get_generic_reply(struct ceph_connection *con, in get_generic_reply()
715 struct ceph_msg *m; in get_generic_reply()
741 struct ceph_msg *msg) in handle_statfs_reply()
819 struct ceph_msg *msg) in handle_get_version_reply()
942 struct ceph_msg *msg) in handle_command_ack()
1318 struct ceph_msg *msg) in handle_auth_reply()
1449 static void mon_dispatch(struct ceph_connection *con, struct ceph_msg *ms in mon_dispatch()
[all...]
H A Dmessenger_v2.c358 static int front_len(const struct ceph_msg *msg) in front_len()
363 static int middle_len(const struct ceph_msg *msg) in middle_len()
368 static int data_len(const struct ceph_msg *msg) in data_len()
427 static int tail_onwire_len(const struct ceph_msg *msg, bool secure) in tail_onwire_len()
974 static int setup_message_sgs(struct sg_table *sgt, struct ceph_msg *msg, in setup_message_sgs()
1564 struct ceph_msg *msg, bool aborted) in prepare_epilogue_plain()
1579 struct ceph_msg *msg) in prepare_message_plain()
1634 struct ceph_msg *msg) in prepare_message_secure()
1698 static int prepare_message(struct ceph_connection *con, struct ceph_msg *msg) in prepare_message()
1999 struct ceph_msg *msg = con->in_msg; in prepare_sparse_read_data()
[all …]
H A Dosd_client.c587 struct ceph_msg *msg; in __ceph_osdc_alloc_messages()
941 static void ceph_osdc_msg_data_add(struct ceph_msg *msg, in ceph_osdc_msg_data_add()
2046 struct ceph_msg *request_msg = req->r_request; in setup_request_data()
2047 struct ceph_msg *reply_msg = req->r_reply; in setup_request_data()
2148 struct ceph_msg *msg) in encode_request_partial()
2224 static void encode_request_finish(struct ceph_msg *msg) in encode_request_finish()
2940 struct ceph_msg *msg; /* for ceph_msg_put() */
3675 static int decode_MOSDOpReply(const struct ceph_msg *msg, struct MOSDOpReply *m) in decode_MOSDOpReply()
3755 static void handle_reply(struct ceph_osd *osd, struct ceph_msg *msg) in handle_reply()
4140 void ceph_osdc_handle_map(struct ceph_osd_client *osdc, struct ceph_msg *ms in ceph_osdc_handle_map()
[all...]
H A Dmessenger_v1.c160 static void prepare_message_data(struct ceph_msg *msg, u32 data_len) in prepare_message_data()
173 struct ceph_msg *m) in prepare_write_message_footer()
195 struct ceph_msg *m) in prepare_write_message()
462 struct ceph_msg *msg) in write_partial_message_data()
1149 struct ceph_msg *m = con->in_msg; in read_partial_message()
1475 struct ceph_msg *msg; in ceph_con_v1_try_write()
1569 void ceph_con_v1_revoke(struct ceph_connection *con, struct ceph_msg *msg) in ceph_con_v1_revoke()
H A Dauth_x.c1042 static int calc_signature(struct ceph_x_authorizer *au, struct ceph_msg *msg, in calc_signature()
1124 struct ceph_msg *msg) in ceph_x_sign_message()
1143 struct ceph_msg *msg) in ceph_x_check_message_signature()
/linux/fs/ceph/
H A Dmds_client.h395 struct ceph_msg *r_request; /* original request */
396 struct ceph_msg *r_reply;
670 extern struct ceph_msg *ceph_create_session_msg(u32 op, u64 seq);
712 struct ceph_msg *msg);
714 struct ceph_msg *msg);
H A Dmds_client.c870 static int parse_reply_info(struct ceph_mds_session *s, struct ceph_msg *msg, in parse_reply_info()
1567 struct ceph_msg *ceph_create_session_msg(u32 op, u64 seq) in encode_supported_features()
1569 struct ceph_msg *msg; in encode_supported_features()
1663 static struct ceph_msg * in create_session_full_msg()
1666 struct ceph_msg *msg; in create_session_full_msg()
1790 struct ceph_msg *msg;
2149 struct ceph_msg *msg; in send_flushmsg_ack()
2180 struct ceph_msg *msg; in renewed_caps()
2235 struct ceph_msg *msg; in drop_negative_children()
2560 struct ceph_msg *ms in ceph_send_cap_releases()
[all...]
H A Dsuper.h1120 struct ceph_msg *msg);
1342 struct ceph_msg *msg);
1604 struct ceph_msg *msg);
H A Dquota.c42 struct ceph_msg *msg) in ceph_handle_quota()
H A Dmetric.c110 struct ceph_msg *msg; in ceph_mdsc_send_metrics()
H A Dcaps.c1358 static void encode_cap_msg(struct ceph_msg *msg, struct cap_msg_args *arg) in encode_cap_msg()
1654 struct ceph_msg *msg; in __ceph_flush_snaps()
1688 struct ceph_msg *msg; in __ceph_flush_snaps()
4682 struct ceph_msg *msg) in ceph_handle_caps()
H A Dsnap.c1021 struct ceph_msg *msg) in ceph_handle_snap()
H A Dsuper.c810 static int extra_mon_dispatch(struct ceph_client *client, struct ceph_msg *msg) in extra_mon_dispatch()