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 WARN_ON(m->front.iov_len != le32_to_cpu(m->hdr.front_len)); in prepare_write_message()
2362 unsigned int front_len, middle_len, data_len; in read_partial_message() local
2384 front_len = le32_to_cpu(con->in_hdr.front_len); in read_partial_message()
2385 if (front_len > CEPH_MSG_MAX_FRONT_LEN) in read_partial_message()
2401 con->in_base_pos = -front_len - middle_len - data_len - in read_partial_message()
2417 front_len, data_len); in read_partial_message()
2426 con->in_base_pos = -front_len - middle_len - data_len - in read_partial_message()
2447 ret = read_partial_message_section(con, &m->front, front_len, in read_partial_message()
2481 m, front_len, m->footer.front_crc, middle_len, in read_partial_message()
2536 le32_to_cpu(msg->hdr.front_len), in process_message()
3094 BUG_ON(msg->front.iov_len != le32_to_cpu(msg->hdr.front_len)); in ceph_con_send()
3113 le32_to_cpu(msg->hdr.front_len), in ceph_con_send()
3187 unsigned int front_len = le32_to_cpu(con->in_hdr.front_len); in ceph_msg_revoke_incoming() local
3195 front_len - in ceph_msg_revoke_incoming()
3326 struct ceph_msg *ceph_msg_new2(int type, int front_len, int max_data_items, in ceph_msg_new2() argument
3337 m->hdr.front_len = cpu_to_le32(front_len); in ceph_msg_new2()
3343 if (front_len) { in ceph_msg_new2()
3344 m->front.iov_base = ceph_kvmalloc(front_len, flags); in ceph_msg_new2()
3347 front_len); in ceph_msg_new2()
3353 m->front_alloc_len = m->front.iov_len = front_len; in ceph_msg_new2()
3364 dout("ceph_msg_new %p front %d\n", m, front_len); in ceph_msg_new2()
3372 front_len); in ceph_msg_new2()
3376 front_len); in ceph_msg_new2()
3382 struct ceph_msg *ceph_msg_new(int type, int front_len, gfp_t flags, in ceph_msg_new() argument
3385 return ceph_msg_new2(type, front_len, 0, flags, can_fail); in ceph_msg_new()