Searched refs:schp (Results 1 – 4 of 4) sorted by relevance
/linux-4.1.27/drivers/infiniband/hw/cxgb3/ |
D | iwch_qp.c | 807 struct iwch_cq *schp) in __flush_qp() argument 813 PDBG("%s qhp %p rchp %p schp %p\n", __func__, qhp, rchp, schp); in __flush_qp() 833 spin_lock(&schp->lock); in __flush_qp() 835 cxio_flush_hw_cq(&schp->cq); in __flush_qp() 836 cxio_count_scqes(&schp->cq, &qhp->wq, &count); in __flush_qp() 837 flushed = cxio_flush_sq(&qhp->wq, &schp->cq, count); in __flush_qp() 839 spin_unlock(&schp->lock); in __flush_qp() 841 spin_lock(&schp->comp_handler_lock); in __flush_qp() 842 (*schp->ibcq.comp_handler)(&schp->ibcq, schp->ibcq.cq_context); in __flush_qp() 843 spin_unlock(&schp->comp_handler_lock); in __flush_qp() [all …]
|
D | iwch_provider.c | 895 struct iwch_cq *schp; in iwch_create_qp() local 906 schp = get_chp(rhp, ((struct iwch_cq *) attrs->send_cq)->cq.cqid); in iwch_create_qp() 908 if (!schp || !rchp) in iwch_create_qp()
|
/linux-4.1.27/drivers/scsi/ |
D | sg.c | 194 static int sg_build_indirect(Sg_scatter_hold * schp, Sg_fd * sfp, int buff_size); 203 static void sg_remove_scat(Sg_fd * sfp, Sg_scatter_hold * schp); 1806 sg_build_sgat(Sg_scatter_hold * schp, const Sg_fd * sfp, int tablesize) in sg_build_sgat() argument 1811 schp->pages = kzalloc(sg_bufflen, gfp_flags); in sg_build_sgat() 1812 if (!schp->pages) in sg_build_sgat() 1814 schp->sglist_len = sg_bufflen; in sg_build_sgat() 1819 sg_build_indirect(Sg_scatter_hold * schp, Sg_fd * sfp, int buff_size) in sg_build_indirect() argument 1837 mx_sc_elems = sg_build_sgat(schp, sfp, sg_tablesize); in sg_build_indirect() 1866 schp->pages[k] = alloc_pages(gfp_mask, order); in sg_build_indirect() 1867 if (!schp->pages[k]) in sg_build_indirect() [all …]
|
/linux-4.1.27/drivers/infiniband/hw/cxgb4/ |
D | qp.c | 1105 struct c4iw_cq *schp) in __flush_qp() argument 1111 PDBG("%s qhp %p rchp %p schp %p\n", __func__, qhp, rchp, schp); in __flush_qp() 1131 spin_lock_irqsave(&schp->lock, flag); in __flush_qp() 1133 if (schp != rchp) in __flush_qp() 1134 c4iw_flush_hw_cq(schp); in __flush_qp() 1137 spin_unlock_irqrestore(&schp->lock, flag); in __flush_qp() 1139 if (schp == rchp) { in __flush_qp() 1154 if (t4_clear_cq_armed(&schp->cq) && sq_flushed) { in __flush_qp() 1155 spin_lock_irqsave(&schp->comp_handler_lock, flag); in __flush_qp() 1156 (*schp->ibcq.comp_handler)(&schp->ibcq, in __flush_qp() [all …]
|