Home
last modified time | relevance | path

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

/drivers/scsi/
Dscsi_lib.c2015 unsigned char *real_buffer; in scsi_mode_select() local
2024 real_buffer = kmalloc(8 + len, GFP_KERNEL); in scsi_mode_select()
2025 if (!real_buffer) in scsi_mode_select()
2027 memcpy(real_buffer + 8, buffer, len); in scsi_mode_select()
2029 real_buffer[0] = 0; in scsi_mode_select()
2030 real_buffer[1] = 0; in scsi_mode_select()
2031 real_buffer[2] = data->medium_type; in scsi_mode_select()
2032 real_buffer[3] = data->device_specific; in scsi_mode_select()
2033 real_buffer[4] = data->longlba ? 0x01 : 0; in scsi_mode_select()
2034 real_buffer[5] = 0; in scsi_mode_select()
[all …]
/drivers/block/
Dxd.c381 char **real_buffer; in xd_readwrite() local
407 real_buffer = &xd_dma_buffer; in xd_readwrite()
412 real_buffer = &buffer; in xd_readwrite()
416 …switch (xd_command(cmdblk,mode,(u_char *)(*real_buffer),(u_char *)(*real_buffer),sense,XD_TIMEOUT)… in xd_readwrite()