Lines Matching refs:out_msg
679 if (con->out_msg) { in reset_connection()
680 BUG_ON(con->out_msg->con != con); in reset_connection()
681 ceph_msg_put(con->out_msg); in reset_connection()
682 con->out_msg = NULL; in reset_connection()
1265 struct ceph_msg *m = con->out_msg; in prepare_write_message_footer()
1306 con->out_msg = m; in prepare_write_message()
1343 con->out_msg->hdr.crc = cpu_to_le32(crc); in prepare_write_message()
1344 memcpy(&con->out_hdr, &con->out_msg->hdr, sizeof(con->out_hdr)); in prepare_write_message()
1348 con->out_msg->footer.front_crc = cpu_to_le32(crc); in prepare_write_message()
1352 con->out_msg->footer.middle_crc = cpu_to_le32(crc); in prepare_write_message()
1354 con->out_msg->footer.middle_crc = 0; in prepare_write_message()
1356 le32_to_cpu(con->out_msg->footer.front_crc), in prepare_write_message()
1357 le32_to_cpu(con->out_msg->footer.middle_crc)); in prepare_write_message()
1358 con->out_msg->footer.flags = 0; in prepare_write_message()
1361 con->out_msg->footer.data_crc = 0; in prepare_write_message()
1363 prepare_message_data(con->out_msg, m->data_length); in prepare_write_message()
1586 struct ceph_msg *msg = con->out_msg; in write_partial_message_data()
2638 if (con->out_msg) { in try_write()
2640 ceph_msg_put(con->out_msg); in try_write()
2641 con->out_msg = NULL; /* we're done with this one */ in try_write()
3166 if (con->out_msg == msg) { in ceph_msg_revoke()
3185 con->out_msg = NULL; in ceph_msg_revoke()