Searched refs:fd_seg_cnt (Results 1 – 2 of 2) sorted by relevance
472 desc->fd_seg_cnt = calc_segment_count(lens, len_cnt); in init_frame_desc()474 for (i = 0; i < desc->fd_seg_cnt; i++) { in init_frame_desc()494 ceph_encode_8(&p, desc->fd_seg_cnt); in encode_preamble()495 for (i = 0; i < desc->fd_seg_cnt; i++) { in encode_preamble()520 desc->fd_seg_cnt = ceph_decode_8(&p); in decode_preamble()521 if (desc->fd_seg_cnt < 1 || in decode_preamble()522 desc->fd_seg_cnt > CEPH_FRAME_MAX_SEGMENT_COUNT) { in decode_preamble()523 pr_err("bad segment count %d\n", desc->fd_seg_cnt); in decode_preamble()526 for (i = 0; i < desc->fd_seg_cnt; i++) { in decode_preamble()556 if (!desc->fd_lens[desc->fd_seg_cnt - 1]) { in decode_preamble()[all …]
384 int fd_seg_cnt; member