Home
last modified time | relevance | path

Searched refs:schp (Results 1 – 5 of 5) sorted by relevance

/NextBSD/sys/dev/cxgb/ulp/iw_cxgb/
HDiw_cxgb_qp.c765 struct iwch_cq *schp) in __flush_qp() argument
770 CTR4(KTR_IW_CXGB, "%s qhp %p rchp %p schp %p", __FUNCTION__, qhp, rchp, schp); in __flush_qp()
787 mtx_lock(&schp->lock); in __flush_qp()
789 cxio_flush_hw_cq(&schp->cq); in __flush_qp()
790 cxio_count_scqes(&schp->cq, &qhp->wq, &count); in __flush_qp()
791 flushed = cxio_flush_sq(&qhp->wq, &schp->cq, count); in __flush_qp()
793 mtx_unlock(&schp->lock); in __flush_qp()
795 (*schp->ibcq.comp_handler)(&schp->ibcq, schp->ibcq.cq_context); in __flush_qp()
805 struct iwch_cq *rchp, *schp; in flush_qp() local
808 schp = get_chp(qhp->rhp, qhp->attr.scq); in flush_qp()
[all …]
HDiw_cxgb_provider.c776 struct iwch_cq *schp; in iwch_create_qp() local
787 schp = get_chp(rhp, ((struct iwch_cq *) attrs->send_cq)->cq.cqid); in iwch_create_qp()
789 if (!schp || !rchp) in iwch_create_qp()
/NextBSD/sys/dev/cxgbe/iw_cxgbe/
HDqp.c936 struct c4iw_cq *schp) in __flush_qp() argument
943 schp); in __flush_qp()
960 spin_lock_irqsave(&schp->lock, flag); in __flush_qp()
962 c4iw_flush_hw_cq(&schp->cq); in __flush_qp()
963 c4iw_count_scqes(&schp->cq, &qhp->wq, &count); in __flush_qp()
964 flushed = c4iw_flush_sq(&qhp->wq, &schp->cq, count); in __flush_qp()
966 spin_unlock_irqrestore(&schp->lock, flag); in __flush_qp()
968 spin_lock_irqsave(&schp->comp_handler_lock, flag); in __flush_qp()
969 (*schp->ibcq.comp_handler)(&schp->ibcq, schp->ibcq.cq_context); in __flush_qp()
970 spin_unlock_irqrestore(&schp->comp_handler_lock, flag); in __flush_qp()
[all …]
/NextBSD/contrib/ofed/libcxgb4/src/
HDqp.c491 struct c4iw_cq *rchp, *schp; in c4iw_flush_qp() local
500 schp = to_c4iw_cq(qhp->ibv_qp.send_cq); in c4iw_flush_qp()
502 PDBG("%s qhp %p rchp %p schp %p\n", __func__, qhp, rchp, schp); in c4iw_flush_qp()
516 pthread_spin_lock(&schp->lock); in c4iw_flush_qp()
518 if (schp != rchp) in c4iw_flush_qp()
519 c4iw_flush_hw_cq(schp); in c4iw_flush_qp()
522 pthread_spin_unlock(&schp->lock); in c4iw_flush_qp()
/NextBSD/sys/netinet/
HDtcp_syncache.c469 syncache_lookup(struct in_conninfo *inc, struct syncache_head **schp) in syncache_lookup() argument
486 *schp = sch; in syncache_lookup()