• Home
  • Raw
  • Download

Lines Matching refs:mt_count

1772 								 int mt_op, int mt_count)  in osst_space_over_filemarks_backward()  argument
1779 printk(OSST_DEB_MSG "%s:D: Reached space_over_filemarks_backwards %d %d\n", name, mt_op, mt_count); in osst_space_over_filemarks_backward()
1794 (cnt - mt_count) >= 0 && in osst_space_over_filemarks_backward()
1795 (cnt - mt_count) < OS_FM_TAB_MAX && in osst_space_over_filemarks_backward()
1796 (cnt - mt_count) < STp->filemark_cnt && in osst_space_over_filemarks_backward()
1799 last_mark_ppos = ntohl(STp->header_cache->dat_fm_tab.fm_tab_ent[cnt - mt_count]); in osst_space_over_filemarks_backward()
1801 if (STp->header_cache == NULL || (cnt - mt_count) < 0 || (cnt - mt_count) >= OS_FM_TAB_MAX) in osst_space_over_filemarks_backward()
1810 mt_count, last_mark_ppos); in osst_space_over_filemarks_backward()
1833 while (cnt != mt_count) { in osst_space_over_filemarks_backward()
1871 int mt_op, int mt_count) in osst_space_over_filemarks_forward_slow() argument
1877 …ntk(OSST_DEB_MSG "%s:D: Reached space_over_filemarks_forward_slow %d %d\n", name, mt_op, mt_count); in osst_space_over_filemarks_forward_slow()
1907 if (cnt == mt_count) in osst_space_over_filemarks_forward_slow()
1925 int mt_op, int mt_count) in osst_space_over_filemarks_forward_fast() argument
1932 …ntk(OSST_DEB_MSG "%s:D: Reached space_over_filemarks_forward_fast %d %d\n", name, mt_op, mt_count); in osst_space_over_filemarks_forward_fast()
1948 (cnt + mt_count) < OS_FM_TAB_MAX && in osst_space_over_filemarks_forward_fast()
1949 (cnt + mt_count) < STp->filemark_cnt && in osst_space_over_filemarks_forward_fast()
1953 next_mark_ppos = ntohl(STp->header_cache->dat_fm_tab.fm_tab_ent[cnt + mt_count]); in osst_space_over_filemarks_forward_fast()
1955 if (STp->header_cache == NULL || (cnt + mt_count) >= OS_FM_TAB_MAX) in osst_space_over_filemarks_forward_fast()
1964 mt_count, next_mark_ppos); in osst_space_over_filemarks_forward_fast()
1970 return osst_space_over_filemarks_forward_slow(STp, aSRpnt, mt_op, mt_count); in osst_space_over_filemarks_forward_fast()
1985 if (ntohl(STp->buffer->aux->filemark_cnt) != cnt + mt_count) { in osst_space_over_filemarks_forward_fast()
1987 name, cnt+mt_count, next_mark_ppos, in osst_space_over_filemarks_forward_fast()
2010 return osst_space_over_filemarks_forward_slow(STp, aSRpnt, mt_op, mt_count); in osst_space_over_filemarks_forward_fast()
2029 mt_count++; in osst_space_over_filemarks_forward_fast()
2033 while (cnt != mt_count) { in osst_space_over_filemarks_forward_fast()
2039 return osst_space_over_filemarks_forward_slow(STp, aSRpnt, mt_op, mt_count - cnt); in osst_space_over_filemarks_forward_fast()
4921 if (!STm->defined && (mtc.mt_op != MTSETDRVBUFFER && (mtc.mt_count & MT_ST_OPTIONS) == 0)) { in osst_ioctl()
4930 mtc.mt_count -= 1; in osst_ioctl()
4935 mtc.mt_count += 1; in osst_ioctl()
5019 (mtc.mt_count & MT_ST_OPTIONS) != 0) { in osst_ioctl()
5020 retval = osst_set_options(STp, mtc.mt_count); in osst_ioctl()
5025 if (mtc.mt_count >= STp->nbr_partitions) in osst_ioctl()
5028 STp->new_partition = mtc.mt_count; in osst_ioctl()
5058 i = osst_set_frame_position(STp, &SRpnt, mtc.mt_count, 0); in osst_ioctl()
5060 i = osst_seek_sector(STp, &SRpnt, mtc.mt_count); in osst_ioctl()
5080 retval = osst_int_ioctl(STp, &SRpnt, mtc.mt_op, mtc.mt_count); in osst_ioctl()