Searched refs:schp (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/scsi/ |
H A 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); 1853 sg_build_sgat(Sg_scatter_hold * schp, const Sg_fd * sfp, int tablesize) in sg_build_sgat() argument 1858 schp->pages = kzalloc(sg_bufflen, gfp_flags); in sg_build_sgat() 1859 if (!schp->pages) in sg_build_sgat() 1861 schp->sglist_len = sg_bufflen; in sg_build_sgat() 1866 sg_build_indirect(Sg_scatter_hold * schp, Sg_fd * sfp, int buff_size) in sg_build_indirect() argument 1884 mx_sc_elems = sg_build_sgat(schp, sfp, sg_tablesize); in sg_build_indirect() 1907 schp->pages[k] = alloc_pages(gfp_mask, order); in sg_build_indirect() 1908 if (!schp->pages[k]) in sg_build_indirect() [all …]
|
/openbmc/linux/drivers/infiniband/hw/cxgb4/ |
H A D | qp.c | 983 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 …]
|
/openbmc/qemu/linux-user/ |
H A D | syscall.c | 11443 struct sched_param schp; in _syscall2() 11451 schp.sched_priority = tswap32(target_schp->sched_priority); in _syscall2() 11453 return get_errno(sys_sched_setparam(arg1, &schp)); in _syscall2() 11458 struct sched_param schp; in _syscall2() 11463 ret = get_errno(sys_sched_getparam(arg1, &schp)); in _syscall2() 11468 target_schp->sched_priority = tswap32(schp.sched_priority); in _syscall2() 11476 struct sched_param schp; in _syscall2() 11483 schp.sched_priority = tswap32(target_schp->sched_priority); in _syscall2() 11485 return get_errno(sys_sched_setscheduler(arg1, arg2, &schp)); in _syscall2() 11440 struct sched_param schp; _syscall2() local 11455 struct sched_param schp; _syscall2() local 11473 struct sched_param schp; _syscall2() local
|