Lines Matching refs:srbcmd
3052 struct aac_srb *srbcmd, *user_srb; in aac_ioctl_send_raw_srb() local
3084 srbcmd = (struct aac_srb *)fib->data; in aac_ioctl_send_raw_srb()
3092 error = copyin(user_srb, srbcmd, fibsize); in aac_ioctl_send_raw_srb()
3095 srbcmd->function = 0; in aac_ioctl_send_raw_srb()
3096 srbcmd->retry_limit = 0; in aac_ioctl_send_raw_srb()
3097 if (srbcmd->sg_map.SgCount > 1) { in aac_ioctl_send_raw_srb()
3104 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry))) { in aac_ioctl_send_raw_srb()
3107 sge = srbcmd->sg_map.SgEntry; in aac_ioctl_send_raw_srb()
3117 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry64))) { in aac_ioctl_send_raw_srb()
3122 sge64 = (struct aac_sg_entry64 *)srbcmd->sg_map.SgEntry; in aac_ioctl_send_raw_srb()
3141 srbcmd->data_len = srb_sg_bytecount; in aac_ioctl_send_raw_srb()
3142 if (srbcmd->sg_map.SgCount == 1) in aac_ioctl_send_raw_srb()
3145 cm->cm_sgtable = (struct aac_sg_table *)&srbcmd->sg_map; in aac_ioctl_send_raw_srb()
3153 if (srbcmd->flags & AAC_SRB_FLAGS_DATA_IN) in aac_ioctl_send_raw_srb()
3155 if (srbcmd->flags & AAC_SRB_FLAGS_DATA_OUT) { in aac_ioctl_send_raw_srb()
3182 if (transfer_data && (srbcmd->flags & AAC_SRB_FLAGS_DATA_IN) != 0) { in aac_ioctl_send_raw_srb()