Lines Matching refs:mrb
402 static struct mrb *qla4xxx_del_mrb_from_active_array(struct scsi_qla_host *ha, in qla4xxx_del_mrb_from_active_array()
405 struct mrb *mrb = NULL; in qla4xxx_del_mrb_from_active_array() local
409 return mrb; in qla4xxx_del_mrb_from_active_array()
411 mrb = ha->active_mrb_array[index]; in qla4xxx_del_mrb_from_active_array()
413 if (!mrb) in qla4xxx_del_mrb_from_active_array()
414 return mrb; in qla4xxx_del_mrb_from_active_array()
417 ha->iocb_cnt -= mrb->iocb_cnt; in qla4xxx_del_mrb_from_active_array()
419 return mrb; in qla4xxx_del_mrb_from_active_array()
425 struct mrb *mrb; in qla4xxx_mbox_status_entry() local
429 mrb = qla4xxx_del_mrb_from_active_array(ha, in qla4xxx_mbox_status_entry()
432 if (mrb == NULL) { in qla4xxx_mbox_status_entry()
438 switch (mrb->mbox_cmd) { in qla4xxx_mbox_status_entry()
442 __func__, mrb->mbox_cmd, in qla4xxx_mbox_status_entry()
453 qla4xxx_post_ping_evt_work(ha, status, mrb->pid, data_size, in qla4xxx_mbox_status_entry()
459 "0x%x\n", __func__, mrb->mbox_cmd)); in qla4xxx_mbox_status_entry()
462 kfree(mrb); in qla4xxx_mbox_status_entry()