Searched refs:middle_len (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/net/ceph/ |
D | messenger_v2.c | 364 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 …]
|
D | messenger_v1.c | 218 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()
|
D | messenger.c | 1349 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()
|
D | auth_x.c | 995 __le32 middle_len; in calc_signature() member 1009 sigblock->middle_len = msg->hdr.middle_len; in calc_signature()
|
D | osd_client.c | 2245 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/ |
D | msgr.h | 162 __le32 middle_len;/* bytes in middle payload */ member 180 __le32 middle_len;/* bytes in middle payload */ member
|
/linux-6.1.9/fs/ceph/ |
D | caps.c | 1274 msg->hdr.middle_len = cpu_to_le32(arg->xattr_buf->vec.iov_len); in encode_cap_msg()
|