Lines Matching refs:out_msg
668 if (con->out_msg) { in reset_connection()
669 BUG_ON(con->out_msg->con != con); in reset_connection()
670 ceph_msg_put(con->out_msg); in reset_connection()
671 con->out_msg = NULL; in reset_connection()
1226 struct ceph_msg *m = con->out_msg; in prepare_write_message_footer()
1273 con->out_msg = m; in prepare_write_message()
1307 con->out_msg->hdr.crc = cpu_to_le32(crc); in prepare_write_message()
1308 memcpy(&con->out_hdr, &con->out_msg->hdr, sizeof(con->out_hdr)); in prepare_write_message()
1312 con->out_msg->footer.front_crc = cpu_to_le32(crc); in prepare_write_message()
1316 con->out_msg->footer.middle_crc = cpu_to_le32(crc); in prepare_write_message()
1318 con->out_msg->footer.middle_crc = 0; in prepare_write_message()
1320 le32_to_cpu(con->out_msg->footer.front_crc), in prepare_write_message()
1321 le32_to_cpu(con->out_msg->footer.middle_crc)); in prepare_write_message()
1322 con->out_msg->footer.flags = 0; in prepare_write_message()
1325 con->out_msg->footer.data_crc = 0; in prepare_write_message()
1327 prepare_message_data(con->out_msg, m->data_length); in prepare_write_message()
1556 struct ceph_msg *msg = con->out_msg; in write_partial_message_data()
2553 if (con->out_msg) { in try_write()
2555 ceph_msg_put(con->out_msg); in try_write()
2556 con->out_msg = NULL; /* we're done with this one */ in try_write()
3084 if (con->out_msg == msg) { in ceph_msg_revoke()
3106 con->out_msg = NULL; in ceph_msg_revoke()