Searched refs:pktioctlfld (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/uts/intel/io/scsi/adapters/arcmsr/ |
H A D | arcmsr.c | 474 struct CMD_MESSAGE_FIELD *pktioctlfld; in arcmsr_cb_ioctl() local 488 pktioctlfld = kmem_zalloc(sizeof (struct CMD_MESSAGE_FIELD), KM_SLEEP); in arcmsr_cb_ioctl() 491 if (ddi_copyin((void *)arg, pktioctlfld, in arcmsr_cb_ioctl() 497 if (memcmp(pktioctlfld->cmdmessage.Signature, "ARCMSR", 6) != 0) { in arcmsr_cb_ioctl() 550 (void) memcpy(pktioctlfld->messagedatabuffer, in arcmsr_cb_ioctl() 552 pktioctlfld->cmdmessage.Length = allxfer_len; in arcmsr_cb_ioctl() 553 pktioctlfld->cmdmessage.ReturnCode = in arcmsr_cb_ioctl() 556 if (ddi_copyout(pktioctlfld, (void *)arg, in arcmsr_cb_ioctl() 574 user_len = min(pktioctlfld->cmdmessage.Length, in arcmsr_cb_ioctl() 577 pktioctlfld->messagedatabuffer, user_len); in arcmsr_cb_ioctl() [all …]
|