Lines Matching refs:in_msg
661 if (front_len(con->in_msg)) { in verify_epilogue_crcs()
662 con->in_front_crc = crc32c(-1, con->in_msg->front.iov_base, in verify_epilogue_crcs()
663 front_len(con->in_msg)); in verify_epilogue_crcs()
665 WARN_ON(!middle_len(con->in_msg) && !data_len(con->in_msg)); in verify_epilogue_crcs()
669 if (middle_len(con->in_msg)) in verify_epilogue_crcs()
671 con->in_msg->middle->vec.iov_base, in verify_epilogue_crcs()
672 middle_len(con->in_msg)); in verify_epilogue_crcs()
673 else if (data_len(con->in_msg)) in verify_epilogue_crcs()
678 if (!data_len(con->in_msg)) in verify_epilogue_crcs()
681 dout("%s con %p msg %p crcs %u %u %u\n", __func__, con, con->in_msg, in verify_epilogue_crcs()
1135 bool sparse = !!con->in_msg->sparse_read_total; in decrypt_tail()
1140 tail_len = tail_onwire_len(con->in_msg, true); in decrypt_tail()
1148 dpos = padded_len(front_len(con->in_msg) + padded_len(middle_len(con->in_msg))); in decrypt_tail()
1152 ret = setup_message_sgs(&sgt, con->in_msg, FRONT_PAD(con->v2.in_buf), in decrypt_tail()
1159 con->in_msg, con->v2.in_enc_page_cnt, sgt.orig_nents); in decrypt_tail()
1164 if (sparse && data_len(con->in_msg)) { in decrypt_tail()
1869 ceph_msg_data_cursor_init(&con->v2.in_cursor, con->in_msg, in prepare_read_data()
1870 data_len(con->in_msg)); in prepare_read_data()
2031 struct ceph_msg *msg = con->in_msg; in prepare_sparse_read_data()
2049 struct ceph_msg *msg = con->in_msg; in prepare_read_tail_plain()
2112 tail_len = tail_onwire_len(con->in_msg, true); in prepare_read_tail_secure()
2893 WARN_ON(!con->in_msg ^ skip); in process_message_header()
2897 WARN_ON(!con->in_msg); in process_message_header()
2898 WARN_ON(con->in_msg->con != con); in process_message_header()
2937 msg = con->in_msg; /* set in process_message_header() */ in __handle_control()
3666 WARN_ON(!data_len(con->in_msg)); in revoke_at_prepare_read_data()
3671 remaining = data_len(con->in_msg) + CEPH_EPILOGUE_PLAIN_LEN; in revoke_at_prepare_read_data()
3685 WARN_ON(!data_len(con->in_msg)); in revoke_at_prepare_read_data_cont()
3726 WARN_ON(!data_len(con->in_msg)); in revoke_at_prepare_sparse_data()