Searched refs:front_len (Results 1 – 5 of 5) sorted by relevance
/net/ceph/ |
D | msgpool.c | 17 msg = ceph_msg_new2(pool->type, pool->front_len, pool->max_data_items, in msgpool_alloc() 39 int front_len, int max_data_items, int size, in ceph_msgpool_init() argument 44 pool->front_len = front_len; in ceph_msgpool_init() 59 struct ceph_msg *ceph_msgpool_get(struct ceph_msgpool *pool, int front_len, in ceph_msgpool_get() argument 64 if (front_len > pool->front_len || in ceph_msgpool_get() 67 __func__, front_len, max_data_items, pool->name, in ceph_msgpool_get() 68 pool->front_len, pool->max_data_items); in ceph_msgpool_get() 72 return ceph_msg_new2(pool->type, front_len, max_data_items, in ceph_msgpool_get() 86 msg->front.iov_len = pool->front_len; in ceph_msgpool_put() 87 msg->hdr.front_len = cpu_to_le32(pool->front_len); in ceph_msgpool_put()
|
D | messenger.c | 1302 le32_to_cpu(m->hdr.front_len), le32_to_cpu(m->hdr.middle_len), in prepare_write_message() 1304 WARN_ON(m->front.iov_len != le32_to_cpu(m->hdr.front_len)); in prepare_write_message() 2371 unsigned int front_len, middle_len, data_len; in read_partial_message() local 2393 front_len = le32_to_cpu(con->in_hdr.front_len); in read_partial_message() 2394 if (front_len > CEPH_MSG_MAX_FRONT_LEN) in read_partial_message() 2410 con->in_base_pos = -front_len - middle_len - data_len - in read_partial_message() 2426 front_len, data_len); in read_partial_message() 2435 con->in_base_pos = -front_len - middle_len - data_len - in read_partial_message() 2456 ret = read_partial_message_section(con, &m->front, front_len, in read_partial_message() 2490 m, front_len, m->footer.front_crc, middle_len, in read_partial_message() [all …]
|
D | mon_client.c | 112 monc->m_auth->hdr.front_len = cpu_to_le32(len); in __send_prepared_auth_request() 304 msg->hdr.front_len = cpu_to_le32(msg->front.iov_len); in __send_subscribe() 1289 int front_len = le32_to_cpu(hdr->front_len); in mon_alloc_msg() local 1318 m = ceph_msg_new(type, front_len, GFP_NOFS, false); in mon_alloc_msg() 1327 } else if (front_len > m->front_alloc_len) { in mon_alloc_msg() 1329 front_len, m->front_alloc_len, in mon_alloc_msg() 1333 m = ceph_msg_new(type, front_len, GFP_NOFS, false); in mon_alloc_msg()
|
D | auth_x.c | 836 __le32 front_len; in calc_signature() member 850 sigblock->front_len = msg->hdr.front_len; in calc_signature()
|
D | osd_client.c | 2105 msg->hdr.front_len = cpu_to_le32(msg->front.iov_len); in encode_request_partial() 2202 msg->hdr.front_len = cpu_to_le32(msg->front.iov_len); in encode_request_finish() 2205 le64_to_cpu(msg->hdr.tid), le32_to_cpu(msg->hdr.front_len), in encode_request_finish() 4209 msg->hdr.front_len = cpu_to_le32(msg->front.iov_len); in create_backoff_message() 5449 int front_len = le32_to_cpu(hdr->front_len); in get_reply() local 5472 if (front_len > req->r_reply->front_alloc_len) { in get_reply() 5474 __func__, osd->o_osd, req->r_tid, front_len, in get_reply() 5476 m = ceph_msg_new(CEPH_MSG_OSD_OPREPLY, front_len, GFP_NOFS, in get_reply() 5510 u32 front_len = le32_to_cpu(hdr->front_len); in alloc_msg_with_page_vector() local 5513 m = ceph_msg_new2(type, front_len, 1, GFP_NOIO, false); in alloc_msg_with_page_vector()
|