TW_Ioctl_Buf_Apache  647 drivers/scsi/3w-9xxx.c 	TW_Ioctl_Buf_Apache *tw_ioctl;
TW_Ioctl_Buf_Apache  679 drivers/scsi/3w-9xxx.c 	cpu_addr = dma_alloc_coherent(&tw_dev->tw_pci_dev->dev, data_buffer_length_adjusted+sizeof(TW_Ioctl_Buf_Apache) - 1, &dma_handle, GFP_KERNEL);
TW_Ioctl_Buf_Apache  685 drivers/scsi/3w-9xxx.c 	tw_ioctl = (TW_Ioctl_Buf_Apache *)cpu_addr;
TW_Ioctl_Buf_Apache  688 drivers/scsi/3w-9xxx.c 	if (copy_from_user(tw_ioctl, argp, driver_command.buffer_length + sizeof(TW_Ioctl_Buf_Apache) - 1))
TW_Ioctl_Buf_Apache  870 drivers/scsi/3w-9xxx.c 	if (copy_to_user(argp, tw_ioctl, sizeof(TW_Ioctl_Buf_Apache) + driver_command.buffer_length - 1) == 0)
TW_Ioctl_Buf_Apache  874 drivers/scsi/3w-9xxx.c 	dma_free_coherent(&tw_dev->tw_pci_dev->dev, data_buffer_length_adjusted+sizeof(TW_Ioctl_Buf_Apache) - 1, cpu_addr, dma_handle);
TW_Ioctl_Buf_Apache 1395 drivers/scsi/3w-9xxx.c 			newcommand->sg_list[0].address = TW_CPU_TO_SGL(dma_handle + sizeof(TW_Ioctl_Buf_Apache) - 1);
TW_Ioctl_Buf_Apache 1410 drivers/scsi/3w-9xxx.c 			sgl->address = TW_CPU_TO_SGL(dma_handle + sizeof(TW_Ioctl_Buf_Apache) - 1);
TW_Ioctl_Buf_Apache  694 drivers/scsi/3w-sas.c 			newcommand->sg_list[0].address = TW_CPU_TO_SGL(dma_handle + sizeof(TW_Ioctl_Buf_Apache) - 1);
TW_Ioctl_Buf_Apache  706 drivers/scsi/3w-sas.c 			sgl->address = TW_CPU_TO_SGL(dma_handle + sizeof(TW_Ioctl_Buf_Apache) - 1);
TW_Ioctl_Buf_Apache  724 drivers/scsi/3w-sas.c 	TW_Ioctl_Buf_Apache *tw_ioctl;
TW_Ioctl_Buf_Apache  752 drivers/scsi/3w-sas.c 	cpu_addr = dma_alloc_coherent(&tw_dev->tw_pci_dev->dev, data_buffer_length_adjusted+sizeof(TW_Ioctl_Buf_Apache) - 1, &dma_handle, GFP_KERNEL);
TW_Ioctl_Buf_Apache  758 drivers/scsi/3w-sas.c 	tw_ioctl = (TW_Ioctl_Buf_Apache *)cpu_addr;
TW_Ioctl_Buf_Apache  761 drivers/scsi/3w-sas.c 	if (copy_from_user(tw_ioctl, argp, driver_command.buffer_length + sizeof(TW_Ioctl_Buf_Apache) - 1))
TW_Ioctl_Buf_Apache  819 drivers/scsi/3w-sas.c 	if (copy_to_user(argp, tw_ioctl, sizeof(TW_Ioctl_Buf_Apache) + driver_command.buffer_length - 1) == 0)
TW_Ioctl_Buf_Apache  823 drivers/scsi/3w-sas.c 	dma_free_coherent(&tw_dev->tw_pci_dev->dev, data_buffer_length_adjusted+sizeof(TW_Ioctl_Buf_Apache) - 1, cpu_addr, dma_handle);