Lines Matching refs:out_msg
651 if (con->out_msg) {
652 BUG_ON(con->out_msg->con != con);
653 ceph_msg_put(con->out_msg);
654 con->out_msg = NULL;
1233 struct ceph_msg *m = con->out_msg;
1274 con->out_msg = m;
1311 con->out_msg->hdr.crc = cpu_to_le32(crc);
1312 memcpy(&con->out_hdr, &con->out_msg->hdr, sizeof(con->out_hdr));
1316 con->out_msg->footer.front_crc = cpu_to_le32(crc);
1320 con->out_msg->footer.middle_crc = cpu_to_le32(crc);
1322 con->out_msg->footer.middle_crc = 0;
1324 le32_to_cpu(con->out_msg->footer.front_crc),
1325 le32_to_cpu(con->out_msg->footer.middle_crc));
1326 con->out_msg->footer.flags = 0;
1329 con->out_msg->footer.data_crc = 0;
1331 prepare_message_data(con->out_msg, m->data_length);
1554 struct ceph_msg *msg = con->out_msg;
2608 if (con->out_msg) {
2610 ceph_msg_put(con->out_msg);
2611 con->out_msg = NULL; /* we're done with this one */
3001 if (con->out_msg) {
3002 BUG_ON(con->out_msg->con != con);
3003 ceph_msg_put(con->out_msg);
3004 con->out_msg = NULL;
3147 if (con->out_msg == msg) {
3166 con->out_msg = NULL;