user_srbcmd 469 drivers/scsi/aacraid/commctrl.c struct user_aac_srb *user_srbcmd = NULL; user_srbcmd 516 drivers/scsi/aacraid/commctrl.c user_srbcmd = kmalloc(fibsize, GFP_KERNEL); user_srbcmd 517 drivers/scsi/aacraid/commctrl.c if (!user_srbcmd) { user_srbcmd 522 drivers/scsi/aacraid/commctrl.c if(copy_from_user(user_srbcmd, user_srb,fibsize)){ user_srbcmd 528 drivers/scsi/aacraid/commctrl.c flags = user_srbcmd->flags; /* from user in cpu order */ user_srbcmd 542 drivers/scsi/aacraid/commctrl.c if (user_srbcmd->sg.count > ARRAY_SIZE(sg_list)) { user_srbcmd 544 drivers/scsi/aacraid/commctrl.c user_srbcmd->sg.count)); user_srbcmd 548 drivers/scsi/aacraid/commctrl.c if ((data_dir == DMA_NONE) && user_srbcmd->sg.count) { user_srbcmd 554 drivers/scsi/aacraid/commctrl.c ((user_srbcmd->sg.count & 0xff) * sizeof(struct sgentry)); user_srbcmd 555 drivers/scsi/aacraid/commctrl.c actual_fibsize64 = actual_fibsize + (user_srbcmd->sg.count & 0xff) * user_srbcmd 563 drivers/scsi/aacraid/commctrl.c actual_fibsize, actual_fibsize64, user_srbcmd->sg.count, user_srbcmd 570 drivers/scsi/aacraid/commctrl.c chn = user_srbcmd->channel; user_srbcmd 571 drivers/scsi/aacraid/commctrl.c if (chn < AAC_MAX_BUSES && user_srbcmd->id < AAC_MAX_TARGETS && user_srbcmd 572 drivers/scsi/aacraid/commctrl.c dev->hba_map[chn][user_srbcmd->id].devtype == user_srbcmd 591 drivers/scsi/aacraid/commctrl.c hbacmd->lun[1] = cpu_to_le32(user_srbcmd->lun); user_srbcmd 592 drivers/scsi/aacraid/commctrl.c hbacmd->it_nexus = dev->hba_map[chn][user_srbcmd->id].rmw_nexus; user_srbcmd 601 drivers/scsi/aacraid/commctrl.c memcpy(hbacmd->cdb, user_srbcmd->cdb, sizeof(hbacmd->cdb)); user_srbcmd 608 drivers/scsi/aacraid/commctrl.c cpu_to_le32(user_srbcmd->sg.count); user_srbcmd 610 drivers/scsi/aacraid/commctrl.c user_srbcmd->sg.count * sizeof(struct aac_hba_sgl); user_srbcmd 625 drivers/scsi/aacraid/commctrl.c srbcmd->channel = cpu_to_le32(user_srbcmd->channel); user_srbcmd 626 drivers/scsi/aacraid/commctrl.c srbcmd->id = cpu_to_le32(user_srbcmd->id); user_srbcmd 627 drivers/scsi/aacraid/commctrl.c srbcmd->lun = cpu_to_le32(user_srbcmd->lun); user_srbcmd 628 drivers/scsi/aacraid/commctrl.c srbcmd->timeout = cpu_to_le32(user_srbcmd->timeout); user_srbcmd 631 drivers/scsi/aacraid/commctrl.c srbcmd->cdb_size = cpu_to_le32(user_srbcmd->cdb_size); user_srbcmd 632 drivers/scsi/aacraid/commctrl.c memcpy(srbcmd->cdb, user_srbcmd->cdb, sizeof(srbcmd->cdb)); user_srbcmd 637 drivers/scsi/aacraid/commctrl.c struct user_sgmap *usg32 = &user_srbcmd->sg; user_srbcmd 639 drivers/scsi/aacraid/commctrl.c (struct user_sgmap64 *)&user_srbcmd->sg; user_srbcmd 699 drivers/scsi/aacraid/commctrl.c struct user_sgmap64* upsg = (struct user_sgmap64*)&user_srbcmd->sg; user_srbcmd 809 drivers/scsi/aacraid/commctrl.c if (user_srbcmd->sg.count) user_srbcmd 815 drivers/scsi/aacraid/commctrl.c struct user_sgmap* upsg = &user_srbcmd->sg; user_srbcmd 902 drivers/scsi/aacraid/commctrl.c if (user_srbcmd->sg.count) user_srbcmd 974 drivers/scsi/aacraid/commctrl.c kfree(user_srbcmd);