Lines Matching refs:srbcmd
3054 struct aac_srb *srbcmd, *user_srb;
3087 srbcmd = (struct aac_srb *)fib->data;
3095 error = copyin(user_srb, srbcmd, fibsize);
3098 srbcmd->function = 0;
3099 srbcmd->retry_limit = 0;
3100 if (srbcmd->sg_map.SgCount > 1) {
3107 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry))) {
3110 sge = srbcmd->sg_map.SgEntry;
3121 srbcmd->sg_map.SgCount * sizeof(struct aac_sg_entry64))) {
3125 sge64 = (struct aac_sg_entry64 *)srbcmd->sg_map.SgEntry;
3144 srbcmd->data_len = srb_sg_bytecount;
3145 if (srbcmd->sg_map.SgCount == 1)
3148 cm->cm_sgtable = (struct aac_sg_table *)&srbcmd->sg_map;
3156 if (srbcmd->flags & AAC_SRB_FLAGS_DATA_IN)
3158 if (srbcmd->flags & AAC_SRB_FLAGS_DATA_OUT) {
3185 if (transfer_data && (srbcmd->flags & AAC_SRB_FLAGS_DATA_IN) != 0) {