• Home
  • Raw
  • Download

Lines Matching refs:mt_count

1848 								 int mt_op, int mt_count)  in osst_space_over_filemarks_backward()  argument
1855 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()
1870 (cnt - mt_count) >= 0 && in osst_space_over_filemarks_backward()
1871 (cnt - mt_count) < OS_FM_TAB_MAX && in osst_space_over_filemarks_backward()
1872 (cnt - mt_count) < STp->filemark_cnt && in osst_space_over_filemarks_backward()
1875 last_mark_ppos = ntohl(STp->header_cache->dat_fm_tab.fm_tab_ent[cnt - mt_count]); in osst_space_over_filemarks_backward()
1877 if (STp->header_cache == NULL || (cnt - mt_count) < 0 || (cnt - mt_count) >= OS_FM_TAB_MAX) in osst_space_over_filemarks_backward()
1886 mt_count, last_mark_ppos); in osst_space_over_filemarks_backward()
1909 while (cnt != mt_count) { in osst_space_over_filemarks_backward()
1947 int mt_op, int mt_count) in osst_space_over_filemarks_forward_slow() argument
1953 …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()
1983 if (cnt == mt_count) in osst_space_over_filemarks_forward_slow()
2001 int mt_op, int mt_count) in osst_space_over_filemarks_forward_fast() argument
2008 …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()
2024 (cnt + mt_count) < OS_FM_TAB_MAX && in osst_space_over_filemarks_forward_fast()
2025 (cnt + mt_count) < STp->filemark_cnt && in osst_space_over_filemarks_forward_fast()
2029 next_mark_ppos = ntohl(STp->header_cache->dat_fm_tab.fm_tab_ent[cnt + mt_count]); in osst_space_over_filemarks_forward_fast()
2031 if (STp->header_cache == NULL || (cnt + mt_count) >= OS_FM_TAB_MAX) in osst_space_over_filemarks_forward_fast()
2040 mt_count, next_mark_ppos); in osst_space_over_filemarks_forward_fast()
2046 return osst_space_over_filemarks_forward_slow(STp, aSRpnt, mt_op, mt_count); in osst_space_over_filemarks_forward_fast()
2061 if (ntohl(STp->buffer->aux->filemark_cnt) != cnt + mt_count) { in osst_space_over_filemarks_forward_fast()
2063 name, cnt+mt_count, next_mark_ppos, in osst_space_over_filemarks_forward_fast()
2086 return osst_space_over_filemarks_forward_slow(STp, aSRpnt, mt_op, mt_count); in osst_space_over_filemarks_forward_fast()
2105 mt_count++; in osst_space_over_filemarks_forward_fast()
2109 while (cnt != mt_count) { in osst_space_over_filemarks_forward_fast()
2115 return osst_space_over_filemarks_forward_slow(STp, aSRpnt, mt_op, mt_count - cnt); in osst_space_over_filemarks_forward_fast()
5002 if (!STm->defined && (mtc.mt_op != MTSETDRVBUFFER && (mtc.mt_count & MT_ST_OPTIONS) == 0)) { in osst_ioctl()
5011 mtc.mt_count -= 1; in osst_ioctl()
5016 mtc.mt_count += 1; in osst_ioctl()
5100 (mtc.mt_count & MT_ST_OPTIONS) != 0) { in osst_ioctl()
5101 retval = osst_set_options(STp, mtc.mt_count); in osst_ioctl()
5106 if (mtc.mt_count >= STp->nbr_partitions) in osst_ioctl()
5109 STp->new_partition = mtc.mt_count; in osst_ioctl()
5139 i = osst_set_frame_position(STp, &SRpnt, mtc.mt_count, 0); in osst_ioctl()
5141 i = osst_seek_sector(STp, &SRpnt, mtc.mt_count); in osst_ioctl()
5161 retval = osst_int_ioctl(STp, &SRpnt, mtc.mt_op, mtc.mt_count); in osst_ioctl()