Home
last modified time | relevance | path

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

/Linux-v5.15/include/linux/ceph/
Dmessenger.h18 struct ceph_msg;
29 void (*dispatch) (struct ceph_connection *con, struct ceph_msg *m);
48 struct ceph_msg * (*alloc_msg) (struct ceph_connection *con,
52 void (*reencode_message) (struct ceph_msg *msg);
54 int (*sign_message) (struct ceph_msg *msg);
55 int (*check_message_signature) (struct ceph_msg *msg);
234 struct ceph_msg { struct
456 struct ceph_msg *in_msg;
457 struct ceph_msg *out_msg; /* sending message (== tail of
494 struct ceph_msg *msg, size_t length);
[all …]
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()
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 *);
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;
Dosd_client.h20 struct ceph_msg;
191 struct ceph_msg *r_request, *r_reply;
392 struct ceph_msg *msg);
394 struct ceph_msg *msg);
Dlibceph.h136 int (*extra_mon_dispatch)(struct ceph_client *, struct ceph_msg *);
/Linux-v5.15/net/ceph/
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()
Dmessenger.c213 ceph_msg_cache = KMEM_CACHE(ceph_msg, 0); in ceph_msgr_slab_init()
529 static void ceph_msg_remove(struct ceph_msg *msg) in ceph_msg_remove()
539 struct ceph_msg *msg = list_first_entry(head, struct ceph_msg, in ceph_msg_remove_list()
664 struct ceph_msg *msg; in ceph_con_discard_sent()
669 msg = list_first_entry(&con->out_sent, struct ceph_msg, in ceph_con_discard_sent()
689 struct ceph_msg *msg; in ceph_con_discard_requeued()
694 msg = list_first_entry(&con->out_queue, struct ceph_msg, in ceph_con_discard_requeued()
1025 struct ceph_msg *msg, size_t length) in ceph_msg_data_cursor_init()
1356 struct ceph_msg *msg = con->in_msg; in ceph_con_process_message()
1657 static void msg_con_set(struct ceph_msg *msg, struct ceph_connection *con) in msg_con_set()
[all …]
Dmon_client.c334 struct ceph_msg *msg = monc->m_subscribe; in __send_subscribe()
383 struct ceph_msg *msg) in handle_subscribe_ack()
540 struct ceph_msg *msg) in ceph_monc_handle_map()
706 static struct ceph_msg *get_generic_reply(struct ceph_connection *con, in get_generic_reply()
713 struct ceph_msg *m; in get_generic_reply()
739 struct ceph_msg *msg) in handle_statfs_reply()
817 struct ceph_msg *msg) in handle_get_version_reply()
940 struct ceph_msg *msg) in handle_command_ack()
1305 struct ceph_msg *msg) in handle_auth_reply()
1436 static void mon_dispatch(struct ceph_connection *con, struct ceph_msg *msg) in mon_dispatch()
[all …]
Dosd_client.c555 struct ceph_msg *request_msg = req->r_request; in request_reinit()
556 struct ceph_msg *reply_msg = req->r_reply; in request_reinit()
619 struct ceph_msg *msg; in __ceph_osdc_alloc_messages()
956 static void ceph_osdc_msg_data_add(struct ceph_msg *msg, in ceph_osdc_msg_data_add()
2001 struct ceph_msg *request_msg = req->r_request; in setup_request_data()
2002 struct ceph_msg *reply_msg = req->r_reply; in setup_request_data()
2102 struct ceph_msg *msg) in encode_request_partial()
2178 static void encode_request_finish(struct ceph_msg *msg) in encode_request_finish()
2885 struct ceph_msg *msg; /* for ceph_msg_put() */
3571 static int decode_MOSDOpReply(const struct ceph_msg *msg, struct MOSDOpReply *m) in decode_MOSDOpReply()
[all …]
Dmessenger_v1.c161 static void prepare_message_data(struct ceph_msg *msg, u32 data_len) in prepare_message_data()
174 struct ceph_msg *m = con->out_msg; in prepare_write_message_footer()
197 struct ceph_msg *m; in prepare_write_message()
467 struct ceph_msg *msg = con->out_msg; in write_partial_message_data()
995 struct ceph_msg *msg = con->in_msg; in read_partial_msg_data()
1039 struct ceph_msg *m = con->in_msg; in read_partial_message()
1451 struct ceph_msg *msg = con->out_msg; in ceph_con_v1_revoke()
Dauth_x.c962 static int calc_signature(struct ceph_x_authorizer *au, struct ceph_msg *msg, in calc_signature()
1028 struct ceph_msg *msg) in ceph_x_sign_message()
1047 struct ceph_msg *msg) in ceph_x_check_message_signature()
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()
423 static int tail_onwire_len(const struct ceph_msg *msg, bool secure) in tail_onwire_len()
963 static int setup_message_sgs(struct sg_table *sgt, struct ceph_msg *msg, in setup_message_sgs()
1484 struct ceph_msg *msg = con->out_msg; in prepare_message_plain()
2577 struct ceph_msg *msg; in __handle_control()
/Linux-v5.15/fs/ceph/
Dmds_client.h295 struct ceph_msg *r_request; /* original request */
296 struct ceph_msg *r_reply;
493 struct ceph_msg *msg, int mds);
529 extern struct ceph_msg *ceph_create_session_msg(u32 op, u64 seq);
557 struct ceph_msg *msg);
559 struct ceph_msg *msg);
Dmds_client.c580 static int parse_reply_info(struct ceph_mds_session *s, struct ceph_msg *msg, in parse_reply_info()
1171 struct ceph_msg *ceph_create_session_msg(u32 op, u64 seq) in ceph_create_session_msg()
1173 struct ceph_msg *msg; in ceph_create_session_msg()
1264 static struct ceph_msg *create_session_open_msg(struct ceph_mds_client *mdsc, u64 seq) in create_session_open_msg()
1266 struct ceph_msg *msg; in create_session_open_msg()
1377 struct ceph_msg *msg; in __open_session()
1823 struct ceph_msg *msg; in send_renew_caps()
1853 struct ceph_msg *msg; in send_flushmsg_ack()
1904 struct ceph_msg *msg; in request_close_session()
2098 struct ceph_msg *msg = NULL; in ceph_send_cap_releases()
[all …]
Dsuper.h931 struct ceph_msg *msg);
1129 struct ceph_msg *msg);
1281 struct ceph_msg *msg);
Dquota.c39 struct ceph_msg *msg) in ceph_handle_quota()
Dmetric.c28 struct ceph_msg *msg; in ceph_mdsc_send_metrics()
Dcaps.c1227 static void encode_cap_msg(struct ceph_msg *msg, struct cap_msg_args *arg) in encode_cap_msg()
1442 struct ceph_msg *msg; in __send_cap()
1469 struct ceph_msg *msg; in __send_flush_snap()
4022 struct ceph_msg *msg) in ceph_handle_caps()
Dsnap.c903 struct ceph_msg *msg) in ceph_handle_snap()
Dsuper.c613 static int extra_mon_dispatch(struct ceph_client *client, struct ceph_msg *msg) in extra_mon_dispatch()