Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/ceph/
Dmessenger.h17 struct ceph_msg;
28 void (*dispatch) (struct ceph_connection *con, struct ceph_msg *m);
47 struct ceph_msg * (*alloc_msg) (struct ceph_connection *con,
51 void (*reencode_message) (struct ceph_msg *msg);
53 int (*sign_message) (struct ceph_msg *msg);
54 int (*check_message_signature) (struct ceph_msg *msg);
233 struct ceph_msg { struct
312 struct ceph_msg *out_msg; /* sending message (== tail of
328 struct ceph_msg *in_msg;
364 extern void ceph_con_send(struct ceph_connection *con, struct ceph_msg *msg);
[all …]
Dauth.h16 struct ceph_msg;
29 struct ceph_msg *msg);
31 struct ceph_msg *msg);
82 struct ceph_msg *msg);
84 struct ceph_msg *msg);
135 struct ceph_msg *msg) in ceph_auth_sign_message()
144 struct ceph_msg *msg) in ceph_auth_check_message_signature()
Dmsgpool.h22 extern struct ceph_msg *ceph_msgpool_get(struct ceph_msgpool *,
24 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.h19 struct ceph_msg;
181 struct ceph_msg *r_request, *r_reply;
380 struct ceph_msg *msg);
382 struct ceph_msg *msg);
Dlibceph.h122 int (*extra_mon_dispatch)(struct ceph_client *, struct ceph_msg *);
/Linux-v4.19/net/ceph/
Dmsgpool.c15 struct ceph_msg *msg; in msgpool_alloc()
30 struct ceph_msg *msg = element; in msgpool_free()
56 struct ceph_msg *ceph_msgpool_get(struct ceph_msgpool *pool, in ceph_msgpool_get()
59 struct ceph_msg *msg; in ceph_msgpool_get()
75 void ceph_msgpool_put(struct ceph_msgpool *pool, struct ceph_msg *msg) in ceph_msgpool_put()
Dmessenger.c234 ceph_msg_cache = KMEM_CACHE(ceph_msg, 0); in ceph_msgr_slab_init()
648 static void ceph_msg_remove(struct ceph_msg *msg) in ceph_msg_remove()
657 struct ceph_msg *msg = list_first_entry(head, struct ceph_msg, in ceph_msg_remove_list()
1141 static void ceph_msg_data_cursor_init(struct ceph_msg *msg, size_t length) in ceph_msg_data_cursor_init()
1249 static void prepare_message_data(struct ceph_msg *msg, u32 data_len) in prepare_message_data()
1265 struct ceph_msg *m = con->out_msg; in prepare_write_message_footer()
1288 struct ceph_msg *m; in prepare_write_message()
1305 m = list_first_entry(&con->out_queue, struct ceph_msg, list_head); in prepare_write_message()
1586 struct ceph_msg *msg = con->out_msg; in write_partial_message_data()
2288 struct ceph_msg *m; in process_ack()
[all …]
Dmon_client.c250 struct ceph_msg *msg = monc->m_subscribe; in __send_subscribe()
299 struct ceph_msg *msg) in handle_subscribe_ack()
456 struct ceph_msg *msg) in ceph_monc_handle_map()
621 static struct ceph_msg *get_generic_reply(struct ceph_connection *con, in get_generic_reply()
628 struct ceph_msg *m; in get_generic_reply()
654 struct ceph_msg *msg) in handle_statfs_reply()
732 struct ceph_msg *msg) in handle_get_version_reply()
855 struct ceph_msg *msg) in handle_command_ack()
1140 struct ceph_msg *msg) in handle_auth_reply()
1210 static void dispatch(struct ceph_connection *con, struct ceph_msg *msg) in dispatch()
[all …]
Dosd_client.c550 struct ceph_msg *request_msg = req->r_request; in request_reinit()
551 struct ceph_msg *reply_msg = req->r_reply; in request_reinit()
612 struct ceph_msg *msg; in ceph_osdc_alloc_messages()
876 static void ceph_osdc_msg_data_add(struct ceph_msg *msg, in ceph_osdc_msg_data_add()
1849 struct ceph_msg *msg) in setup_request_data()
1949 struct ceph_msg *msg) in encode_request_partial()
2025 static void encode_request_finish(struct ceph_msg *msg) in encode_request_finish()
2721 struct ceph_msg *msg; /* for ceph_msg_put() */
3402 static int decode_MOSDOpReply(const struct ceph_msg *msg, struct MOSDOpReply *m) in decode_MOSDOpReply()
3482 static void handle_reply(struct ceph_osd *osd, struct ceph_msg *msg) in handle_reply()
[all …]
Dauth_x.c805 static int calc_signature(struct ceph_x_authorizer *au, struct ceph_msg *msg, in calc_signature()
871 struct ceph_msg *msg) in ceph_x_sign_message()
890 struct ceph_msg *msg) in ceph_x_check_message_signature()
/Linux-v4.19/fs/ceph/
Dmds_client.h260 struct ceph_msg *r_request; /* original request */
262 struct ceph_msg *r_reply;
410 struct ceph_msg *msg, int mds);
454 struct ceph_msg *msg);
456 struct ceph_msg *msg);
Dmds_client.c327 static int parse_reply_info(struct ceph_msg *msg, in parse_reply_info()
887 static struct ceph_msg *create_session_msg(u32 op, u64 seq) in create_session_msg()
889 struct ceph_msg *msg; in create_session_msg()
930 static struct ceph_msg *create_session_open_msg(struct ceph_mds_client *mdsc, u64 seq) in create_session_open_msg()
932 struct ceph_msg *msg; in create_session_open_msg()
1016 struct ceph_msg *msg; in __open_session()
1400 struct ceph_msg *msg; in send_renew_caps()
1430 struct ceph_msg *msg; in send_flushmsg_ack()
1482 struct ceph_msg *msg; in request_close_session()
1674 struct ceph_msg *msg = NULL; in ceph_send_cap_releases()
[all …]
Dsuper.h831 struct ceph_msg *msg);
966 struct ceph_msg *msg);
1102 struct ceph_msg *msg);
Dquota.c43 struct ceph_msg *msg) in ceph_handle_quota()
Dsnap.c825 struct ceph_msg *msg) in ceph_handle_snap()
Dsuper.c586 static int extra_mon_dispatch(struct ceph_client *client, struct ceph_msg *msg) in extra_mon_dispatch()
Dcaps.c1132 struct ceph_msg *msg; in send_cap_msg()
3729 struct ceph_msg *msg) in ceph_handle_caps()