Searched refs:front_len (Results 1 – 8 of 8) sorted by relevance
/linux-4.4.14/net/ceph/ |
D | msgpool.c | 15 msg = ceph_msg_new(pool->type, pool->front_len, gfp_mask, true); in msgpool_alloc() 36 int front_len, int size, bool blocking, const char *name) in ceph_msgpool_init() argument 40 pool->front_len = front_len; in ceph_msgpool_init() 55 int front_len) in ceph_msgpool_get() argument 59 if (front_len > pool->front_len) { in ceph_msgpool_get() 61 pool->name, front_len, pool->front_len); in ceph_msgpool_get() 65 return ceph_msg_new(pool->type, front_len, GFP_NOFS, false); in ceph_msgpool_get() 78 msg->front.iov_len = pool->front_len; in ceph_msgpool_put() 79 msg->hdr.front_len = cpu_to_le32(pool->front_len); in ceph_msgpool_put()
|
D | messenger.c | 1292 le32_to_cpu(m->hdr.front_len), le32_to_cpu(m->hdr.middle_len), in prepare_write_message() 1294 BUG_ON(le32_to_cpu(m->hdr.front_len) != m->front.iov_len); in prepare_write_message() 2308 unsigned int front_len, middle_len, data_len; in read_partial_message() local 2330 front_len = le32_to_cpu(con->in_hdr.front_len); in read_partial_message() 2331 if (front_len > CEPH_MSG_MAX_FRONT_LEN) in read_partial_message() 2347 con->in_base_pos = -front_len - middle_len - data_len - in read_partial_message() 2363 front_len, data_len); in read_partial_message() 2372 con->in_base_pos = -front_len - middle_len - data_len - in read_partial_message() 2393 ret = read_partial_message_section(con, &m->front, front_len, in read_partial_message() 2431 m, front_len, m->footer.front_crc, middle_len, in read_partial_message() [all …]
|
D | mon_client.c | 108 monc->m_auth->hdr.front_len = cpu_to_le32(len); in __send_prepared_auth_request() 239 msg->hdr.front_len = cpu_to_le32(msg->front.iov_len); in __send_subscribe() 1048 int front_len = le32_to_cpu(hdr->front_len); in mon_alloc_msg() local 1074 m = ceph_msg_new(type, front_len, GFP_NOFS, false); in mon_alloc_msg() 1083 } else if (front_len > m->front_alloc_len) { in mon_alloc_msg() 1085 front_len, m->front_alloc_len, in mon_alloc_msg() 1089 m = ceph_msg_new(type, front_len, GFP_NOFS, false); in mon_alloc_msg()
|
D | osd_client.c | 1943 (int)msg->front.iov_len, le32_to_cpu(msg->hdr.front_len)); in handle_reply() 2491 msg->hdr.front_len = cpu_to_le32(msg_size); in ceph_osdc_build_request() 2838 int front_len = le32_to_cpu(hdr->front_len); in get_reply() local 2855 if (front_len > req->r_reply->front_alloc_len) { in get_reply() 2857 __func__, osd->o_osd, req->r_tid, front_len, in get_reply() 2859 m = ceph_msg_new(CEPH_MSG_OSD_OPREPLY, front_len, GFP_NOFS, in get_reply() 2890 int front = le32_to_cpu(hdr->front_len); in alloc_msg()
|
/linux-4.4.14/include/linux/ceph/ |
D | msgpool.h | 15 int front_len; /* preallocated payload size */ member 19 int front_len, int size, bool blocking, 23 int front_len);
|
D | msgr.h | 132 __le32 front_len; /* bytes in main payload */ member 150 __le32 front_len; /* bytes in main payload */ member
|
D | messenger.h | 294 extern struct ceph_msg *ceph_msg_new(int type, int front_len, gfp_t flags,
|
/linux-4.4.14/fs/ceph/ |
D | mds_client.c | 1629 msg->hdr.front_len = cpu_to_le32(msg->front.iov_len); in ceph_send_cap_releases() 1644 msg->hdr.front_len = cpu_to_le32(msg->front.iov_len); in ceph_send_cap_releases() 2017 msg->hdr.front_len = cpu_to_le32(msg->front.iov_len); in create_request_message() 2109 msg->hdr.front_len = cpu_to_le32(msg->front.iov_len); in __prepare_send_request() 3929 int front_len = (int) le32_to_cpu(hdr->front_len); in mds_alloc_msg() local 3935 msg = ceph_msg_new(type, front_len, GFP_NOFS, false); in mds_alloc_msg() 3938 type, front_len); in mds_alloc_msg()
|