• Home
  • Raw
  • Download

Lines Matching refs:CTRL_BODY

70 #define CTRL_BODY(p)	((void *)(p) + CEPH_PREAMBLE_LEN)  macro
1112 crc = crc32c(-1, CTRL_BODY(base), ctrl_len); in prepare_head_plain()
1142 memset(CTRL_BODY(base) + ctrl_len, 0, in prepare_head_secure_small()
1179 void *rem = CTRL_BODY(base) + CEPH_PREAMBLE_INLINE_LEN; in prepare_head_secure_big()
1262 p = CTRL_BODY(buf); in prepare_hello()
1265 WARN_ON(p != CTRL_BODY(buf) + ctrl_len); in prepare_hello()
1287 ret = con->ops->get_auth_request(con, CTRL_BODY(buf), &ctrl_len, in prepare_auth_request()
1325 CTRL_BODY(buf), &ctrl_len, in prepare_auth_request_more()
1353 CTRL_BODY(buf)); in prepare_auth_signature()
1397 p = CTRL_BODY(buf); in prepare_client_ident()
1408 WARN_ON(p != CTRL_BODY(buf) + ctrl_len); in prepare_client_ident()
1434 p = CTRL_BODY(buf); in prepare_session_reconnect()
1443 WARN_ON(p != CTRL_BODY(buf) + ctrl_len); in prepare_session_reconnect()
1450 struct ceph_timespec *ts = CTRL_BODY(con->v2.out_buf); in prepare_keepalive2()
1472 p = CTRL_BODY(con->v2.out_buf); in prepare_ack()
1636 fill_header2(CTRL_BODY(con->v2.out_buf), &con->out_msg->hdr, in prepare_message()
1708 add_in_kvec(con, CTRL_BODY(buf), ctrl_len); in prepare_read_control()
1709 add_in_kvec(con, CTRL_BODY(buf) + ctrl_len, CEPH_CRC_LEN); in prepare_read_control()
1719 add_in_kvec(con, CTRL_BODY(con->v2.in_buf), ctrl_len); in prepare_read_control()
1737 memcpy(buf, CTRL_BODY(con->v2.in_buf), CEPH_PREAMBLE_INLINE_LEN); in prepare_read_control_remainder()
2679 return __handle_control(con, CTRL_BODY(con->v2.in_buf)); in handle_preamble()