• Home
  • Raw
  • Download

Lines Matching refs:ntohl

637 	if (ntohl(aux->format_id) != 0) {  in osst_verify_frame()
639 printk(OSST_DEB_MSG "%s:D: Skipping frame, format_id %u\n", name, ntohl(aux->format_id)); in osst_verify_frame()
688 if (frame_seq_number != -1 && ntohl(aux->frame_seq_num) != frame_seq_number) { in osst_verify_frame()
692 name, ntohl(aux->frame_seq_num), frame_seq_number); in osst_verify_frame()
700 i = ntohl(aux->filemark_cnt); in osst_verify_frame()
702 STp->first_frame_position - 1 != ntohl(STp->header_cache->dat_fm_tab.fm_tab_ent[i]))) { in osst_verify_frame()
719 blk_sz = ntohl(aux->dat.dat_list[0].blk_sz); in osst_verify_frame()
736 STp->frame_seq_number = ntohl(aux->frame_seq_num); in osst_verify_frame()
737 STp->logical_blk_num = ntohl(aux->logical_blk_num); in osst_verify_frame()
1087 ntohl(aux->update_frame_cntr), ntohs(aux->partition.wrt_pass_cntr), in osst_read_frame()
1090 ntohl(aux->frame_seq_num), ntohl(aux->logical_blk_num), in osst_read_frame()
1091 ntohs(aux->dat.dat_list[0].blk_cnt), ntohl(aux->dat.dat_list[0].blk_sz) ); in osst_read_frame()
1094 ntohl(aux->filemark_cnt), ntohl(aux->last_mark_ppos), ntohl(aux->last_mark_lbn)); in osst_read_frame()
1206 x = ntohl(STp->buffer->aux->frame_seq_num); in osst_get_logical_frame()
1334 STps->drv_file = ntohl(STp->buffer->aux->filemark_cnt); in osst_seek_logical_blk()
1339 STps->drv_block = ntohl(STp->buffer->aux->last_mark_lbn)? in osst_seek_logical_blk()
1341 (STps->drv_file ? ntohl(STp->buffer->aux->last_mark_lbn) + 1 : 0): in osst_seek_logical_blk()
1442 STps->drv_file = ntohl(STp->buffer->aux->filemark_cnt); in osst_seek_sector()
1447 STps->drv_block = ntohl(STp->buffer->aux->last_mark_lbn)? in osst_seek_sector()
1449 (STps->drv_file ? ntohl(STp->buffer->aux->last_mark_lbn) + 1 : 0): in osst_seek_sector()
1478 int frame_seq_number = ntohl(STp->buffer->aux->frame_seq_num) in osst_read_back_buffer_and_rewrite()
1480 int logical_blk_num = ntohl(STp->buffer->aux->logical_blk_num) in osst_read_back_buffer_and_rewrite()
1569 ntohl(STp->buffer->aux->dat.dat_list[0].blk_sz), blks_per_frame); in osst_read_back_buffer_and_rewrite()
1869 cnt = ntohl(STp->buffer->aux->filemark_cnt); in osst_space_over_filemarks_backward()
1877 last_mark_ppos = ntohl(STp->header_cache->dat_fm_tab.fm_tab_ent[cnt - mt_count]); in osst_space_over_filemarks_backward()
1885 ((cnt == -1 && ntohl(STp->buffer->aux->last_mark_ppos) == -1) || in osst_space_over_filemarks_backward()
1912 last_mark_ppos = ntohl(STp->buffer->aux->last_mark_ppos); in osst_space_over_filemarks_backward()
2023 cnt = ntohl(STp->buffer->aux->filemark_cnt) - 1; in osst_space_over_filemarks_forward_fast()
2028 ((cnt == -1 && ntohl(STp->buffer->aux->last_mark_ppos) == -1) || in osst_space_over_filemarks_forward_fast()
2031 next_mark_ppos = ntohl(STp->header_cache->dat_fm_tab.fm_tab_ent[cnt + mt_count]); in osst_space_over_filemarks_forward_fast()
2039 ((cnt == -1 && ntohl(STp->buffer->aux->last_mark_ppos) == -1) || 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()
2112 next_mark_ppos = ntohl(STp->buffer->aux->next_mark_ppos); in osst_space_over_filemarks_forward_fast()
2410 if (ntohl(aux->frame_seq_num) != 0 || in __osst_analyze_headers()
2411 ntohl(aux->logical_blk_num) != 0 || in __osst_analyze_headers()
2413 ntohl(aux->partition.first_frame_ppos) != 0 || in __osst_analyze_headers()
2414 ntohl(aux->partition.last_frame_ppos) != 0xbb7 ) { in __osst_analyze_headers()
2417 ntohl(aux->frame_seq_num), ntohl(aux->logical_blk_num), in __osst_analyze_headers()
2418 aux->partition.partition_num, ntohl(aux->partition.first_frame_ppos), in __osst_analyze_headers()
2419 ntohl(aux->partition.last_frame_ppos)); in __osst_analyze_headers()
2431 update_frame_cntr = ntohl(aux->update_frame_cntr); in __osst_analyze_headers()
2500 STp->first_data_ppos = ntohl(header->partition[0].first_frame_ppos); in __osst_analyze_headers()
2501 STp->eod_frame_ppos = ntohl(header->partition[0].eod_frame_ppos); in __osst_analyze_headers()
2502 STp->eod_frame_lfa = ntohl(header->ext_track_tb.dat_ext_trk_ey.last_hlb); in __osst_analyze_headers()
2503 STp->filemark_cnt = ntohl(aux->filemark_cnt); in __osst_analyze_headers()
2504 STp->first_mark_ppos = ntohl(aux->next_mark_ppos); in __osst_analyze_headers()
2505 STp->last_mark_ppos = ntohl(aux->last_mark_ppos); in __osst_analyze_headers()
2506 STp->last_mark_lbn = ntohl(aux->last_mark_lbn); in __osst_analyze_headers()
2513 ntohl(header->partition[0].last_frame_ppos), in __osst_analyze_headers()
2514 ntohl(header->partition[0].eod_frame_ppos)); in __osst_analyze_headers()
2630 if ((n=ntohl(STp->header_cache->dat_fm_tab.fm_tab_ent[i])) < frame_position) in osst_verify_position()
2635 frame_position - 1 : ntohl(STp->buffer->aux->last_mark_ppos); in osst_verify_position()
3497 ntohl(STp->header_cache->dat_fm_tab.fm_tab_ent[STp->filemark_cnt-1]); in osst_write()