Lines Matching refs:front
756 info->head = msg->front.iov_base; in parse_reply_info()
757 p = msg->front.iov_base + sizeof(struct ceph_mds_reply_head); in parse_reply_info()
758 end = p + msg->front.iov_len - sizeof(struct ceph_mds_reply_head); in parse_reply_info()
1453 h = msg->front.iov_base; in ceph_create_session_msg()
1592 p = msg->front.iov_base; in create_session_full_msg()
1593 end = p + msg->front.iov_len; in create_session_full_msg()
1650 msg->front.iov_len = p - msg->front.iov_base; in create_session_full_msg()
1651 msg->hdr.front_len = cpu_to_le32(msg->front.iov_len); in create_session_full_msg()
2337 head = msg->front.iov_base; in ceph_send_cap_releases()
2339 msg->front.iov_len = sizeof(*head); in ceph_send_cap_releases()
2350 head = msg->front.iov_base; in ceph_send_cap_releases()
2353 item = msg->front.iov_base + msg->front.iov_len; in ceph_send_cap_releases()
2358 msg->front.iov_len += sizeof(*item); in ceph_send_cap_releases()
2364 cap_barrier = msg->front.iov_base + msg->front.iov_len; in ceph_send_cap_releases()
2366 msg->front.iov_len += sizeof(*cap_barrier); in ceph_send_cap_releases()
2368 msg->hdr.front_len = cpu_to_le32(msg->front.iov_len); in ceph_send_cap_releases()
2384 cap_barrier = msg->front.iov_base + msg->front.iov_len; in ceph_send_cap_releases()
2386 msg->front.iov_len += sizeof(*cap_barrier); in ceph_send_cap_releases()
2388 msg->hdr.front_len = cpu_to_le32(msg->front.iov_len); in ceph_send_cap_releases()
3075 lhead = find_legacy_request_head(msg->front.iov_base, in create_request_message()
3108 p = msg->front.iov_base + sizeof(*lhead); in create_request_message()
3110 struct ceph_mds_request_head *nhead = msg->front.iov_base; in create_request_message()
3114 p = msg->front.iov_base + offsetofend(struct ceph_mds_request_head, args); in create_request_message()
3116 struct ceph_mds_request_head *nhead = msg->front.iov_base; in create_request_message()
3121 p = msg->front.iov_base + offsetofend(struct ceph_mds_request_head, ext_num_fwd); in create_request_message()
3123 struct ceph_mds_request_head *nhead = msg->front.iov_base; in create_request_message()
3143 p = msg->front.iov_base + sizeof(*nhead); in create_request_message()
3146 end = msg->front.iov_base + msg->front.iov_len; in create_request_message()
3161 req->r_request_release_offset = p - msg->front.iov_base; in create_request_message()
3194 p = msg->front.iov_base + req->r_request_release_offset; in create_request_message()
3207 msg->front.iov_len = p - msg->front.iov_base; in create_request_message()
3208 msg->hdr.front_len = cpu_to_le32(msg->front.iov_len); in create_request_message()
3305 lhead = find_legacy_request_head(msg->front.iov_base, in __prepare_send_request()
3317 nhead = (struct ceph_mds_request_head*)msg->front.iov_base; in __prepare_send_request()
3324 p = msg->front.iov_base + req->r_request_release_offset; in __prepare_send_request()
3327 msg->front.iov_len = p - msg->front.iov_base; in __prepare_send_request()
3328 msg->hdr.front_len = cpu_to_le32(msg->front.iov_len); in __prepare_send_request()
3343 lhead = find_legacy_request_head(msg->front.iov_base, in __prepare_send_request()
3356 nhead = (struct ceph_mds_request_head*)msg->front.iov_base; in __prepare_send_request()
3792 struct ceph_mds_reply_head *head = msg->front.iov_base; in handle_reply()
3800 if (msg->front.iov_len < sizeof(*head)) { in handle_reply()
4009 void *p = msg->front.iov_base; in handle_forward()
4010 void *end = p + msg->front.iov_len; in handle_forward()
4106 void *p = msg->front.iov_base; in handle_session()
4107 void *end = p + msg->front.iov_len; in handle_session()
4382 (int)msg->front.iov_len); in handle_session()
5190 struct ceph_mds_lease *h = msg->front.iov_base; in handle_lease()
5202 if (msg->front.iov_len < sizeof(*h) + sizeof(u32)) in handle_lease()
5208 if (msg->front.iov_len < sizeof(*h) + sizeof(u32) + dname.len) in handle_lease()
5306 lease = msg->front.iov_base; in ceph_mdsc_lease_send_msg()
6058 void *p = msg->front.iov_base; in ceph_mdsc_handle_fsmap()
6059 void *end = p + msg->front.iov_len; in ceph_mdsc_handle_fsmap()
6132 void *p = msg->front.iov_base; in ceph_mdsc_handle_mdsmap()
6133 void *end = p + msg->front.iov_len; in ceph_mdsc_handle_mdsmap()