Lines Matching refs:front_len

1295 	     le32_to_cpu(m->hdr.front_len), le32_to_cpu(m->hdr.middle_len),  in prepare_write_message()
1297 BUG_ON(le32_to_cpu(m->hdr.front_len) != m->front.iov_len); in prepare_write_message()
2296 unsigned int front_len, middle_len, data_len; in read_partial_message() local
2318 front_len = le32_to_cpu(con->in_hdr.front_len); in read_partial_message()
2319 if (front_len > CEPH_MSG_MAX_FRONT_LEN) in read_partial_message()
2335 con->in_base_pos = -front_len - middle_len - data_len - in read_partial_message()
2351 front_len, data_len); in read_partial_message()
2367 con->in_base_pos = -front_len - middle_len - data_len - in read_partial_message()
2388 ret = read_partial_message_section(con, &m->front, front_len, in read_partial_message()
2426 m, front_len, m->footer.front_crc, middle_len, in read_partial_message()
2484 le32_to_cpu(msg->hdr.front_len), in process_message()
3004 BUG_ON(msg->front.iov_len != le32_to_cpu(msg->hdr.front_len)); in ceph_con_send()
3025 le32_to_cpu(msg->hdr.front_len), in ceph_con_send()
3106 unsigned int front_len = le32_to_cpu(con->in_hdr.front_len); in ceph_msg_revoke_incoming() local
3114 front_len - in ceph_msg_revoke_incoming()
3229 struct ceph_msg *ceph_msg_new(int type, int front_len, gfp_t flags, in ceph_msg_new() argument
3240 m->hdr.front_len = cpu_to_le32(front_len); in ceph_msg_new()
3247 if (front_len) { in ceph_msg_new()
3248 m->front.iov_base = ceph_kvmalloc(front_len, flags); in ceph_msg_new()
3251 front_len); in ceph_msg_new()
3257 m->front_alloc_len = m->front.iov_len = front_len; in ceph_msg_new()
3259 dout("ceph_msg_new %p front %d\n", m, front_len); in ceph_msg_new()
3267 front_len); in ceph_msg_new()
3271 front_len); in ceph_msg_new()