Lines Matching refs:qe
435 list_add_tail(&fcxp->qe, &mod->fcxp_req_free_q); in claim_fcxps_mem()
438 list_add_tail(&fcxp->qe, &mod->fcxp_rsp_free_q); in claim_fcxps_mem()
516 struct list_head *qe, *qen; in bfa_fcxp_iocdisable() local
522 list_for_each_safe(qe, qen, &mod->fcxp_active_q) { in bfa_fcxp_iocdisable()
523 fcxp = (struct bfa_fcxp_s *) qe; in bfa_fcxp_iocdisable()
547 list_add_tail(&fcxp->qe, &fm->fcxp_active_q); in bfa_fcxp_get()
641 list_del(&fcxp->qe); in bfa_fcxp_put()
644 list_add_tail(&fcxp->qe, &mod->fcxp_req_free_q); in bfa_fcxp_put()
646 list_add_tail(&fcxp->qe, &mod->fcxp_rsp_free_q); in bfa_fcxp_put()
1089 list_add_tail(&wqe->qe, &mod->req_wait_q); in bfa_fcxp_req_rsp_alloc_wait()
1091 list_add_tail(&wqe->qe, &mod->rsp_wait_q); in bfa_fcxp_req_rsp_alloc_wait()
1101 list_del(&wqe->qe); in bfa_fcxp_walloc_cancel()
1147 struct list_head *qe; in bfa_fcxp_res_recfg() local
1152 bfa_q_deq_tail(&mod->fcxp_req_free_q, &qe); in bfa_fcxp_res_recfg()
1153 list_add_tail(qe, &mod->fcxp_req_unused_q); in bfa_fcxp_res_recfg()
1155 bfa_q_deq_tail(&mod->fcxp_rsp_free_q, &qe); in bfa_fcxp_res_recfg()
1156 list_add_tail(qe, &mod->fcxp_rsp_unused_q); in bfa_fcxp_res_recfg()
1505 list_add_tail(&lps->qe, &mod->lps_free_q); in bfa_lps_attach()
1517 struct list_head *qe, *qen; in bfa_lps_iocdisable() local
1519 list_for_each_safe(qe, qen, &mod->lps_active_q) { in bfa_lps_iocdisable()
1520 lps = (struct bfa_lps_s *) qe; in bfa_lps_iocdisable()
1523 list_for_each_safe(qe, qen, &mod->lps_login_q) { in bfa_lps_iocdisable()
1524 lps = (struct bfa_lps_s *) qe; in bfa_lps_iocdisable()
1581 list_del(&lps->qe); in bfa_lps_login_rsp()
1582 list_add_tail(&lps->qe, &mod->lps_active_q); in bfa_lps_login_rsp()
1591 struct list_head *qe, *qe_next; in bfa_lps_no_res() local
1596 qe = bfa_q_next(first_lps); in bfa_lps_no_res()
1598 while (count && qe) { in bfa_lps_no_res()
1599 qe_next = bfa_q_next(qe); in bfa_lps_no_res()
1600 lps = (struct bfa_lps_s *)qe; in bfa_lps_no_res()
1603 list_del(&lps->qe); in bfa_lps_no_res()
1604 list_add_tail(&lps->qe, &mod->lps_active_q); in bfa_lps_no_res()
1606 qe = qe_next; in bfa_lps_no_res()
1660 list_del(&lps->qe); in bfa_lps_free()
1661 list_add_tail(&lps->qe, &mod->lps_free_q); in bfa_lps_free()
1688 list_del(&lps->qe); in bfa_lps_send_login()
1689 list_add_tail(&lps->qe, &mod->lps_login_q); in bfa_lps_send_login()
1860 list_add_tail(&lps->qe, &mod->lps_active_q); in bfa_lps_alloc()
3272 struct list_head *qe, *qen; in __bfa_cb_fcport_stats_get() local
3278 list_for_each_safe(qe, qen, &fcport->stats_pending_q) { in __bfa_cb_fcport_stats_get()
3279 bfa_q_deq(&fcport->stats_pending_q, &qe); in __bfa_cb_fcport_stats_get()
3280 cb = (struct bfa_cb_pending_q_s *)qe; in __bfa_cb_fcport_stats_get()
3349 struct list_head *qe, *qen; in __bfa_cb_fcport_stats_clr() local
3356 list_for_each_safe(qe, qen, &fcport->statsclr_pending_q) { in __bfa_cb_fcport_stats_clr()
3357 bfa_q_deq(&fcport->statsclr_pending_q, &qe); in __bfa_cb_fcport_stats_clr()
3358 cb = (struct bfa_cb_pending_q_s *)qe; in __bfa_cb_fcport_stats_clr()
4025 list_add_tail(&cb->hcb_qe.qe, &fcport->stats_pending_q); in bfa_fcport_get_stats()
4031 list_add_tail(&cb->hcb_qe.qe, &fcport->stats_pending_q); in bfa_fcport_get_stats()
4052 list_add_tail(&cb->hcb_qe.qe, &fcport->statsclr_pending_q); in bfa_fcport_clear_stats()
4058 list_add_tail(&cb->hcb_qe.qe, &fcport->statsclr_pending_q); in bfa_fcport_clear_stats()
4841 list_add_tail(&rp->qe, &mod->rp_free_q); in bfa_rport_attach()
4857 struct list_head *qe, *qen; in bfa_rport_iocdisable() local
4862 list_for_each_safe(qe, qen, &mod->rp_active_q) { in bfa_rport_iocdisable()
4863 rport = (struct bfa_rport_s *) qe; in bfa_rport_iocdisable()
4875 list_add_tail(&rport->qe, &mod->rp_active_q); in bfa_rport_alloc()
4886 list_del(&rport->qe); in bfa_rport_free()
4887 list_add_tail(&rport->qe, &mod->rp_free_q); in bfa_rport_free()
5041 struct list_head *qe; in bfa_rport_res_recfg() local
5045 bfa_q_deq_tail(&mod->rp_free_q, &qe); in bfa_rport_res_recfg()
5046 list_add_tail(qe, &mod->rp_unused_q); in bfa_rport_res_recfg()
5230 list_add_tail(&hsgpg->qe, &mod->sgpg_q); in bfa_sgpg_attach()
5254 list_add_tail(&hsgpg->qe, sgpg_q); in bfa_sgpg_malloc()
5287 list_del(&wqe->qe); in bfa_sgpg_mfree()
5316 list_add_tail(&wqe->qe, &mod->sgpg_wait_q); in bfa_sgpg_wait()
5325 list_del(&wqe->qe); in bfa_sgpg_wcancel()
5408 list_add_tail(&uf->qe, &ufm->uf_free_q); in claim_ufs()
5479 list_add_tail(&uf->qe, &uf_mod->uf_free_q); in bfa_uf_put()
5497 list_add_tail(&uf->qe, &ufm->uf_posted_q); in bfa_uf_post()
5528 list_del(&uf->qe); /* dequeue from posted queue */ in uf_recv()
5556 struct list_head *qe, *qen; in bfa_uf_iocdisable() local
5561 list_for_each_safe(qe, qen, &ufm->uf_posted_q) { in bfa_uf_iocdisable()
5562 uf = (struct bfa_uf_s *) qe; in bfa_uf_iocdisable()
5563 list_del(&uf->qe); in bfa_uf_iocdisable()
5629 struct list_head *qe; in bfa_uf_res_recfg() local
5633 bfa_q_deq_tail(&mod->uf_free_q, &qe); in bfa_uf_res_recfg()
5634 list_add_tail(qe, &mod->uf_unused_q); in bfa_uf_res_recfg()