Home
last modified time | relevance | path

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

/linux-6.1.9/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()
410 static int __tail_onwire_len(int front_len, int middle_len, int data_len, in __tail_onwire_len() argument
413 if (!front_len && !middle_len && !data_len) in __tail_onwire_len()
417 return front_len + middle_len + data_len + in __tail_onwire_len()
420 return padded_len(front_len) + padded_len(middle_len) + in __tail_onwire_len()
426 return __tail_onwire_len(front_len(msg), middle_len(msg), in tail_onwire_len()
594 int front_len, int middle_len, int data_len, in fill_header() argument
603 hdr->middle_len = cpu_to_le32(middle_len); in fill_header()
654 WARN_ON(!middle_len(con->in_msg) && !data_len(con->in_msg)); in verify_epilogue_crcs()
[all …]
Dmessenger_v1.c218 le32_to_cpu(m->hdr.front_len), le32_to_cpu(m->hdr.middle_len), in prepare_write_message()
1079 unsigned int front_len, middle_len, data_len; in read_partial_message() local
1104 middle_len = le32_to_cpu(con->v1.in_hdr.middle_len); in read_partial_message()
1105 if (middle_len > CEPH_MSG_MAX_MIDDLE_LEN) in read_partial_message()
1118 con->v1.in_base_pos = -front_len - middle_len - data_len - in read_partial_message()
1143 con->v1.in_base_pos = -front_len - middle_len - in read_partial_message()
1172 middle_len, in read_partial_message()
1204 m, front_len, m->footer.front_crc, middle_len, in read_partial_message()
1517 unsigned int middle_len = le32_to_cpu(con->v1.in_hdr.middle_len); in ceph_con_v1_revoke_incoming() local
1524 middle_len - in ceph_con_v1_revoke_incoming()
Dmessenger.c1349 le32_to_cpu(msg->hdr.middle_len), in ceph_con_process_message()
1682 le32_to_cpu(msg->hdr.middle_len), in ceph_con_send()
1953 int middle_len = le32_to_cpu(msg->hdr.middle_len); in ceph_alloc_middle() local
1956 ceph_msg_type_name(type), middle_len); in ceph_alloc_middle()
1957 BUG_ON(!middle_len); in ceph_alloc_middle()
1960 msg->middle = ceph_buffer_new(middle_len, GFP_NOFS); in ceph_alloc_middle()
1984 int middle_len = le32_to_cpu(hdr->middle_len); in ceph_con_in_msg_alloc() local
2017 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()
/linux-6.1.9/include/linux/ceph/
Dmsgr.h162 __le32 middle_len;/* bytes in middle payload */ member
180 __le32 middle_len;/* bytes in middle payload */ member
/linux-6.1.9/fs/ceph/
Dcaps.c1274 msg->hdr.middle_len = cpu_to_le32(arg->xattr_buf->vec.iov_len); in encode_cap_msg()