Searched refs:schp (Results 1 – 4 of 4) sorted by relevance
/linux-4.4.14/drivers/infiniband/hw/cxgb3/ |
D | iwch_qp.c | 808 struct iwch_cq *schp) in __flush_qp() argument 814 PDBG("%s qhp %p rchp %p schp %p\n", __func__, qhp, rchp, schp); in __flush_qp() 834 spin_lock(&schp->lock); in __flush_qp() 836 cxio_flush_hw_cq(&schp->cq); in __flush_qp() 837 cxio_count_scqes(&schp->cq, &qhp->wq, &count); in __flush_qp() 838 flushed = cxio_flush_sq(&qhp->wq, &schp->cq, count); in __flush_qp() 840 spin_unlock(&schp->lock); in __flush_qp() 842 spin_lock(&schp->comp_handler_lock); in __flush_qp() 843 (*schp->ibcq.comp_handler)(&schp->ibcq, schp->ibcq.cq_context); in __flush_qp() 844 spin_unlock(&schp->comp_handler_lock); in __flush_qp() [all …]
|
D | iwch_provider.c | 924 struct iwch_cq *schp; in iwch_create_qp() local 935 schp = get_chp(rhp, ((struct iwch_cq *) attrs->send_cq)->cq.cqid); in iwch_create_qp() 937 if (!schp || !rchp) in iwch_create_qp()
|
/linux-4.4.14/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); 1812 sg_build_sgat(Sg_scatter_hold * schp, const Sg_fd * sfp, int tablesize) in sg_build_sgat() argument 1817 schp->pages = kzalloc(sg_bufflen, gfp_flags); in sg_build_sgat() 1818 if (!schp->pages) in sg_build_sgat() 1820 schp->sglist_len = sg_bufflen; in sg_build_sgat() 1825 sg_build_indirect(Sg_scatter_hold * schp, Sg_fd * sfp, int buff_size) in sg_build_indirect() argument 1843 mx_sc_elems = sg_build_sgat(schp, sfp, sg_tablesize); in sg_build_indirect() 1872 schp->pages[k] = alloc_pages(gfp_mask, order); in sg_build_indirect() 1873 if (!schp->pages[k]) in sg_build_indirect() [all …]
|
/linux-4.4.14/drivers/infiniband/hw/cxgb4/ |
D | qp.c | 1118 struct c4iw_cq *schp) in __flush_qp() argument 1124 PDBG("%s qhp %p rchp %p schp %p\n", __func__, qhp, rchp, schp); in __flush_qp() 1144 spin_lock_irqsave(&schp->lock, flag); in __flush_qp() 1146 if (schp != rchp) in __flush_qp() 1147 c4iw_flush_hw_cq(schp); in __flush_qp() 1150 spin_unlock_irqrestore(&schp->lock, flag); in __flush_qp() 1152 if (schp == rchp) { in __flush_qp() 1167 if (t4_clear_cq_armed(&schp->cq) && sq_flushed) { in __flush_qp() 1168 spin_lock_irqsave(&schp->comp_handler_lock, flag); in __flush_qp() 1169 (*schp->ibcq.comp_handler)(&schp->ibcq, in __flush_qp() [all …]
|