Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/infiniband/hw/cxgb3/
Diwch_qp.c724 struct iwch_cq *schp) in __flush_qp() argument
733 pr_debug("%s qhp %p rchp %p schp %p\n", __func__, qhp, rchp, schp); in __flush_qp()
753 spin_lock(&schp->lock); in __flush_qp()
755 cxio_flush_hw_cq(&schp->cq); in __flush_qp()
756 cxio_count_scqes(&schp->cq, &qhp->wq, &count); in __flush_qp()
757 flushed = cxio_flush_sq(&qhp->wq, &schp->cq, count); in __flush_qp()
759 spin_unlock(&schp->lock); in __flush_qp()
761 spin_lock(&schp->comp_handler_lock); in __flush_qp()
762 (*schp->ibcq.comp_handler)(&schp->ibcq, schp->ibcq.cq_context); in __flush_qp()
763 spin_unlock(&schp->comp_handler_lock); in __flush_qp()
[all …]
Diwch_provider.c796 struct iwch_cq *schp; in iwch_create_qp() local
807 schp = get_chp(rhp, ((struct iwch_cq *) attrs->send_cq)->cq.cqid); in iwch_create_qp()
809 if (!schp || !rchp) in iwch_create_qp()
/Linux-v4.19/drivers/scsi/
Dsg.c183 static int sg_build_indirect(Sg_scatter_hold * schp, Sg_fd * sfp, int buff_size);
192 static void sg_remove_scat(Sg_fd * sfp, Sg_scatter_hold * schp);
1860 sg_build_sgat(Sg_scatter_hold * schp, const Sg_fd * sfp, int tablesize) in sg_build_sgat() argument
1865 schp->pages = kzalloc(sg_bufflen, gfp_flags); in sg_build_sgat()
1866 if (!schp->pages) in sg_build_sgat()
1868 schp->sglist_len = sg_bufflen; in sg_build_sgat()
1873 sg_build_indirect(Sg_scatter_hold * schp, Sg_fd * sfp, int buff_size) in sg_build_indirect() argument
1892 mx_sc_elems = sg_build_sgat(schp, sfp, sg_tablesize); in sg_build_indirect()
1918 schp->pages[k] = alloc_pages(gfp_mask, order); in sg_build_indirect()
1919 if (!schp->pages[k]) in sg_build_indirect()
[all …]
/Linux-v4.19/drivers/infiniband/hw/cxgb4/
Dqp.c1003 struct c4iw_cq *schp; in complete_sq_drain_wr() local
1008 schp = to_c4iw_cq(qhp->ibqp.send_cq); in complete_sq_drain_wr()
1009 cq = &schp->cq; in complete_sq_drain_wr()
1023 spin_lock_irqsave(&schp->lock, flag); in complete_sq_drain_wr()
1027 spin_unlock_irqrestore(&schp->lock, flag); in complete_sq_drain_wr()
1029 if (t4_clear_cq_armed(&schp->cq)) { in complete_sq_drain_wr()
1030 spin_lock_irqsave(&schp->comp_handler_lock, flag); in complete_sq_drain_wr()
1031 (*schp->ibcq.comp_handler)(&schp->ibcq, in complete_sq_drain_wr()
1032 schp->ibcq.cq_context); in complete_sq_drain_wr()
1033 spin_unlock_irqrestore(&schp->comp_handler_lock, flag); in complete_sq_drain_wr()
[all …]