Home
last modified time | relevance | path

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

/net/ceph/
Dmessenger_v2.c363 static int middle_len(const struct ceph_msg *msg) in middle_len() function
365 return le32_to_cpu(msg->hdr.middle_len); in middle_len()
411 static int __tail_onwire_len(int front_len, int middle_len, int data_len, in __tail_onwire_len() argument
415 middle_len < 0 || middle_len > CEPH_MSG_MAX_MIDDLE_LEN || in __tail_onwire_len()
418 if (!front_len && !middle_len && !data_len) in __tail_onwire_len()
422 return front_len + middle_len + data_len + in __tail_onwire_len()
425 return padded_len(front_len) + padded_len(middle_len) + in __tail_onwire_len()
431 return __tail_onwire_len(front_len(msg), middle_len(msg), in tail_onwire_len()
604 int front_len, int middle_len, int data_len, in fill_header() argument
613 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()
1043 unsigned int front_len, middle_len, data_len; in read_partial_message() local
1068 middle_len = le32_to_cpu(con->v1.in_hdr.middle_len); in read_partial_message()
1069 if (middle_len > CEPH_MSG_MAX_MIDDLE_LEN) in read_partial_message()
1082 con->v1.in_base_pos = -front_len - middle_len - data_len - in read_partial_message()
1107 con->v1.in_base_pos = -front_len - middle_len - in read_partial_message()
1136 middle_len, in read_partial_message()
1162 m, front_len, m->footer.front_crc, middle_len, in read_partial_message()
1475 unsigned int middle_len = le32_to_cpu(con->v1.in_hdr.middle_len); in ceph_con_v1_revoke_incoming() local
1482 middle_len - in ceph_con_v1_revoke_incoming()
Dmessenger.c1375 le32_to_cpu(msg->hdr.middle_len), in ceph_con_process_message()
1708 le32_to_cpu(msg->hdr.middle_len), in ceph_con_send()
1979 int middle_len = le32_to_cpu(msg->hdr.middle_len); in ceph_alloc_middle() local
1982 ceph_msg_type_name(type), middle_len); in ceph_alloc_middle()
1983 BUG_ON(!middle_len); in ceph_alloc_middle()
1986 msg->middle = ceph_buffer_new(middle_len, GFP_NOFS); in ceph_alloc_middle()
2010 int middle_len = le32_to_cpu(hdr->middle_len); in ceph_con_in_msg_alloc() local
2043 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.c2245 le32_to_cpu(msg->hdr.middle_len), le32_to_cpu(msg->hdr.data_len), in encode_request_finish()