Home
last modified time | relevance | path

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

/linux/include/linux/ceph/
H A Dmsgr.h218 __le32 front_crc, middle_crc, data_crc; member
223 __le32 front_crc, middle_crc, data_crc; member
H A Dmessenger.h454 u32 front_crc; member
/linux/net/ceph/
H A Dauth_x.c972 __le32 front_crc; in calc_signature() member
979 sigblock->front_crc = msg->footer.front_crc; in calc_signature()
992 __le32 front_crc; in calc_signature() member
1006 sigblock->front_crc = msg->footer.front_crc; in calc_signature()
H A Dmessenger_v2.c569 cpu_to_le32s(&con->v2.out_epil.front_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()
595 *front_crc = ceph_decode_32(&p); in decode_epilogue()
658 static int verify_epilogue_crcs(struct ceph_connection *con, u32 front_crc, in verify_epilogue_crcs() argument
684 if (con->in_front_crc != front_crc) { in verify_epilogue_crcs()
686 con->in_front_crc, front_crc); in verify_epilogue_crcs()
1595 con->out_msg, aborted, con->v2.out_epil.front_crc, in prepare_epilogue_plain()
1623 con->v2.out_epil.front_crc = -1; in prepare_message_plain()
1630 con->v2.out_epil.front_crc = crc32c(-1, msg->front.iov_base, in prepare_message_plain()
[all …]
H A Dmessenger_v1.c239 con->out_msg->footer.front_crc = cpu_to_le32(crc); in prepare_write_message()
247 le32_to_cpu(con->out_msg->footer.front_crc), in prepare_write_message()
1280 m, front_len, m->footer.front_crc, middle_len, in read_partial_message()
1284 if (con->in_front_crc != le32_to_cpu(m->footer.front_crc)) { in read_partial_message()
1286 m, con->in_front_crc, m->footer.front_crc); in read_partial_message()