Home
last modified time | relevance | path

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

/linux-6.12.1/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);
1858 sg_build_sgat(Sg_scatter_hold * schp, const Sg_fd * sfp, int tablesize) in sg_build_sgat() argument
1863 schp->pages = kzalloc(sg_bufflen, gfp_flags); in sg_build_sgat()
1864 if (!schp->pages) in sg_build_sgat()
1866 schp->sglist_len = sg_bufflen; in sg_build_sgat()
1871 sg_build_indirect(Sg_scatter_hold * schp, Sg_fd * sfp, int buff_size) in sg_build_indirect() argument
1889 mx_sc_elems = sg_build_sgat(schp, sfp, sg_tablesize); in sg_build_indirect()
1912 schp->pages[k] = alloc_pages(gfp_mask, order); in sg_build_indirect()
1913 if (!schp->pages[k]) in sg_build_indirect()
[all …]
/linux-6.12.1/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 …]