Lines Matching refs:middle
1300 /* tag + hdr + front + middle */
1305 if (m->middle)
1306 con_out_kvec_add(con, m->middle->vec.iov_len,
1307 m->middle->vec.iov_base);
1314 /* fill in front and middle crc, footer */
1317 if (m->middle) {
1318 crc = crc32c(0, m->middle->vec.iov_base,
1319 m->middle->vec.iov_len);
2437 if (m->middle)
2438 m->middle->vec.iov_len = 0;
2452 /* middle */
2453 if (m->middle) {
2454 ret = read_partial_message_section(con, &m->middle->vec,
2491 pr_err("read_partial_message %p middle crc %u != exp %u\n",
3156 /* data, middle, front */
3159 if (msg->middle)
3390 * Allocate "middle" portion of a message, if it is needed and wasn't
3394 * the middle is too large.
3404 BUG_ON(msg->middle);
3406 msg->middle = ceph_buffer_new(middle_len, GFP_NOFS);
3407 if (!msg->middle)
3463 if (middle_len && !con->in_msg->middle) {
3496 /* drop middle, data, if any */
3497 if (m->middle) {
3498 ceph_buffer_put(m->middle);
3499 m->middle = NULL;
3538 if (msg->middle)
3539 print_hex_dump(KERN_DEBUG, "middle: ",
3541 msg->middle->vec.iov_base,
3542 msg->middle->vec.iov_len, true);