Lines Matching refs:fd_lens

475 		desc->fd_lens[i] = lens[i];  in init_frame_desc()
496 ceph_encode_32(&p, desc->fd_lens[i]); in encode_preamble()
527 desc->fd_lens[i] = ceph_decode_32(&p); in decode_preamble()
531 if (desc->fd_lens[0] < 0 || in decode_preamble()
532 desc->fd_lens[0] > CEPH_MSG_MAX_CONTROL_LEN) { in decode_preamble()
533 pr_err("bad control segment length %d\n", desc->fd_lens[0]); in decode_preamble()
536 if (desc->fd_lens[1] < 0 || in decode_preamble()
537 desc->fd_lens[1] > CEPH_MSG_MAX_FRONT_LEN) { in decode_preamble()
538 pr_err("bad front segment length %d\n", desc->fd_lens[1]); in decode_preamble()
541 if (desc->fd_lens[2] < 0 || in decode_preamble()
542 desc->fd_lens[2] > CEPH_MSG_MAX_MIDDLE_LEN) { in decode_preamble()
543 pr_err("bad middle segment length %d\n", desc->fd_lens[2]); in decode_preamble()
546 if (desc->fd_lens[3] < 0 || in decode_preamble()
547 desc->fd_lens[3] > CEPH_MSG_MAX_DATA_LEN) { in decode_preamble()
548 pr_err("bad data segment length %d\n", desc->fd_lens[3]); in decode_preamble()
556 if (!desc->fd_lens[desc->fd_seg_cnt - 1]) { in decode_preamble()
641 int ctrl_len = con->v2.in_desc.fd_lens[0]; in verify_control_crc()
1070 int ctrl_len = con->v2.in_desc.fd_lens[0]; in decrypt_control_remainder()
1806 int ctrl_len = con->v2.in_desc.fd_lens[0]; in prepare_read_control()
1842 int ctrl_len = con->v2.in_desc.fd_lens[0]; in prepare_read_control_remainder()
2140 dout("%s con %p %d+%d+%d\n", __func__, con, desc->fd_lens[1], in prepare_skip_message()
2141 desc->fd_lens[2], desc->fd_lens[3]); in prepare_skip_message()
2143 tail_len = __tail_onwire_len(desc->fd_lens[1], desc->fd_lens[2], in prepare_skip_message()
2144 desc->fd_lens[3], con_secure(con)); in prepare_skip_message()
2886 fill_header(&hdr, hdr2, desc->fd_lens[1], desc->fd_lens[2], in process_message_header()
2887 desc->fd_lens[3], &con->peer_name); in process_message_header()
2921 void *end = p + con->v2.in_desc.fd_lens[0]; in __handle_control()
2983 con, desc->fd_tag, desc->fd_seg_cnt, desc->fd_lens[0], in handle_preamble()
2984 desc->fd_lens[1], desc->fd_lens[2], desc->fd_lens[3]); in handle_preamble()
2989 if (desc->fd_lens[0] > CEPH_PREAMBLE_INLINE_LEN) in handle_preamble()
2997 int ctrl_len = con->v2.in_desc.fd_lens[0]; in handle_control()