Lines Matching refs:out_msg
658 if (con->out_msg) { in reset_connection()
659 BUG_ON(con->out_msg->con != con); in reset_connection()
660 ceph_msg_put(con->out_msg); in reset_connection()
661 con->out_msg = NULL; in reset_connection()
1240 struct ceph_msg *m = con->out_msg; in prepare_write_message_footer()
1281 con->out_msg = m; in prepare_write_message()
1318 con->out_msg->hdr.crc = cpu_to_le32(crc); in prepare_write_message()
1319 memcpy(&con->out_hdr, &con->out_msg->hdr, sizeof(con->out_hdr)); in prepare_write_message()
1323 con->out_msg->footer.front_crc = cpu_to_le32(crc); in prepare_write_message()
1327 con->out_msg->footer.middle_crc = cpu_to_le32(crc); in prepare_write_message()
1329 con->out_msg->footer.middle_crc = 0; in prepare_write_message()
1331 le32_to_cpu(con->out_msg->footer.front_crc), in prepare_write_message()
1332 le32_to_cpu(con->out_msg->footer.middle_crc)); in prepare_write_message()
1333 con->out_msg->footer.flags = 0; in prepare_write_message()
1336 con->out_msg->footer.data_crc = 0; in prepare_write_message()
1338 prepare_message_data(con->out_msg, m->data_length); in prepare_write_message()
1561 struct ceph_msg *msg = con->out_msg; in write_partial_message_data()
2617 if (con->out_msg) { in try_write()
2619 ceph_msg_put(con->out_msg); in try_write()
2620 con->out_msg = NULL; /* we're done with this one */ in try_write()
3151 if (con->out_msg == msg) { in ceph_msg_revoke()
3170 con->out_msg = NULL; in ceph_msg_revoke()