Home
last modified time | relevance | path

Searched refs:middle_len (Results 1 – 5 of 5) sorted by relevance

/net/ceph/
Dmessenger_v2.c364 static int middle_len(const struct ceph_msg *msg) in middle_len() function
366 return le32_to_cpu(msg->hdr.middle_len); in middle_len()
412 static int __tail_onwire_len(int front_len, int middle_len, int data_len, in __tail_onwire_len() argument
416 middle_len < 0 || middle_len > CEPH_MSG_MAX_MIDDLE_LEN || in __tail_onwire_len()
419 if (!front_len && !middle_len && !data_len) in __tail_onwire_len()
423 return front_len + middle_len + data_len + in __tail_onwire_len()
426 return padded_len(front_len) + padded_len(middle_len) + in __tail_onwire_len()
432 return __tail_onwire_len(front_len(msg), middle_len(msg), in tail_onwire_len()
605 int front_len, int middle_len, int data_len, in fill_header() argument
614 hdr->middle_len = cpu_to_le32(middle_len); in fill_header()
[all …]
Dmessenger_v1.c218 le32_to_cpu(m->hdr.front_len), le32_to_cpu(m->hdr.middle_len), in prepare_write_message()
1153 unsigned int front_len, middle_len, data_len; in read_partial_message() local
1178 middle_len = le32_to_cpu(con->v1.in_hdr.middle_len); in read_partial_message()
1179 if (middle_len > CEPH_MSG_MAX_MIDDLE_LEN) in read_partial_message()
1192 con->v1.in_base_pos = -front_len - middle_len - data_len - in read_partial_message()
1217 con->v1.in_base_pos = -front_len - middle_len - in read_partial_message()
1246 middle_len, in read_partial_message()
1280 m, front_len, m->footer.front_crc, middle_len, in read_partial_message()
1593 unsigned int middle_len = le32_to_cpu(con->v1.in_hdr.middle_len); in ceph_con_v1_revoke_incoming() local
1600 middle_len - in ceph_con_v1_revoke_incoming()
Dmessenger.c1421 le32_to_cpu(msg->hdr.middle_len), in ceph_con_process_message()
1754 le32_to_cpu(msg->hdr.middle_len), in ceph_con_send()
2037 int middle_len = le32_to_cpu(msg->hdr.middle_len); in ceph_alloc_middle() local
2040 ceph_msg_type_name(type), middle_len); in ceph_alloc_middle()
2041 BUG_ON(!middle_len); in ceph_alloc_middle()
2044 msg->middle = ceph_buffer_new(middle_len, GFP_NOFS); in ceph_alloc_middle()
2068 int middle_len = le32_to_cpu(hdr->middle_len); in ceph_con_in_msg_alloc() local
2101 if (middle_len && !con->in_msg->middle) { in ceph_con_in_msg_alloc()
Dauth_x.c995 __le32 middle_len; in calc_signature() member
1009 sigblock->middle_len = msg->hdr.middle_len; in calc_signature()
Dosd_client.c2326 le32_to_cpu(msg->hdr.middle_len), le32_to_cpu(msg->hdr.data_len), in encode_request_finish()