Home
last modified time | relevance | path

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

/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
1891 mx_sc_elems = sg_build_sgat(schp, sfp, sg_tablesize); in sg_build_indirect()
1914 schp->pages[k] = alloc_pages(gfp_mask, order); in sg_build_indirect()
1915 if (!schp->pages[k]) in sg_build_indirect()
[all …]
/drivers/infiniband/hw/cxgb4/
Dqp.c983 struct c4iw_cq *schp; in complete_sq_drain_wr() local
988 schp = to_c4iw_cq(qhp->ibqp.send_cq); in complete_sq_drain_wr()
989 cq = &schp->cq; in complete_sq_drain_wr()
1003 spin_lock_irqsave(&schp->lock, flag); in complete_sq_drain_wr()
1007 spin_unlock_irqrestore(&schp->lock, flag); in complete_sq_drain_wr()
1009 if (t4_clear_cq_armed(&schp->cq)) { in complete_sq_drain_wr()
1010 spin_lock_irqsave(&schp->comp_handler_lock, flag); in complete_sq_drain_wr()
1011 (*schp->ibcq.comp_handler)(&schp->ibcq, in complete_sq_drain_wr()
1012 schp->ibcq.cq_context); in complete_sq_drain_wr()
1013 spin_unlock_irqrestore(&schp->comp_handler_lock, flag); in complete_sq_drain_wr()
[all …]