Lines Matching refs:out_msg
672 if (con->out_msg) { in reset_connection()
673 ceph_msg_put(con->out_msg); in reset_connection()
674 con->out_msg = NULL; in reset_connection()
1229 struct ceph_msg *m = con->out_msg; in prepare_write_message_footer()
1276 con->out_msg = m; in prepare_write_message()
1310 con->out_msg->hdr.crc = cpu_to_le32(crc); in prepare_write_message()
1311 memcpy(&con->out_hdr, &con->out_msg->hdr, sizeof(con->out_hdr)); in prepare_write_message()
1315 con->out_msg->footer.front_crc = cpu_to_le32(crc); in prepare_write_message()
1319 con->out_msg->footer.middle_crc = cpu_to_le32(crc); in prepare_write_message()
1321 con->out_msg->footer.middle_crc = 0; in prepare_write_message()
1323 le32_to_cpu(con->out_msg->footer.front_crc), in prepare_write_message()
1324 le32_to_cpu(con->out_msg->footer.middle_crc)); in prepare_write_message()
1325 con->out_msg->footer.flags = 0; in prepare_write_message()
1328 con->out_msg->footer.data_crc = 0; in prepare_write_message()
1330 prepare_message_data(con->out_msg, m->data_length); in prepare_write_message()
1549 struct ceph_msg *msg = con->out_msg; in write_partial_message_data()
2540 if (con->out_msg) { in try_write()
2542 ceph_msg_put(con->out_msg); in try_write()
2543 con->out_msg = NULL; /* we're done with this one */ in try_write()
3060 if (con->out_msg == msg) { in ceph_msg_revoke()
3082 con->out_msg = NULL; in ceph_msg_revoke()