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()
1131 bool sparse = !!con->in_msg->sparse_read_total; in decrypt_tail()
1136 tail_len = tail_onwire_len(con->in_msg, true); in decrypt_tail()
1144 dpos = padded_len(front_len(con->in_msg) + padded_len(middle_len(con->in_msg))); in decrypt_tail()
1148 ret = setup_message_sgs(&sgt, con->in_msg, FRONT_PAD(con->v2.in_buf), in decrypt_tail()
1155 con->in_msg, con->v2.in_enc_page_cnt, sgt.orig_nents); in decrypt_tail()
1160 if (sparse && data_len(con->in_msg)) { in decrypt_tail()
1865 ceph_msg_data_cursor_init(&con->v2.in_cursor, con->in_msg, in prepare_read_data()
1866 data_len(con->in_msg)); in prepare_read_data()
2027 struct ceph_msg *msg = con->in_msg; in prepare_sparse_read_data()
2048 struct ceph_msg *msg = con->in_msg; in prepare_read_tail_plain()
2111 tail_len = tail_onwire_len(con->in_msg, true); in prepare_read_tail_secure()
2892 WARN_ON(!con->in_msg ^ skip); in process_message_header()
2896 WARN_ON(!con->in_msg); in process_message_header()
2897 WARN_ON(con->in_msg->con != con); in process_message_header()
2936 msg = con->in_msg; /* set in process_message_header() */ in __handle_control()
3665 WARN_ON(!data_len(con->in_msg)); in revoke_at_prepare_read_data()
3670 remaining = data_len(con->in_msg) + CEPH_EPILOGUE_PLAIN_LEN; in revoke_at_prepare_read_data()
3684 WARN_ON(!data_len(con->in_msg)); in revoke_at_prepare_read_data_cont()
3725 WARN_ON(!data_len(con->in_msg)); in revoke_at_prepare_sparse_data()