Lines Matching refs:srbcmd
2819 struct aac_srb *srbcmd; in aac_ioctl_send_raw_srb() local
2856 srbcmd = (struct aac_srb *)fib->data; in aac_ioctl_send_raw_srb()
2864 if ((error = copyin((void *)user_srb, srbcmd, fibsize) != 0)) in aac_ioctl_send_raw_srb()
2867 srbcmd->function = 0; /* SRBF_ExecuteScsi */ in aac_ioctl_send_raw_srb()
2868 srbcmd->retry_limit = 0; /* obsolete */ in aac_ioctl_send_raw_srb()
2871 if (srbcmd->sg_map.SgCount > 1) { in aac_ioctl_send_raw_srb()
2877 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry))) { in aac_ioctl_send_raw_srb()
2878 struct aac_sg_entry *sgp = srbcmd->sg_map.SgEntry; in aac_ioctl_send_raw_srb()
2887 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry64))) { in aac_ioctl_send_raw_srb()
2890 (struct aac_sg_entry64 *)srbcmd->sg_map.SgEntry; in aac_ioctl_send_raw_srb()
2910 srbcmd->data_len = srb_sg_bytecount; in aac_ioctl_send_raw_srb()
2911 if (srbcmd->sg_map.SgCount == 1) in aac_ioctl_send_raw_srb()
2941 if (srbcmd->flags & AAC_SRB_FLAGS_DATA_IN) in aac_ioctl_send_raw_srb()
2943 if (srbcmd->flags & AAC_SRB_FLAGS_DATA_OUT) in aac_ioctl_send_raw_srb()
2946 if (srbcmd->flags & AAC_SRB_FLAGS_DATA_OUT) { in aac_ioctl_send_raw_srb()
2970 cm->cm_sgtable = (struct aac_sg_table *)&srbcmd->sg_map; in aac_ioctl_send_raw_srb()
2989 if (transfer_data && (srbcmd->flags & AAC_SRB_FLAGS_DATA_IN)) { in aac_ioctl_send_raw_srb()