Home
last modified time | relevance | path

Searched refs:infop (Results 1 – 10 of 10) sorted by relevance

/linux/io_uring/
H A Dwaitid.c31 struct siginfo __user *infop; member
48 struct compat_siginfo __user *infop; in io_waitid_compat_copy_si() local
51 infop = (struct compat_siginfo __user *) iw->infop; in io_waitid_compat_copy_si()
53 if (!user_write_access_begin(infop, sizeof(*infop))) in io_waitid_compat_copy_si()
56 unsafe_put_user(signo, &infop->si_signo, Efault); in io_waitid_compat_copy_si()
57 unsafe_put_user(0, &infop->si_errno, Efault); in io_waitid_compat_copy_si()
58 unsafe_put_user(iw->info.cause, &infop->si_code, Efault); in io_waitid_compat_copy_si()
59 unsafe_put_user(iw->info.pid, &infop->si_pid, Efault); in io_waitid_compat_copy_si()
60 unsafe_put_user(iw->info.uid, &infop->si_uid, Efault); in io_waitid_compat_copy_si()
61 unsafe_put_user(iw->info.status, &infop->si_status, Efault); in io_waitid_compat_copy_si()
[all …]
/linux/kernel/
H A Dexit.c1148 struct waitid_info *infop; in wait_task_zombie() local
1253 infop = wo->wo_info; in wait_task_zombie()
1254 if (infop) { in wait_task_zombie()
1256 infop->cause = CLD_EXITED; in wait_task_zombie()
1257 infop->status = status >> 8; in wait_task_zombie()
1259 infop->cause = (status & 0x80) ? CLD_DUMPED : CLD_KILLED; in wait_task_zombie()
1260 infop->status = status & 0x7f; in wait_task_zombie()
1262 infop->pid = pid; in wait_task_zombie()
1263 infop->uid = uid; in wait_task_zombie()
1302 struct waitid_info *infop; in wait_task_stopped() local
[all …]
H A Dexit.h28 struct waitid_info *infop, int options,
/linux/drivers/scsi/lpfc/
H A Dlpfc_nvmet.c393 struct lpfc_nvmet_ctx_info *infop; in lpfc_nvmet_ctxbuf_post() local
504 infop = lpfc_get_ctx_list(phba, cpu, ctxp->idx); in lpfc_nvmet_ctxbuf_post()
505 spin_lock_irqsave(&infop->nvmet_ctx_list_lock, iflag); in lpfc_nvmet_ctxbuf_post()
506 list_add_tail(&ctx_buf->list, &infop->nvmet_ctx_list); in lpfc_nvmet_ctxbuf_post()
507 infop->nvmet_ctx_list_cnt++; in lpfc_nvmet_ctxbuf_post()
508 spin_unlock_irqrestore(&infop->nvmet_ctx_list_lock, iflag); in lpfc_nvmet_ctxbuf_post()
1442 struct lpfc_nvmet_ctx_info *infop) in __lpfc_nvmet_clean_io_for_cpu() argument
1447 spin_lock_irqsave(&infop->nvmet_ctx_list_lock, flags); in __lpfc_nvmet_clean_io_for_cpu()
1449 &infop->nvmet_ctx_list, list) { in __lpfc_nvmet_clean_io_for_cpu()
1469 spin_unlock_irqrestore(&infop->nvmet_ctx_list_lock, flags); in __lpfc_nvmet_clean_io_for_cpu()
[all …]
/linux/drivers/infiniband/hw/cxgb4/
H A Ddevice.c961 static int rdma_supported(const struct cxgb4_lld_info *infop) in rdma_supported() argument
963 return infop->vr->stag.size > 0 && infop->vr->pbl.size > 0 && in rdma_supported()
964 infop->vr->rq.size > 0 && infop->vr->qp.size > 0 && in rdma_supported()
965 infop->vr->cq.size > 0; in rdma_supported()
968 static struct c4iw_dev *c4iw_alloc(const struct cxgb4_lld_info *infop) in c4iw_alloc() argument
973 if (!rdma_supported(infop)) { in c4iw_alloc()
975 pci_name(infop->pdev)); in c4iw_alloc()
978 if (!ocqp_supported(infop)) in c4iw_alloc()
980 pci_name(infop->pdev)); in c4iw_alloc()
987 devp->rdev.lldi = *infop; in c4iw_alloc()
[all …]
H A Diw_cxgb4.h952 static inline int ocqp_supported(const struct cxgb4_lld_info *infop) in ocqp_supported() argument
955 return infop->vr->ocq.size > 0; in ocqp_supported()
/linux/drivers/infiniband/sw/siw/
H A Dsiw_qp_rx.c884 u8 *infop = (u8 *)&term_info; in siw_proc_terminate() local
913 memset(infop, 0, sizeof(term_info)); in siw_proc_terminate()
915 skb_copy_bits(skb, srx->skb_offset, infop, to_copy); in siw_proc_terminate()
921 infop += to_copy; in siw_proc_terminate()
932 skb_copy_bits(skb, srx->skb_offset, infop, to_copy); in siw_proc_terminate()
/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
H A Dchcr_ipsec.c77 static void *ch_ipsec_uld_add(const struct cxgb4_lld_info *infop);
100 static void *ch_ipsec_uld_add(const struct cxgb4_lld_info *infop) in ch_ipsec_uld_add() argument
111 u_ctx->lldi = *infop; in ch_ipsec_uld_add()
/linux/fs/xfs/scrub/
H A Dxfarray.c444 struct xfarray_sortinfo **infop) in xfarray_sortinfo_alloc() argument
494 *infop = si; in xfarray_sortinfo_alloc()
/linux/include/linux/
H A Dsyscalls.h542 struct siginfo __user *infop,