Home
last modified time | relevance | path

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

/net/ceph/
Dmessenger_v2.c389 static int head_onwire_len(int ctrl_len, bool secure) in head_onwire_len() argument
394 BUG_ON(ctrl_len < 0 || ctrl_len > CEPH_MSG_MAX_CONTROL_LEN); in head_onwire_len()
398 if (ctrl_len > CEPH_PREAMBLE_INLINE_LEN) { in head_onwire_len()
399 rem_len = ctrl_len - CEPH_PREAMBLE_INLINE_LEN; in head_onwire_len()
404 if (ctrl_len) in head_onwire_len()
405 head_len += ctrl_len + CEPH_CRC_LEN; in head_onwire_len()
640 int ctrl_len = con->v2.in_desc.fd_lens[0]; in verify_control_crc() local
643 WARN_ON(con->v2.in_kvecs[0].iov_len != ctrl_len); in verify_control_crc()
646 crc = crc32c(-1, con->v2.in_kvecs[0].iov_base, ctrl_len); in verify_control_crc()
1030 int ctrl_len = con->v2.in_desc.fd_lens[0]; in decrypt_control_remainder() local
[all …]