Searched refs:real_buffer (Results 1 – 1 of 1) sorted by relevance
1871 unsigned char *real_buffer; in scsi_mode_select() local1880 real_buffer = kmalloc(8 + len, GFP_KERNEL); in scsi_mode_select()1881 if (!real_buffer) in scsi_mode_select()1883 memcpy(real_buffer + 8, buffer, len); in scsi_mode_select()1885 real_buffer[0] = 0; in scsi_mode_select()1886 real_buffer[1] = 0; in scsi_mode_select()1887 real_buffer[2] = data->medium_type; in scsi_mode_select()1888 real_buffer[3] = data->device_specific; in scsi_mode_select()1889 real_buffer[4] = data->longlba ? 0x01 : 0; in scsi_mode_select()1890 real_buffer[5] = 0; in scsi_mode_select()[all …]