Home
last modified time | relevance | path

Searched refs:middle_crc (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/include/linux/ceph/
Dmsgr.h218 __le32 front_crc, middle_crc, data_crc; member
223 __le32 front_crc, middle_crc, data_crc; member
Dmessenger.h455 u32 middle_crc; member
/linux-6.6.21/net/ceph/
Dauth_x.c973 __le32 middle_crc; in calc_signature() member
980 sigblock->middle_crc = msg->footer.middle_crc; in calc_signature()
994 __le32 middle_crc; in calc_signature() member
1008 sigblock->middle_crc = msg->footer.middle_crc; in calc_signature()
Dmessenger_v2.c570 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()
1600 con->v2.out_epil.middle_crc, con->v2.out_epil.data_crc); in prepare_epilogue_plain()
1628 con->v2.out_epil.middle_crc = -1; in prepare_message_plain()
1643 con->v2.out_epil.middle_crc = in prepare_message_plain()
[all …]
Dmessenger_v1.c243 con->out_msg->footer.middle_crc = cpu_to_le32(crc); in prepare_write_message()
245 con->out_msg->footer.middle_crc = 0; in prepare_write_message()
248 le32_to_cpu(con->out_msg->footer.middle_crc)); in prepare_write_message()
1281 m->footer.middle_crc, data_len, m->footer.data_crc); in read_partial_message()
1289 if (con->in_middle_crc != le32_to_cpu(m->footer.middle_crc)) { in read_partial_message()
1291 m, con->in_middle_crc, m->footer.middle_crc); in read_partial_message()