Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/infiniband/hw/cxgb3/
Diwch_qp.c806 struct iwch_cq *schp) in __flush_qp() argument
812 PDBG("%s qhp %p rchp %p schp %p\n", __func__, qhp, rchp, schp); in __flush_qp()
832 spin_lock(&schp->lock); in __flush_qp()
834 cxio_flush_hw_cq(&schp->cq); in __flush_qp()
835 cxio_count_scqes(&schp->cq, &qhp->wq, &count); in __flush_qp()
836 flushed = cxio_flush_sq(&qhp->wq, &schp->cq, count); in __flush_qp()
838 spin_unlock(&schp->lock); in __flush_qp()
840 spin_lock(&schp->comp_handler_lock); in __flush_qp()
841 (*schp->ibcq.comp_handler)(&schp->ibcq, schp->ibcq.cq_context); in __flush_qp()
842 spin_unlock(&schp->comp_handler_lock); in __flush_qp()
[all …]
Diwch_provider.c896 struct iwch_cq *schp; in iwch_create_qp() local
907 schp = get_chp(rhp, ((struct iwch_cq *) attrs->send_cq)->cq.cqid); in iwch_create_qp()
909 if (!schp || !rchp) in iwch_create_qp()
/linux-3.4.99/drivers/scsi/
Dsg.c187 static int sg_build_indirect(Sg_scatter_hold * schp, Sg_fd * sfp, int buff_size);
196 static void sg_remove_scat(Sg_scatter_hold * schp);
1749 sg_build_sgat(Sg_scatter_hold * schp, const Sg_fd * sfp, int tablesize) in sg_build_sgat() argument
1754 schp->pages = kzalloc(sg_bufflen, gfp_flags); in sg_build_sgat()
1755 if (!schp->pages) in sg_build_sgat()
1757 schp->sglist_len = sg_bufflen; in sg_build_sgat()
1762 sg_build_indirect(Sg_scatter_hold * schp, Sg_fd * sfp, int buff_size) in sg_build_indirect() argument
1779 mx_sc_elems = sg_build_sgat(schp, sfp, sg_tablesize); in sg_build_indirect()
1808 schp->pages[k] = alloc_pages(gfp_mask, order); in sg_build_indirect()
1809 if (!schp->pages[k]) in sg_build_indirect()
[all …]
/linux-3.4.99/drivers/infiniband/hw/cxgb4/
Dqp.c935 struct c4iw_cq *schp) in __flush_qp() argument
941 PDBG("%s qhp %p rchp %p schp %p\n", __func__, qhp, rchp, schp); in __flush_qp()
958 spin_lock_irqsave(&schp->lock, flag); in __flush_qp()
960 c4iw_flush_hw_cq(&schp->cq); in __flush_qp()
961 c4iw_count_scqes(&schp->cq, &qhp->wq, &count); in __flush_qp()
962 flushed = c4iw_flush_sq(&qhp->wq, &schp->cq, count); in __flush_qp()
964 spin_unlock_irqrestore(&schp->lock, flag); in __flush_qp()
966 spin_lock_irqsave(&schp->comp_handler_lock, flag); in __flush_qp()
967 (*schp->ibcq.comp_handler)(&schp->ibcq, schp->ibcq.cq_context); in __flush_qp()
968 spin_unlock_irqrestore(&schp->comp_handler_lock, flag); in __flush_qp()
[all …]