Lines Matching refs:srbcmd
2866 struct aac_srb *srbcmd; in aac_ioctl_send_raw_srb() local
2903 srbcmd = (struct aac_srb *)fib->data; in aac_ioctl_send_raw_srb()
2911 if ((error = copyin((void *)user_srb, srbcmd, fibsize)) != 0) in aac_ioctl_send_raw_srb()
2914 srbcmd->function = 0; /* SRBF_ExecuteScsi */ in aac_ioctl_send_raw_srb()
2915 srbcmd->retry_limit = 0; /* obsolete */ in aac_ioctl_send_raw_srb()
2918 if (srbcmd->sg_map.SgCount > 1) { in aac_ioctl_send_raw_srb()
2924 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry))) { in aac_ioctl_send_raw_srb()
2925 struct aac_sg_entry *sgp = srbcmd->sg_map.SgEntry; in aac_ioctl_send_raw_srb()
2934 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry64))) { in aac_ioctl_send_raw_srb()
2937 (struct aac_sg_entry64 *)srbcmd->sg_map.SgEntry; in aac_ioctl_send_raw_srb()
2954 srbcmd->data_len = srb_sg_bytecount; in aac_ioctl_send_raw_srb()
2955 if (srbcmd->sg_map.SgCount == 1) in aac_ioctl_send_raw_srb()
2985 if (srbcmd->flags & AAC_SRB_FLAGS_DATA_IN) in aac_ioctl_send_raw_srb()
2987 if (srbcmd->flags & AAC_SRB_FLAGS_DATA_OUT) in aac_ioctl_send_raw_srb()
2990 if (srbcmd->flags & AAC_SRB_FLAGS_DATA_OUT) { in aac_ioctl_send_raw_srb()
3014 cm->cm_sgtable = (struct aac_sg_table *)&srbcmd->sg_map; in aac_ioctl_send_raw_srb()
3016 aac_srb_tole(srbcmd); in aac_ioctl_send_raw_srb()
3035 if (transfer_data && (le32toh(srbcmd->flags) & AAC_SRB_FLAGS_DATA_IN)) { in aac_ioctl_send_raw_srb()