• Home
  • Raw
  • Download

Lines Matching refs:b_data

476 		bp = (STp->buffer)->b_data;  in osst_do_scsi()
624 strcpy(STp->buffer->b_data, "READ ERROR ON FRAME"); in osst_verify_frame()
980 char * olddata = STp->buffer->b_data; in osst_recover_wait_frame()
1001 STp->buffer->b_data = mybuf; STp->buffer->buffer_size = 24; in osst_recover_wait_frame()
1008 retval = ( STp->buffer->syscall_result || (STp->buffer)->b_data[15] > 25 ); in osst_recover_wait_frame()
1009 STp->buffer->b_data = olddata; STp->buffer->buffer_size = oldsize; in osst_recover_wait_frame()
2162 (STp->buffer)->b_data[0] = cmd[4] - 1; in osst_set_retries()
2163 (STp->buffer)->b_data[1] = 0; /* Medium Type - ignoring */ in osst_set_retries()
2164 (STp->buffer)->b_data[2] = 0; /* Reserved */ in osst_set_retries()
2165 (STp->buffer)->b_data[3] = 0; /* Block Descriptor Length */ in osst_set_retries()
2166 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 0] = NUMBER_RETRIES_PAGE | (1 << 7); in osst_set_retries()
2167 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 1] = 2; in osst_set_retries()
2168 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 2] = 4; in osst_set_retries()
2169 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 3] = retries; in osst_set_retries()
2245 memcpy(STp->buffer->b_data, "Filler", 6); in osst_write_filler()
2400 header = (os_header_t *) STp->buffer->b_data; /* warning: only first segment addressable */ in __osst_analyze_headers()
2727 header = (osst_mode_parameter_header_t *) (STp->buffer)->b_data; in osst_configure_onstream()
2728 …bs = (osst_block_size_page_t *) ((STp->buffer)->b_data + sizeof(osst_mode_parameter_header_t) + he… in osst_configure_onstream()
2782 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 0] = VENDOR_IDENT_PAGE | (1 << 7); in osst_configure_onstream()
2783 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 1] = 6; in osst_configure_onstream()
2784 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 2] = 'L'; in osst_configure_onstream()
2785 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 3] = 'I'; in osst_configure_onstream()
2786 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 4] = 'N'; in osst_configure_onstream()
2787 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 5] = '4'; in osst_configure_onstream()
2788 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 6] = 0; in osst_configure_onstream()
2789 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 7] = 0; in osst_configure_onstream()
2796 (char *) ((STp->buffer)->b_data + MODE_HEADER_LENGTH + 2)); in osst_configure_onstream()
2814 header = (osst_mode_parameter_header_t *) (STp->buffer)->b_data; in osst_configure_onstream()
2815 cp = (osst_capabilities_page_t *) ((STp->buffer)->b_data + in osst_configure_onstream()
2834 header = (osst_mode_parameter_header_t *) (STp->buffer)->b_data; in osst_configure_onstream()
2835 prm = (osst_tape_paramtr_page_t *) ((STp->buffer)->b_data + in osst_configure_onstream()
2891 char * olddata = STp->buffer->b_data; in osst_get_frame_position()
2899 STp->buffer->b_data = mybuf; STp->buffer->buffer_size = 24; in osst_get_frame_position()
2903 STp->buffer->b_data = olddata; STp->buffer->buffer_size = oldsize; in osst_get_frame_position()
2919 STp->buffer->b_data = mybuf; STp->buffer->buffer_size = 24; in osst_get_frame_position()
2932 STp->first_frame_position = ((STp->buffer)->b_data[4] << 24) in osst_get_frame_position()
2933 + ((STp->buffer)->b_data[5] << 16) in osst_get_frame_position()
2934 + ((STp->buffer)->b_data[6] << 8) in osst_get_frame_position()
2935 + (STp->buffer)->b_data[7]; in osst_get_frame_position()
2936 STp->last_frame_position = ((STp->buffer)->b_data[ 8] << 24) in osst_get_frame_position()
2937 + ((STp->buffer)->b_data[ 9] << 16) in osst_get_frame_position()
2938 + ((STp->buffer)->b_data[10] << 8) in osst_get_frame_position()
2939 + (STp->buffer)->b_data[11]; in osst_get_frame_position()
2940 STp->cur_frames = (STp->buffer)->b_data[15]; in osst_get_frame_position()
2945 ((STp->buffer)->b_data[0]&0x80)?" (BOP)": in osst_get_frame_position()
2946 ((STp->buffer)->b_data[0]&0x40)?" (EOP)":"", in osst_get_frame_position()
2958 STp->buffer->b_data = olddata; STp->buffer->buffer_size = oldsize; in osst_get_frame_position()
4522 STp->buffer->b_data, page_address(STp->buffer->sg[0].page)); in __os_scsi_tape_open()
4624 STp->buffer->b_data[MODE_HEADER_LENGTH + 2] != 'L' || in __os_scsi_tape_open()
4625 STp->buffer->b_data[MODE_HEADER_LENGTH + 3] != 'I' || in __os_scsi_tape_open()
4626 STp->buffer->b_data[MODE_HEADER_LENGTH + 4] != 'N' || in __os_scsi_tape_open()
4627 STp->buffer->b_data[MODE_HEADER_LENGTH + 5] != '4' ) { in __os_scsi_tape_open()
4630 STp->buffer->b_data[MODE_HEADER_LENGTH + 2], in __os_scsi_tape_open()
4631 STp->buffer->b_data[MODE_HEADER_LENGTH + 3], in __os_scsi_tape_open()
4632 STp->buffer->b_data[MODE_HEADER_LENGTH + 4], in __os_scsi_tape_open()
4633 STp->buffer->b_data[MODE_HEADER_LENGTH + 5]); in __os_scsi_tape_open()
4672 (STp->buffer)->b_data[0] = cmd[4] - 1; in __os_scsi_tape_open()
4673 (STp->buffer)->b_data[1] = 0; /* Medium Type - ignoring */ in __os_scsi_tape_open()
4674 (STp->buffer)->b_data[2] = 0; /* Reserved */ in __os_scsi_tape_open()
4675 (STp->buffer)->b_data[3] = 0; /* Block Descriptor Length */ in __os_scsi_tape_open()
4676 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 0] = 0x3f; in __os_scsi_tape_open()
4677 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 1] = 1; in __os_scsi_tape_open()
4678 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 2] = 2; in __os_scsi_tape_open()
4679 (STp->buffer)->b_data[MODE_HEADER_LENGTH + 3] = 3; in __os_scsi_tape_open()
5359 STbuffer->b_data = page_address(page); in enlarge_buffer()
5390 got, STbuffer->orig_sg_segs, STbuffer->sg_segs, need_dma, STbuffer->b_data); in enlarge_buffer()
5419 STbuffer->b_data, STbuffer->buffer_size, STbuffer->sg_segs); in normalize_buffer()