Lines Matching refs:front_len
1327 le32_to_cpu(m->hdr.front_len), le32_to_cpu(m->hdr.middle_len), in prepare_write_message()
1329 WARN_ON(m->front.iov_len != le32_to_cpu(m->hdr.front_len)); in prepare_write_message()
2392 unsigned int front_len, middle_len, data_len; in read_partial_message() local
2414 front_len = le32_to_cpu(con->in_hdr.front_len); in read_partial_message()
2415 if (front_len > CEPH_MSG_MAX_FRONT_LEN) in read_partial_message()
2431 con->in_base_pos = -front_len - middle_len - data_len - in read_partial_message()
2447 front_len, data_len); in read_partial_message()
2456 con->in_base_pos = -front_len - middle_len - data_len - in read_partial_message()
2477 ret = read_partial_message_section(con, &m->front, front_len, in read_partial_message()
2511 m, front_len, m->footer.front_crc, middle_len, in read_partial_message()
2566 le32_to_cpu(msg->hdr.front_len), in process_message()
3113 BUG_ON(msg->front.iov_len != le32_to_cpu(msg->hdr.front_len)); in ceph_con_send()
3132 le32_to_cpu(msg->hdr.front_len), in ceph_con_send()
3206 unsigned int front_len = le32_to_cpu(con->in_hdr.front_len); in ceph_msg_revoke_incoming() local
3214 front_len - in ceph_msg_revoke_incoming()
3358 struct ceph_msg *ceph_msg_new(int type, int front_len, gfp_t flags, in ceph_msg_new() argument
3369 m->hdr.front_len = cpu_to_le32(front_len); in ceph_msg_new()
3376 if (front_len) { in ceph_msg_new()
3377 m->front.iov_base = ceph_kvmalloc(front_len, flags); in ceph_msg_new()
3380 front_len); in ceph_msg_new()
3386 m->front_alloc_len = m->front.iov_len = front_len; in ceph_msg_new()
3388 dout("ceph_msg_new %p front %d\n", m, front_len); in ceph_msg_new()
3396 front_len); in ceph_msg_new()
3400 front_len); in ceph_msg_new()