Searched refs:srbcmd (Results 1 – 2 of 2) sorted by relevance
2865 struct aac_srb *srbcmd; in aac_ioctl_send_raw_srb() local2902 srbcmd = (struct aac_srb *)fib->data; in aac_ioctl_send_raw_srb()2910 if ((error = copyin((void *)user_srb, srbcmd, fibsize)) != 0) in aac_ioctl_send_raw_srb()2913 srbcmd->function = 0; /* SRBF_ExecuteScsi */ in aac_ioctl_send_raw_srb()2914 srbcmd->retry_limit = 0; /* obsolete */ in aac_ioctl_send_raw_srb()2917 if (srbcmd->sg_map.SgCount > 1) { in aac_ioctl_send_raw_srb()2923 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry))) { in aac_ioctl_send_raw_srb()2924 struct aac_sg_entry *sgp = srbcmd->sg_map.SgEntry; in aac_ioctl_send_raw_srb()2933 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry64))) { in aac_ioctl_send_raw_srb()2936 (struct aac_sg_entry64 *)srbcmd->sg_map.SgEntry; in aac_ioctl_send_raw_srb()[all …]
3049 struct aac_srb *srbcmd, *user_srb; in aac_ioctl_send_raw_srb() local3081 srbcmd = (struct aac_srb *)fib->data; in aac_ioctl_send_raw_srb()3089 error = copyin(user_srb, srbcmd, fibsize); in aac_ioctl_send_raw_srb()3092 srbcmd->function = 0; in aac_ioctl_send_raw_srb()3093 srbcmd->retry_limit = 0; in aac_ioctl_send_raw_srb()3094 if (srbcmd->sg_map.SgCount > 1) { in aac_ioctl_send_raw_srb()3101 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry))) { in aac_ioctl_send_raw_srb()3104 sge = srbcmd->sg_map.SgEntry; in aac_ioctl_send_raw_srb()3114 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry64))) { in aac_ioctl_send_raw_srb()3119 sge64 = (struct aac_sg_entry64 *)srbcmd->sg_map.SgEntry; in aac_ioctl_send_raw_srb()[all …]