Lines Matching refs:aux
839 os_aux_t *aux; /* OnStream aux ptr */ member
1885 os_aux_t *aux; in idetape_end_request() local
1915 aux = stage->aux; in idetape_end_request()
1917 if (ntohl(aux->logical_blk_num) < 11300 && ntohl(aux->logical_blk_num) > 11100) in idetape_end_request()
1918 …printk(KERN_INFO "ide-tape: finished writing logical blk %u (data %x %x %x %x)\n", ntohl(aux->logi… in idetape_end_request()
3067 stage->aux = (os_aux_t *) (bh->b_data + bh->b_size - OS_AUX_SIZE); in __idetape_kmalloc_stage()
3167 tmp_aux = stage->aux; in idetape_switch_buffers()
3169 stage->aux = tape->merge_stage->aux; in idetape_switch_buffers()
3171 tape->merge_stage->aux = tmp_aux; in idetape_switch_buffers()
3207 os_aux_t *aux = stage->aux; in idetape_init_stage() local
3208 os_partition_t *par = &aux->partition; in idetape_init_stage()
3209 os_dat_t *dat = &aux->dat; in idetape_init_stage()
3213 memset(aux, 0, sizeof(*aux)); in idetape_init_stage()
3214 aux->format_id = htonl(0); in idetape_init_stage()
3215 memcpy(aux->application_sig, "LIN3", 4); in idetape_init_stage()
3216 aux->hdwr = htonl(0); in idetape_init_stage()
3217 aux->frame_type = frame_type; in idetape_init_stage()
3220 aux->update_frame_cntr = htonl(tape->update_frame_cntr); in idetape_init_stage()
3226 aux->frame_seq_num = htonl(0); in idetape_init_stage()
3227 aux->logical_blk_num_high = htonl(0); in idetape_init_stage()
3228 aux->logical_blk_num = htonl(0); in idetape_init_stage()
3229 aux->next_mark_addr = htonl(tape->first_mark_addr); in idetape_init_stage()
3231 aux->update_frame_cntr = htonl(0); in idetape_init_stage()
3237 aux->frame_seq_num = htonl(logical_blk_num); in idetape_init_stage()
3238 aux->logical_blk_num_high = htonl(0); in idetape_init_stage()
3239 aux->logical_blk_num = htonl(logical_blk_num); in idetape_init_stage()
3256 aux->filemark_cnt = ntohl(tape->filemark_cnt); in idetape_init_stage()
3258 aux->phys_fm = ntohl(0xffffffff); in idetape_init_stage()
3260 aux->last_mark_addr = ntohl(tape->last_mark_addr); in idetape_init_stage()
3681 os_aux_t *aux; in idetape_onstream_read_back_buffer() local
3688 logical_blk_num = ntohl(tape->first_stage->aux->logical_blk_num) - frames; in idetape_onstream_read_back_buffer()
3694 aux = stage->aux; in idetape_onstream_read_back_buffer()
3850 os_aux_t *aux = stage->aux; in idetape_verify_stage() local
3851 os_partition_t *par = &aux->partition; in idetape_verify_stage()
3878 if (ntohl(aux->format_id) != 0) { in idetape_verify_stage()
3881 tape->first_frame_position, ntohl(aux->format_id)); in idetape_verify_stage()
3884 if (memcmp(aux->application_sig, tape->application_sig, 4) != 0) { in idetape_verify_stage()
3890 if (aux->frame_type != OS_FRAME_TYPE_DATA && in idetape_verify_stage()
3891 aux->frame_type != OS_FRAME_TYPE_EOD && in idetape_verify_stage()
3892 aux->frame_type != OS_FRAME_TYPE_MARKER) { in idetape_verify_stage()
3895 tape->first_frame_position, aux->frame_type); in idetape_verify_stage()
3917 ntohl(aux->logical_blk_num)); in idetape_verify_stage()
3920 if (aux->frame_seq_num != aux->logical_blk_num) { in idetape_verify_stage()
3927 ntohl(aux->logical_blk_num) != logical_blk_num) { in idetape_verify_stage()
3932 ntohl(aux->logical_blk_num), logical_blk_num); in idetape_verify_stage()
3935 if (aux->frame_type == OS_FRAME_TYPE_MARKER) { in idetape_verify_stage()
4291 x = ntohl(tape->first_stage->aux->logical_blk_num); in idetape_get_logical_blk()
4302 tape->logical_blk_num = ntohl(tape->first_stage->aux->logical_blk_num); in idetape_get_logical_blk()
4349 tape->first_stage->aux->frame_type == OS_FRAME_TYPE_EOD) { in idetape_add_chrdev_read_request()
4552 last_mark_addr = ntohl(tape->first_stage->aux->last_mark_addr); in idetape_onstream_space_over_filemarks_backward()
4567 if (tape->first_stage->aux->frame_type != OS_FRAME_TYPE_MARKER) { in idetape_onstream_space_over_filemarks_backward()
4605 if (tape->first_stage->aux->frame_type == OS_FRAME_TYPE_MARKER) in idetape_onstream_space_over_filemarks_forward_slow()
4607 if (tape->first_stage->aux->frame_type == OS_FRAME_TYPE_EOD) { in idetape_onstream_space_over_filemarks_forward_slow()
4650 if (tape->first_stage->aux->frame_type == OS_FRAME_TYPE_MARKER) in idetape_onstream_space_over_filemarks_forward_fast()
4652 if (tape->first_stage->aux->frame_type == OS_FRAME_TYPE_EOD) { in idetape_onstream_space_over_filemarks_forward_fast()
4660 if (ntohl(tape->first_stage->aux->filemark_cnt) == 0) { in idetape_onstream_space_over_filemarks_forward_fast()
4672 if (tape->first_stage->aux->frame_type != OS_FRAME_TYPE_MARKER) { in idetape_onstream_space_over_filemarks_forward_fast()
4686 next_mark_addr = ntohl(tape->first_stage->aux->next_mark_addr); in idetape_onstream_space_over_filemarks_forward_fast()
4703 if (tape->first_stage->aux->frame_type != OS_FRAME_TYPE_MARKER) { in idetape_onstream_space_over_filemarks_forward_fast()
4925 os_aux_t *aux; in idetape_update_last_marker() local
4953 aux = stage->aux; in idetape_update_last_marker()
4954 if (aux->frame_type != OS_FRAME_TYPE_MARKER) { in idetape_update_last_marker()
4965 aux->next_mark_addr = htonl(next_mark_addr); in idetape_update_last_marker()
5429 if (tape->first_stage->aux->frame_type != OS_FRAME_TYPE_EOD) in idetape_mtioctop()
5582 if (tape->first_stage && tape->first_stage->aux->frame_type == OS_FRAME_TYPE_EOD) in idetape_chrdev_ioctl()
5612 os_aux_t *aux; in __idetape_analyze_headers() local
5638 aux = stage->aux; in __idetape_analyze_headers()
5650 tape->filemark_cnt = ntohl(aux->filemark_cnt); in __idetape_analyze_headers()
5651 tape->first_mark_addr = ntohl(aux->next_mark_addr); in __idetape_analyze_headers()
5652 tape->last_mark_addr = ntohl(aux->last_mark_addr); in __idetape_analyze_headers()
5653 tape->update_frame_cntr = ntohl(aux->update_frame_cntr); in __idetape_analyze_headers()
5654 memcpy(tape->application_sig, aux->application_sig, 4); in __idetape_analyze_headers()