Lines Matching defs:srbcmd
2865 struct aac_srb *srbcmd;
2902 srbcmd = (struct aac_srb *)fib->data;
2910 if ((error = copyin((void *)user_srb, srbcmd, fibsize)) != 0)
2913 srbcmd->function = 0; /* SRBF_ExecuteScsi */
2914 srbcmd->retry_limit = 0; /* obsolete */
2917 if (srbcmd->sg_map.SgCount > 1) {
2923 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry))) {
2924 struct aac_sg_entry *sgp = srbcmd->sg_map.SgEntry;
2933 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry64))) {
2936 (struct aac_sg_entry64 *)srbcmd->sg_map.SgEntry;
2953 srbcmd->data_len = srb_sg_bytecount;
2954 if (srbcmd->sg_map.SgCount == 1)
2984 if (srbcmd->flags & AAC_SRB_FLAGS_DATA_IN)
2986 if (srbcmd->flags & AAC_SRB_FLAGS_DATA_OUT)
2989 if (srbcmd->flags & AAC_SRB_FLAGS_DATA_OUT) {
3013 cm->cm_sgtable = (struct aac_sg_table *)&srbcmd->sg_map;
3015 aac_srb_tole(srbcmd);
3034 if (transfer_data && (le32toh(srbcmd->flags) & AAC_SRB_FLAGS_DATA_IN)) {