Lines Matching refs:filemark_cnt

607 	aux->filemark_cnt = htonl(STp->filemark_cnt);  in osst_init_aux()
703 i = ntohl(aux->filemark_cnt); in osst_verify_frame()
704 if (STp->header_cache != NULL && i < OS_FM_TAB_MAX && (i > STp->filemark_cnt || in osst_verify_frame()
712 if (i >= STp->filemark_cnt) in osst_verify_frame()
713 STp->filemark_cnt = i+1; in osst_verify_frame()
1097 ntohl(aux->filemark_cnt), ntohl(aux->last_mark_ppos), ntohl(aux->last_mark_lbn)); in osst_read_frame()
1337 STps->drv_file = ntohl(STp->buffer->aux->filemark_cnt); in osst_seek_logical_blk()
1445 STps->drv_file = ntohl(STp->buffer->aux->filemark_cnt); in osst_seek_sector()
1872 cnt = ntohl(STp->buffer->aux->filemark_cnt); in osst_space_over_filemarks_backward()
1877 (cnt - mt_count) < STp->filemark_cnt && in osst_space_over_filemarks_backward()
2026 cnt = ntohl(STp->buffer->aux->filemark_cnt) - 1; in osst_space_over_filemarks_forward_fast()
2030 (cnt + mt_count) < STp->filemark_cnt && in osst_space_over_filemarks_forward_fast()
2066 if (ntohl(STp->buffer->aux->filemark_cnt) != cnt + mt_count) { in osst_space_over_filemarks_forward_fast()
2069 ntohl(STp->buffer->aux->filemark_cnt)); in osst_space_over_filemarks_forward_fast()
2086 if (ntohl(STp->buffer->aux->filemark_cnt) == 0) { in osst_space_over_filemarks_forward_fast()
2202 name, STp->filemark_cnt, this_mark_ppos, STp->frame_seq_number, this_mark_lbn); in osst_write_filemark()
2209 if (STp->header_cache != NULL && STp->filemark_cnt < OS_FM_TAB_MAX) in osst_write_filemark()
2210 STp->header_cache->dat_fm_tab.fm_tab_ent[STp->filemark_cnt] = htonl(this_mark_ppos); in osst_write_filemark()
2211 if (STp->filemark_cnt++ == 0) in osst_write_filemark()
2340 header->dat_fm_tab.fm_tab_ent_cnt = htons(STp->filemark_cnt<OS_FM_TAB_MAX? in osst_write_header()
2341 STp->filemark_cnt:OS_FM_TAB_MAX); in osst_write_header()
2373 STp->filemark_cnt = 0; in osst_reset_header()
2506 STp->filemark_cnt = ntohl(aux->filemark_cnt); in __osst_analyze_headers()
2513 name, STp->wrt_pass_cntr, STp->update_frame_cntr, STp->filemark_cnt); in __osst_analyze_headers()
2547 htons(STp->filemark_cnt<OS_FM_TAB_MAX?STp->filemark_cnt:OS_FM_TAB_MAX))) in __osst_analyze_headers()
2632 for (i=0; i<STp->filemark_cnt; i++) in osst_verify_position()
3484 STps->drv_file = STp->filemark_cnt; in osst_write()
3497 if ((STps->drv_file + STps->drv_block) > 0 && STps->drv_file < STp->filemark_cnt) { in osst_write()
3498 STp->filemark_cnt = STps->drv_file; in osst_write()
3500 ntohl(STp->header_cache->dat_fm_tab.fm_tab_ent[STp->filemark_cnt-1]); in osst_write()
3510 name, STp->filemark_cnt, STp->last_mark_ppos, STp->last_mark_lbn); in osst_write()
4272 fileno = STp->filemark_cnt; in osst_int_ioctl()
4412 STps->drv_file = STp->filemark_cnt; in osst_int_ioctl()
5766 l = snprintf(buf, PAGE_SIZE, "%d\n", STp->filemark_cnt); in osst_filemark_cnt_show()