Lines Matching refs:wq

712 		queue_work(phba->wq, &pbe_eq->mcc_work);  in be_isr_mcc()
792 queue_work(phba->wq, &pbe_eq->mcc_work); in be_isr()
1485 plist = &pasync_ctx->async_entry[cri].wq.list; in beiscsi_hdl_purge_handles()
1489 INIT_LIST_HEAD(&pasync_ctx->async_entry[cri].wq.list); in beiscsi_hdl_purge_handles()
1490 pasync_ctx->async_entry[cri].wq.hdr_len = 0; in beiscsi_hdl_purge_handles()
1491 pasync_ctx->async_entry[cri].wq.bytes_received = 0; in beiscsi_hdl_purge_handles()
1492 pasync_ctx->async_entry[cri].wq.bytes_needed = 0; in beiscsi_hdl_purge_handles()
1615 plist = &pasync_ctx->async_entry[cri].wq.list; in beiscsi_hdl_fwd_pdu()
1645 pasync_ctx->async_entry[cri].wq.hdr_len, in beiscsi_hdl_fwd_pdu()
1646 pasync_ctx->async_entry[cri].wq.bytes_needed, in beiscsi_hdl_fwd_pdu()
1647 pasync_ctx->async_entry[cri].wq.bytes_received); in beiscsi_hdl_fwd_pdu()
1663 struct cri_wait_queue *wq; in beiscsi_hdl_gather_pdu() local
1669 wq = &pasync_ctx->async_entry[cri].wq; in beiscsi_hdl_gather_pdu()
1672 if (wq->hdr_len) { in beiscsi_hdl_gather_pdu()
1682 wq->hdr_len = pasync_handle->buffer_len; in beiscsi_hdl_gather_pdu()
1683 wq->bytes_received = 0; in beiscsi_hdl_gather_pdu()
1684 wq->bytes_needed = bytes_needed; in beiscsi_hdl_gather_pdu()
1685 list_add_tail(&pasync_handle->link, &wq->list); in beiscsi_hdl_gather_pdu()
1691 if (!wq->hdr_len || !wq->bytes_needed) { in beiscsi_hdl_gather_pdu()
1695 wq->bytes_received += pasync_handle->buffer_len; in beiscsi_hdl_gather_pdu()
1697 if (wq->bytes_received > wq->bytes_needed) { in beiscsi_hdl_gather_pdu()
1701 list_add_tail(&pasync_handle->link, &wq->list); in beiscsi_hdl_gather_pdu()
1702 if (wq->bytes_received == wq->bytes_needed) in beiscsi_hdl_gather_pdu()
1713 wq->hdr_len, wq->bytes_needed, in beiscsi_hdl_gather_pdu()
2905 wq.list); in hwi_init_async_pdu_ctx()
5254 queue_delayed_work(phba->wq, &phba->recover_port, in beiscsi_hw_tpe_check()
5267 queue_work(phba->wq, &phba->sess_work); in beiscsi_hw_health_check()
5639 phba->wq = alloc_workqueue("%s", WQ_MEM_RECLAIM, 1, wq_name); in beiscsi_dev_probe()
5640 if (!phba->wq) { in beiscsi_dev_probe()
5718 destroy_workqueue(phba->wq); in beiscsi_dev_probe()
5763 destroy_workqueue(phba->wq); in beiscsi_remove()