Searched refs:schp (Results 1 – 4 of 4) sorted by relevance
/drivers/infiniband/hw/cxgb3/ |
D | iwch_qp.c | 726 struct iwch_cq *schp) in __flush_qp() argument 732 PDBG("%s qhp %p rchp %p schp %p\n", __func__, qhp, rchp, schp); in __flush_qp() 752 spin_lock(&schp->lock); in __flush_qp() 754 cxio_flush_hw_cq(&schp->cq); in __flush_qp() 755 cxio_count_scqes(&schp->cq, &qhp->wq, &count); in __flush_qp() 756 flushed = cxio_flush_sq(&qhp->wq, &schp->cq, count); in __flush_qp() 758 spin_unlock(&schp->lock); in __flush_qp() 760 spin_lock(&schp->comp_handler_lock); in __flush_qp() 761 (*schp->ibcq.comp_handler)(&schp->ibcq, schp->ibcq.cq_context); in __flush_qp() 762 spin_unlock(&schp->comp_handler_lock); in __flush_qp() [all …]
|
D | iwch_provider.c | 833 struct iwch_cq *schp; in iwch_create_qp() local 844 schp = get_chp(rhp, ((struct iwch_cq *) attrs->send_cq)->cq.cqid); in iwch_create_qp() 846 if (!schp || !rchp) in iwch_create_qp()
|
/drivers/scsi/ |
D | sg.c | 183 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); 1835 sg_build_sgat(Sg_scatter_hold * schp, const Sg_fd * sfp, int tablesize) in sg_build_sgat() argument 1840 schp->pages = kzalloc(sg_bufflen, gfp_flags); in sg_build_sgat() 1841 if (!schp->pages) in sg_build_sgat() 1843 schp->sglist_len = sg_bufflen; in sg_build_sgat() 1848 sg_build_indirect(Sg_scatter_hold * schp, Sg_fd * sfp, int buff_size) in sg_build_indirect() argument 1867 mx_sc_elems = sg_build_sgat(schp, sfp, sg_tablesize); in sg_build_indirect() 1896 schp->pages[k] = alloc_pages(gfp_mask, order); in sg_build_indirect() 1897 if (!schp->pages[k]) in sg_build_indirect() [all …]
|
/drivers/infiniband/hw/cxgb4/ |
D | qp.c | 1193 struct c4iw_cq *schp) in __flush_qp() argument 1199 PDBG("%s qhp %p rchp %p schp %p\n", __func__, qhp, rchp, schp); in __flush_qp() 1219 spin_lock_irqsave(&schp->lock, flag); in __flush_qp() 1221 if (schp != rchp) in __flush_qp() 1222 c4iw_flush_hw_cq(schp); in __flush_qp() 1225 spin_unlock_irqrestore(&schp->lock, flag); in __flush_qp() 1227 if (schp == rchp) { in __flush_qp() 1242 if (t4_clear_cq_armed(&schp->cq) && sq_flushed) { in __flush_qp() 1243 spin_lock_irqsave(&schp->comp_handler_lock, flag); in __flush_qp() 1244 (*schp->ibcq.comp_handler)(&schp->ibcq, in __flush_qp() [all …]
|