Lines Matching refs:header_cache

558 		if (STp->header_cache != NULL && i < OS_FM_TAB_MAX && (i > STp->filemark_cnt ||  in osst_verify_frame()
559 STp->first_frame_position - 1 != ntohl(STp->header_cache->dat_fm_tab.fm_tab_ent[i]))) { in osst_verify_frame()
562 STp->header_cache->dat_fm_tab.fm_tab_ent[i] == 0?"Learned":"Corrected", in osst_verify_frame()
565 STp->header_cache->dat_fm_tab.fm_tab_ent[i] = htonl(STp->first_frame_position - 1); in osst_verify_frame()
1671 STp->header_cache != NULL && in osst_space_over_filemarks_backward()
1675 STp->header_cache->dat_fm_tab.fm_tab_ent[cnt-1] == STp->buffer->aux->last_mark_ppos) in osst_space_over_filemarks_backward()
1677 last_mark_ppos = ntohl(STp->header_cache->dat_fm_tab.fm_tab_ent[cnt - mt_count]); in osst_space_over_filemarks_backward()
1679 if (STp->header_cache == NULL || (cnt - mt_count) < 0 || (cnt - mt_count) >= OS_FM_TAB_MAX) in osst_space_over_filemarks_backward()
1681 STp->header_cache == NULL?"lack of header cache":"count out of range"); in osst_space_over_filemarks_backward()
1686 (STp->header_cache->dat_fm_tab.fm_tab_ent[cnt-1] == in osst_space_over_filemarks_backward()
1825 STp->header_cache != NULL && in osst_space_over_filemarks_forward_fast()
1829 (STp->header_cache->dat_fm_tab.fm_tab_ent[cnt] == STp->buffer->aux->last_mark_ppos))) in osst_space_over_filemarks_forward_fast()
1831 next_mark_ppos = ntohl(STp->header_cache->dat_fm_tab.fm_tab_ent[cnt + mt_count]); in osst_space_over_filemarks_forward_fast()
1833 if (STp->header_cache == NULL || (cnt + mt_count) >= OS_FM_TAB_MAX) in osst_space_over_filemarks_forward_fast()
1835 STp->header_cache == NULL?"lack of header cache":"count out of range"); in osst_space_over_filemarks_forward_fast()
1840 (STp->header_cache->dat_fm_tab.fm_tab_ent[cnt] == in osst_space_over_filemarks_forward_fast()
2006 if (STp->header_cache != NULL && STp->filemark_cnt < OS_FM_TAB_MAX) in osst_write_filemark()
2007 STp->header_cache->dat_fm_tab.fm_tab_ent[STp->filemark_cnt] = htonl(this_mark_ppos); in osst_write_filemark()
2073 osst_copy_to_buffer(STp->buffer, (unsigned char *)STp->header_cache); in __osst_write_header()
2099 if (STp->header_cache == NULL) { in osst_write_header()
2100 if ((STp->header_cache = (os_header_t *)vmalloc(sizeof(os_header_t))) == NULL) { in osst_write_header()
2104 memset(STp->header_cache, 0, sizeof(os_header_t)); in osst_write_header()
2112 header = STp->header_cache; in osst_write_header()
2164 if (STp->header_cache != NULL) in osst_reset_header()
2165 memset(STp->header_cache, 0, sizeof(os_header_t)); in osst_reset_header()
2288 if (STp->header_cache == NULL) { in __osst_analyze_headers()
2289 if ((STp->header_cache = (os_header_t *)vmalloc(sizeof(os_header_t))) == NULL) { in __osst_analyze_headers()
2297 osst_copy_from_buffer(STp->buffer, (unsigned char *)STp->header_cache); in __osst_analyze_headers()
2298 header = STp->header_cache; /* further accesses from cached (full) copy */ in __osst_analyze_headers()
2444 if ((n=ntohl(STp->header_cache->dat_fm_tab.fm_tab_ent[i])) < frame_position) in osst_verify_position()
3279 ntohl(STp->header_cache->dat_fm_tab.fm_tab_ent[STp->filemark_cnt-1]); in osst_write()
5556 STp->header_cache->major_rev, in osst_proc_read()
5557 STp->header_cache->minor_rev, in osst_proc_read()
5701 tpnt->header_cache = NULL; in osst_attach()
5839 if (tpnt->header_cache != NULL) {
5840 vfree(tpnt->header_cache);