Lines Matching refs:middle_crc
570 cpu_to_le32s(&con->v2.out_epil.middle_crc); in encode_epilogue_plain()
581 static int decode_epilogue(void *p, u32 *front_crc, u32 *middle_crc, in decode_epilogue() argument
594 if (front_crc && middle_crc && data_crc) { in decode_epilogue()
596 *middle_crc = ceph_decode_32(&p); in decode_epilogue()
659 u32 middle_crc, u32 data_crc) in verify_epilogue_crcs() argument
689 if (con->in_middle_crc != middle_crc) { in verify_epilogue_crcs()
691 con->in_middle_crc, middle_crc); in verify_epilogue_crcs()
1596 con->v2.out_epil.middle_crc, con->v2.out_epil.data_crc); in prepare_epilogue_plain()
1624 con->v2.out_epil.middle_crc = -1; in prepare_message_plain()
1639 con->v2.out_epil.middle_crc = in prepare_message_plain()
1643 con->v2.out_epil.middle_crc = data_len(msg) ? -1 : 0; in prepare_message_plain()
3040 u32 front_crc, middle_crc, data_crc; in handle_epilogue() local
3059 &middle_crc, &data_crc); in handle_epilogue()
3065 ret = verify_epilogue_crcs(con, front_crc, middle_crc, in handle_epilogue()
3486 con->v2.out_epil.middle_crc = in prepare_zero_middle()
3488 con->v2.out_epil.middle_crc = in prepare_zero_middle()
3489 crc32c_zeros(con->v2.out_epil.middle_crc, resid); in prepare_zero_middle()
3491 con->v2.out_epil.middle_crc = crc32c_zeros(-1, resid); in prepare_zero_middle()