Lines Matching refs:front_len
1302 le32_to_cpu(m->hdr.front_len), le32_to_cpu(m->hdr.middle_len), in prepare_write_message()
1304 WARN_ON(m->front.iov_len != le32_to_cpu(m->hdr.front_len)); in prepare_write_message()
2371 unsigned int front_len, middle_len, data_len; in read_partial_message() local
2393 front_len = le32_to_cpu(con->in_hdr.front_len); in read_partial_message()
2394 if (front_len > CEPH_MSG_MAX_FRONT_LEN) in read_partial_message()
2410 con->in_base_pos = -front_len - middle_len - data_len - in read_partial_message()
2426 front_len, data_len); in read_partial_message()
2435 con->in_base_pos = -front_len - middle_len - data_len - in read_partial_message()
2456 ret = read_partial_message_section(con, &m->front, front_len, in read_partial_message()
2490 m, front_len, m->footer.front_crc, middle_len, in read_partial_message()
2545 le32_to_cpu(msg->hdr.front_len), in process_message()
3098 BUG_ON(msg->front.iov_len != le32_to_cpu(msg->hdr.front_len)); in ceph_con_send()
3117 le32_to_cpu(msg->hdr.front_len), in ceph_con_send()
3191 unsigned int front_len = le32_to_cpu(con->in_hdr.front_len); in ceph_msg_revoke_incoming() local
3199 front_len - in ceph_msg_revoke_incoming()
3325 struct ceph_msg *ceph_msg_new2(int type, int front_len, int max_data_items, in ceph_msg_new2() argument
3336 m->hdr.front_len = cpu_to_le32(front_len); in ceph_msg_new2()
3342 if (front_len) { in ceph_msg_new2()
3343 m->front.iov_base = ceph_kvmalloc(front_len, flags); in ceph_msg_new2()
3346 front_len); in ceph_msg_new2()
3352 m->front_alloc_len = m->front.iov_len = front_len; in ceph_msg_new2()
3363 dout("ceph_msg_new %p front %d\n", m, front_len); in ceph_msg_new2()
3371 front_len); in ceph_msg_new2()
3375 front_len); in ceph_msg_new2()
3381 struct ceph_msg *ceph_msg_new(int type, int front_len, gfp_t flags, in ceph_msg_new() argument
3384 return ceph_msg_new2(type, front_len, 0, flags, can_fail); in ceph_msg_new()