Lines Matching refs:MPT_DONE_Q
1234 MPT_DONE_Q *buffer; in flush_doneQ()
1260 Q_ADD_TAIL(&hd->freeQ.head, buffer, MPT_DONE_Q); in flush_doneQ()
1281 MPT_DONE_Q *buffer; in search_doneQ_for_cmd()
1298 Q_ADD_TAIL(&hd->freeQ.head, buffer, MPT_DONE_Q); in search_doneQ_for_cmd()
1301 } while ((buffer = buffer->forw) != (MPT_DONE_Q *) &hd->doneQ); in search_doneQ_for_cmd()
1338 MPT_DONE_Q *buffer; in mptscsih_flush_running_cmds()
1409 Q_ADD_TAIL(&hd->doneQ.head, buffer, MPT_DONE_Q); in mptscsih_flush_running_cmds()
1595 MPT_DONE_Q *freedoneQ; in mptscsih_detect()
1791 sz = sh->can_queue * sizeof(MPT_DONE_Q); in mptscsih_detect()
1801 Q_INIT(&hd->freeQ, MPT_DONE_Q); in mptscsih_detect()
1802 Q_INIT(&hd->doneQ, MPT_DONE_Q); in mptscsih_detect()
1803 Q_INIT(&hd->pendingQ, MPT_DONE_Q); in mptscsih_detect()
1808 freedoneQ = (MPT_DONE_Q *) mem; in mptscsih_detect()
1809 Q_ADD_TAIL(&hd->freeQ.head, freedoneQ, MPT_DONE_Q); in mptscsih_detect()
1810 mem += sizeof(MPT_DONE_Q); in mptscsih_detect()
2056 szQ = host->can_queue * sizeof(MPT_DONE_Q); in mptscsih_release()
2448 MPT_DONE_Q *buffer; in mptscsih_qcmd()
2663 Q_ADD_TAIL(&hd->pendingQ.head, buffer, MPT_DONE_Q); in mptscsih_qcmd()
2698 Q_ADD_TAIL(&hd->doneQ.head, buffer, MPT_DONE_Q); in mptscsih_qcmd()
4044 MPT_DONE_Q *buffer; in mptscsih_search_pendingQ()
4064 Q_ADD_TAIL(&hd->freeQ.head, buffer, MPT_DONE_Q); in mptscsih_search_pendingQ()
4068 } while ((buffer = buffer->forw) != (MPT_DONE_Q *) &hd->pendingQ); in mptscsih_search_pendingQ()
4083 MPT_DONE_Q *buffer; in post_pendingQ_commands()
4106 Q_ADD_TAIL(&hd->freeQ.head, buffer, MPT_DONE_Q); in post_pendingQ_commands()