Lines Matching refs:frame_seq_number
551 static void osst_init_aux(struct osst_tape * STp, int frame_type, int frame_seq_number,
598 aux->frame_seq_num = htonl(frame_seq_number);
613 static int osst_verify_frame(struct osst_tape * STp, int frame_seq_number, int quiet)
688 if (frame_seq_number != -1 && ntohl(aux->frame_seq_num) != frame_seq_number) {
692 name, ntohl(aux->frame_seq_num), frame_seq_number);
736 STp->frame_seq_number = ntohl(aux->frame_seq_num);
1139 int frame_seq_number, int quiet)
1152 if (frame_seq_number == -1 && STp->frame_in_buffer) {
1154 printk(OSST_DEB_MSG "%s:D: Frame %d still in buffer\n", name, STp->frame_seq_number);
1164 name, frame_seq_number);
1179 name, frame_seq_number, cnt);
1203 if (osst_verify_frame(STp, frame_seq_number, quiet))
1210 name, x, frame_seq_number);
1215 if (x > frame_seq_number) {
1222 + frame_seq_number - x - 1;
1230 name, x, frame_seq_number,
1260 name, frame_seq_number, STp->frame_seq_number, STps->eof);
1286 frame_seq_estimate = STp->frame_seq_number + move;
1317 name, retries, ppos_estimate, STp->frame_seq_number, frame_seq_estimate,
1330 name, ppos_estimate, STp->frame_seq_number, STp->frame_in_buffer,
1353 name, retries, ppos_estimate, STp->frame_seq_number, frame_seq_estimate,
1356 if (frame_seq_estimate != STp->frame_seq_number)
1357 ppos_estimate += frame_seq_estimate - STp->frame_seq_number;
1384 name, STp->first_frame_position, STp->frame_seq_number, STp->logical_blk_num,
1421 STp->frame_seq_number = STp->logical_blk_num = STps->drv_file = STps->drv_block = 0;
1437 STp->frame_seq_number++;
1456 name, STp->first_frame_position, STp->frame_seq_number, STp->logical_blk_num,
1478 int frame_seq_number = ntohl(STp->buffer->aux->frame_seq_num)
1498 name, frame_seq_number + nframes,
1523 name, frame_seq_number + i, p[0], p[1], p[2], p[3]);
1548 name, new_frame+i, frame_seq_number+i);
1567 osst_init_aux(STp, STp->buffer->aux->frame_type, frame_seq_number+i,
1579 name, new_frame+i, frame_seq_number+i, logical_blk_num + i*blks_per_frame,
1691 name, frame+skip, STp->frame_seq_number-STp->cur_frames-pending);
1716 name, STp->frame_seq_number-1, STp->first_frame_position);
1934 STp->frame_seq_number++;
1990 STp->frame_seq_number++;
2139 STp->frame_seq_number++;
2199 name, STp->filemark_cnt, this_mark_ppos, STp->frame_seq_number, this_mark_lbn);
2226 STp->eod_frame_ppos, STp->frame_seq_number, STp->logical_blk_num);
2232 STp->eod_frame_lfa = --(STp->frame_seq_number);
2367 STp->logical_blk_num = STp->frame_seq_number = 0;
2599 STp->ps[0].drv_file = STp->ps[0].drv_block = STp->frame_seq_number = STp->logical_blk_num = 0;
2610 int frame_seq_numbr = STp->frame_seq_number;
2637 frame_seq_numbr != STp->frame_seq_number + (halfway_frame?0:1) ||
2642 STp->frame_seq_number + (halfway_frame?0:1),
2655 STp->frame_seq_number = frame_seq_numbr;
3114 name, blks, STp->frame_seq_number,
3117 osst_init_aux(STp, OS_FRAME_TYPE_DATA, STp->frame_seq_number++,
3121 osst_init_aux(STp, OS_FRAME_TYPE_EOD, STp->frame_seq_number++,
3125 osst_init_aux(STp, OS_FRAME_TYPE_MARKER, STp->frame_seq_number++,
3288 STp->frame_seq_number, STp->logical_blk_num - blks, STp->logical_blk_num - 1);
3290 osst_init_aux(STp, OS_FRAME_TYPE_DATA, STp->frame_seq_number++,
3569 STp->logical_blk_num, STp->frame_seq_number, STp->first_frame_position);
3794 special = osst_get_logical_frame(STp, &SRpnt, STp->frame_seq_number, 0);
3838 name, STp->frame_seq_number);
3841 STp->frame_seq_number++; /* frame to look for next time */
4081 frame_seq_numbr = STp->frame_seq_number;
4346 STp->frame_seq_number = frame_seq_numbr;
4376 STp->frame_seq_number++;
4887 STps->drv_file = STps->drv_block = STp->frame_seq_number = STp->logical_blk_num = 0;
5076 STp->first_frame_position, STp->eod_frame_ppos, STp->frame_seq_number,
5087 STp->frame_seq_number, STp->logical_blk_num, STps->drv_file, STps->drv_block );