Lines Matching refs:srbcmd
3055 struct aac_srb *srbcmd, *user_srb; in aac_ioctl_send_raw_srb() local
3088 srbcmd = (struct aac_srb *)fib->data; in aac_ioctl_send_raw_srb()
3096 error = copyin(user_srb, srbcmd, fibsize); in aac_ioctl_send_raw_srb()
3099 srbcmd->function = 0; in aac_ioctl_send_raw_srb()
3100 srbcmd->retry_limit = 0; in aac_ioctl_send_raw_srb()
3101 if (srbcmd->sg_map.SgCount > 1) { in aac_ioctl_send_raw_srb()
3108 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry))) { in aac_ioctl_send_raw_srb()
3111 sge = srbcmd->sg_map.SgEntry; in aac_ioctl_send_raw_srb()
3122 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry64))) { in aac_ioctl_send_raw_srb()
3126 sge64 = (struct aac_sg_entry64 *)srbcmd->sg_map.SgEntry; in aac_ioctl_send_raw_srb()
3145 srbcmd->data_len = srb_sg_bytecount; in aac_ioctl_send_raw_srb()
3146 if (srbcmd->sg_map.SgCount == 1) in aac_ioctl_send_raw_srb()
3149 cm->cm_sgtable = (struct aac_sg_table *)&srbcmd->sg_map; in aac_ioctl_send_raw_srb()
3157 if (srbcmd->flags & AAC_SRB_FLAGS_DATA_IN) in aac_ioctl_send_raw_srb()
3159 if (srbcmd->flags & AAC_SRB_FLAGS_DATA_OUT) { in aac_ioctl_send_raw_srb()
3186 if (transfer_data && (srbcmd->flags & AAC_SRB_FLAGS_DATA_IN) != 0) { in aac_ioctl_send_raw_srb()