Lines Matching refs:filemark_cnt
604 aux->filemark_cnt = htonl(STp->filemark_cnt); in osst_init_aux()
700 i = ntohl(aux->filemark_cnt); in osst_verify_frame()
701 if (STp->header_cache != NULL && i < OS_FM_TAB_MAX && (i > STp->filemark_cnt || in osst_verify_frame()
709 if (i >= STp->filemark_cnt) in osst_verify_frame()
710 STp->filemark_cnt = i+1; in osst_verify_frame()
1094 ntohl(aux->filemark_cnt), ntohl(aux->last_mark_ppos), ntohl(aux->last_mark_lbn)); in osst_read_frame()
1334 STps->drv_file = ntohl(STp->buffer->aux->filemark_cnt); in osst_seek_logical_blk()
1442 STps->drv_file = ntohl(STp->buffer->aux->filemark_cnt); in osst_seek_sector()
1869 cnt = ntohl(STp->buffer->aux->filemark_cnt); in osst_space_over_filemarks_backward()
1874 (cnt - mt_count) < STp->filemark_cnt && in osst_space_over_filemarks_backward()
2023 cnt = ntohl(STp->buffer->aux->filemark_cnt) - 1; in osst_space_over_filemarks_forward_fast()
2027 (cnt + mt_count) < STp->filemark_cnt && in osst_space_over_filemarks_forward_fast()
2063 if (ntohl(STp->buffer->aux->filemark_cnt) != cnt + mt_count) { in osst_space_over_filemarks_forward_fast()
2066 ntohl(STp->buffer->aux->filemark_cnt)); in osst_space_over_filemarks_forward_fast()
2083 if (ntohl(STp->buffer->aux->filemark_cnt) == 0) { in osst_space_over_filemarks_forward_fast()
2199 name, STp->filemark_cnt, this_mark_ppos, STp->frame_seq_number, this_mark_lbn); in osst_write_filemark()
2206 if (STp->header_cache != NULL && STp->filemark_cnt < OS_FM_TAB_MAX) in osst_write_filemark()
2207 STp->header_cache->dat_fm_tab.fm_tab_ent[STp->filemark_cnt] = htonl(this_mark_ppos); in osst_write_filemark()
2208 if (STp->filemark_cnt++ == 0) in osst_write_filemark()
2337 header->dat_fm_tab.fm_tab_ent_cnt = htons(STp->filemark_cnt<OS_FM_TAB_MAX? in osst_write_header()
2338 STp->filemark_cnt:OS_FM_TAB_MAX); in osst_write_header()
2370 STp->filemark_cnt = 0; in osst_reset_header()
2503 STp->filemark_cnt = ntohl(aux->filemark_cnt); in __osst_analyze_headers()
2510 name, STp->wrt_pass_cntr, STp->update_frame_cntr, STp->filemark_cnt); in __osst_analyze_headers()
2544 htons(STp->filemark_cnt<OS_FM_TAB_MAX?STp->filemark_cnt:OS_FM_TAB_MAX))) in __osst_analyze_headers()
2629 for (i=0; i<STp->filemark_cnt; i++) in osst_verify_position()
3481 STps->drv_file = STp->filemark_cnt; in osst_write()
3494 if ((STps->drv_file + STps->drv_block) > 0 && STps->drv_file < STp->filemark_cnt) { in osst_write()
3495 STp->filemark_cnt = STps->drv_file; in osst_write()
3497 ntohl(STp->header_cache->dat_fm_tab.fm_tab_ent[STp->filemark_cnt-1]); in osst_write()
3507 name, STp->filemark_cnt, STp->last_mark_ppos, STp->last_mark_lbn); in osst_write()
4269 fileno = STp->filemark_cnt; in osst_int_ioctl()
4409 STps->drv_file = STp->filemark_cnt; in osst_int_ioctl()
5763 l = snprintf(buf, PAGE_SIZE, "%d\n", STp->filemark_cnt); in osst_filemark_cnt_show()