Lines Matching refs:srbcmd
2864 struct aac_srb *srbcmd; in aac_ioctl_send_raw_srb() local
2901 srbcmd = (struct aac_srb *)fib->data; in aac_ioctl_send_raw_srb()
2909 if ((error = copyin((void *)user_srb, srbcmd, fibsize)) != 0) in aac_ioctl_send_raw_srb()
2912 srbcmd->function = 0; /* SRBF_ExecuteScsi */ in aac_ioctl_send_raw_srb()
2913 srbcmd->retry_limit = 0; /* obsolete */ in aac_ioctl_send_raw_srb()
2916 if (srbcmd->sg_map.SgCount > 1) { in aac_ioctl_send_raw_srb()
2922 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry))) { in aac_ioctl_send_raw_srb()
2923 struct aac_sg_entry *sgp = srbcmd->sg_map.SgEntry; in aac_ioctl_send_raw_srb()
2932 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry64))) { in aac_ioctl_send_raw_srb()
2935 (struct aac_sg_entry64 *)srbcmd->sg_map.SgEntry; in aac_ioctl_send_raw_srb()
2952 srbcmd->data_len = srb_sg_bytecount; in aac_ioctl_send_raw_srb()
2953 if (srbcmd->sg_map.SgCount == 1) in aac_ioctl_send_raw_srb()
2983 if (srbcmd->flags & AAC_SRB_FLAGS_DATA_IN) in aac_ioctl_send_raw_srb()
2985 if (srbcmd->flags & AAC_SRB_FLAGS_DATA_OUT) in aac_ioctl_send_raw_srb()
2988 if (srbcmd->flags & AAC_SRB_FLAGS_DATA_OUT) { in aac_ioctl_send_raw_srb()
3012 cm->cm_sgtable = (struct aac_sg_table *)&srbcmd->sg_map; in aac_ioctl_send_raw_srb()
3014 aac_srb_tole(srbcmd); in aac_ioctl_send_raw_srb()
3033 if (transfer_data && (le32toh(srbcmd->flags) & AAC_SRB_FLAGS_DATA_IN)) { in aac_ioctl_send_raw_srb()