Home
last modified time | relevance | path

Searched refs:real_buffer (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/scsi/
Dscsi_lib.c2090 unsigned char *real_buffer; in scsi_mode_select() local
2109 real_buffer = kmalloc(8 + len, GFP_KERNEL); in scsi_mode_select()
2110 if (!real_buffer) in scsi_mode_select()
2112 memcpy(real_buffer + 8, buffer, len); in scsi_mode_select()
2114 real_buffer[0] = 0; in scsi_mode_select()
2115 real_buffer[1] = 0; in scsi_mode_select()
2116 real_buffer[2] = data->medium_type; in scsi_mode_select()
2117 real_buffer[3] = data->device_specific; in scsi_mode_select()
2118 real_buffer[4] = data->longlba ? 0x01 : 0; in scsi_mode_select()
2119 real_buffer[5] = 0; in scsi_mode_select()
[all …]