Lines Matching refs:segment
813 static int search_valid_segment(unsigned int segment,
1095 static int search_valid_segment(unsigned int segment, in search_valid_segment() argument
1108 while (segment <= end_seg) { in search_valid_segment()
1112 segment, end_seg); in search_valid_segment()
1113 seg_sz = zft_fetch_segment(segment, buf, FT_RD_AHEAD); in search_valid_segment()
1116 (tmp_info.foffs != 0 || segment == volume->start_seg)) { in search_valid_segment()
1126 pos->seg_pos = segment; in search_valid_segment()
1129 TRACE(ft_t_noise, "found segment at %d", segment); in search_valid_segment()
1132 segment++; in search_valid_segment()
1183 int segment; in compute_seg_pos() local
1204 segment = distance/(FT_SECTORS_PER_SEGMENT-FT_ECC_SECTORS); in compute_seg_pos()
1205 segment = (segment * factor)>>7; in compute_seg_pos()
1219 segment = distance/(FT_SECTORS_PER_SEGMENT-FT_ECC_SECTORS); in compute_seg_pos()
1222 TRACE_EXIT segment; in compute_seg_pos() local