Home
last modified time | relevance | path

Searched defs:udata (Results 1 – 25 of 96) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.c84 struct ib_udata *udata) in usnic_ib_fill_create_qp_resp()
442 int usnic_ib_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in usnic_ib_alloc_pd()
455 int usnic_ib_dealloc_pd(struct ib_pd *pd, struct ib_udata *udata) in usnic_ib_dealloc_pd()
463 struct ib_udata *udata) in usnic_ib_create_qp()
534 int usnic_ib_destroy_qp(struct ib_qp *qp, struct ib_udata *udata) in usnic_ib_destroy_qp()
557 int attr_mask, struct ib_udata *udata) in usnic_ib_modify_qp()
584 struct ib_udata *udata) in usnic_ib_create_cq()
592 int usnic_ib_destroy_cq(struct ib_cq *cq, struct ib_udata *udata) in usnic_ib_destroy_cq()
599 struct ib_udata *udata) in usnic_ib_reg_mr()
626 int usnic_ib_dereg_mr(struct ib_mr *ibmr, struct ib_udata *udata) in usnic_ib_dereg_mr()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_provider.c295 struct ib_udata *udata) in mthca_alloc_ucontext()
356 static int mthca_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in mthca_alloc_pd()
376 static int mthca_dealloc_pd(struct ib_pd *pd, struct ib_udata *udata) in mthca_dealloc_pd()
384 struct ib_udata *udata) in mthca_ah_create()
401 struct ib_udata *udata) in mthca_create_srq()
445 static int mthca_destroy_srq(struct ib_srq *srq, struct ib_udata *udata) in mthca_destroy_srq()
464 struct ib_udata *udata) in mthca_create_qp()
577 static int mthca_destroy_qp(struct ib_qp *qp, struct ib_udata *udata) in mthca_destroy_qp()
603 struct ib_udata *udata) in mthca_create_cq()
722 static int mthca_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata) in mthca_resize_cq()
[all …]
Dmthca_srq.c101 struct ib_udata *udata) in mthca_tavor_init_srq_context()
122 struct ib_udata *udata) in mthca_arbel_init_srq_context()
155 struct mthca_srq *srq, struct ib_udata *udata) in mthca_alloc_srq_buf()
208 struct ib_udata *udata) in mthca_alloc_srq()
373 enum ib_srq_attr_mask attr_mask, struct ib_udata *udata) in mthca_modify_srq()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_cq.c146 struct ib_udata *udata, unsigned long addr) in alloc_cq_buf()
173 struct ib_udata *udata, unsigned long addr, in alloc_cq_db()
209 struct ib_udata *udata) in free_cq_db()
227 static void set_cqe_size(struct hns_roce_cq *hr_cq, struct ib_udata *udata, in set_cqe_size()
243 struct ib_udata *udata) in hns_roce_create_cq()
334 int hns_roce_destroy_cq(struct ib_cq *ib_cq, struct ib_udata *udata) in hns_roce_destroy_cq()
Dhns_roce_qp.c646 struct ib_udata *udata, unsigned long addr) in alloc_qp_buf()
692 struct ib_udata *udata, in user_qp_has_sdb()
704 struct ib_udata *udata, in user_qp_has_rdb()
721 struct ib_udata *udata, in alloc_qp_db()
783 struct ib_udata *udata) in free_qp_db()
839 struct ib_udata *udata, in set_qp_param()
904 struct ib_udata *udata, in hns_roce_create_qp_common()
1005 struct ib_udata *udata) in hns_roce_qp_destroy()
1022 struct ib_udata *udata) in hns_roce_create_qp()
1146 int attr_mask, struct ib_udata *udata) in hns_roce_modify_qp()
Dhns_roce_srq.c183 struct ib_udata *udata, unsigned long addr) in alloc_srq_buf()
216 struct ib_udata *udata, unsigned long addr) in alloc_srq_idx()
286 struct ib_udata *udata) in hns_roce_create_srq()
373 int hns_roce_destroy_srq(struct ib_srq *ibsrq, struct ib_udata *udata) in hns_roce_destroy_srq()
Dhns_roce_pd.c60 int hns_roce_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in hns_roce_alloc_pd()
86 int hns_roce_dealloc_pd(struct ib_pd *pd, struct ib_udata *udata) in hns_roce_dealloc_pd()
Dhns_roce_mr.c113 size_t length, struct ib_udata *udata, u64 start, in alloc_mr_pbl()
264 struct ib_udata *udata) in hns_roce_reg_user_mr()
305 u32 pdn, struct ib_udata *udata) in rereg_mr_trans()
332 struct ib_udata *udata) in hns_roce_rereg_user_mr()
400 int hns_roce_dereg_mr(struct ib_mr *ibmr, struct ib_udata *udata) in hns_roce_dereg_mr()
591 int hns_roce_alloc_mw(struct ib_mw *ibmw, struct ib_udata *udata) in hns_roce_alloc_mw()
741 struct ib_udata *udata, unsigned long user_addr) in mtr_alloc_bufs()
1013 unsigned int ba_page_shift, struct ib_udata *udata, in hns_roce_mtr_create()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_verbs.c109 static int rxe_alloc_ucontext(struct ib_ucontext *uctx, struct ib_udata *udata) in rxe_alloc_ucontext()
143 static int rxe_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in rxe_alloc_pd()
151 static int rxe_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in rxe_dealloc_pd()
161 struct ib_udata *udata) in rxe_create_ah()
260 struct ib_udata *udata) in rxe_create_srq()
300 struct ib_udata *udata) in rxe_modify_srq()
343 static int rxe_destroy_srq(struct ib_srq *ibsrq, struct ib_udata *udata) in rxe_destroy_srq()
381 struct ib_udata *udata) in rxe_create_qp()
430 int mask, struct ib_udata *udata) in rxe_modify_qp()
461 static int rxe_destroy_qp(struct ib_qp *ibqp, struct ib_udata *udata) in rxe_destroy_qp()
[all …]
Drxe_srq.c75 struct ib_srq_init_attr *init, struct ib_udata *udata, in rxe_srq_from_init()
124 struct rxe_modify_srq_cmd *ucmd, struct ib_udata *udata) in rxe_srq_from_attr()
Drxe_qp.c200 struct ib_qp_init_attr *init, struct ib_udata *udata, in rxe_qp_init_req()
267 struct ib_udata *udata, in rxe_qp_init_resp()
316 struct ib_udata *udata) in rxe_qp_from_init()
571 struct ib_udata *udata) in rxe_qp_from_attr()
Drxe_cq.c58 int comp_vector, struct ib_udata *udata, in rxe_cq_from_init()
92 struct ib_udata *udata) in rxe_cq_resize_queue()
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
Dsiw_verbs.c79 int siw_alloc_ucontext(struct ib_ucontext *base_ctx, struct ib_udata *udata) in siw_alloc_ucontext()
123 struct ib_udata *udata) in siw_query_device()
224 int siw_alloc_pd(struct ib_pd *pd, struct ib_udata *udata) in siw_alloc_pd()
237 int siw_dealloc_pd(struct ib_pd *pd, struct ib_udata *udata) in siw_dealloc_pd()
295 struct ib_udata *udata) in siw_create_qp()
542 int attr_mask, struct ib_udata *udata) in siw_verbs_modify_qp()
587 int siw_destroy_qp(struct ib_qp *base_qp, struct ib_udata *udata) in siw_destroy_qp()
1096 int siw_destroy_cq(struct ib_cq *base_cq, struct ib_udata *udata) in siw_destroy_cq()
1128 struct ib_udata *udata) in siw_create_cq()
1283 int siw_dereg_mr(struct ib_mr *base_mr, struct ib_udata *udata) in siw_dereg_mr()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dsrq.c46 struct ib_udata *udata, int buf_size) in create_srq_user()
198 struct ib_udata *udata) in destroy_srq_user()
219 struct ib_udata *udata) in mlx5_ib_create_srq()
343 enum ib_srq_attr_mask attr_mask, struct ib_udata *udata) in mlx5_ib_modify_srq()
392 int mlx5_ib_destroy_srq(struct ib_srq *srq, struct ib_udata *udata) in mlx5_ib_destroy_srq()
Dqp.c781 static int mlx5_ib_umem_get(struct mlx5_ib_dev *dev, struct ib_udata *udata, in mlx5_ib_umem_get()
815 struct mlx5_ib_rwq *rwq, struct ib_udata *udata) in destroy_user_rq()
831 struct ib_udata *udata, struct mlx5_ib_rwq *rwq, in create_user_rq()
891 struct mlx5_ib_qp *qp, struct ib_udata *udata, in _create_user_qp()
1009 struct mlx5_ib_qp_base *base, struct ib_udata *udata) in destroy_qp()
1200 struct ib_udata *udata, in create_raw_packet_qp_sq()
1424 struct ib_udata *udata, in create_raw_packet_qp()
1554 struct ib_udata *udata; member
1571 struct ib_udata *udata = params->udata; in create_rss_raw_qp_tir() local
1924 struct ib_udata *udata = params->udata; in create_user_qp() local
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dpd.c60 int rvt_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in rvt_alloc_pd()
98 int rvt_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in rvt_dealloc_pd()
Dsrq.c77 struct ib_udata *udata) in rvt_create_srq()
168 struct ib_udata *udata) in rvt_modify_srq()
335 int rvt_destroy_srq(struct ib_srq *ibsrq, struct ib_udata *udata) in rvt_destroy_srq()
Dcq.c201 struct ib_udata *udata) in rvt_create_cq()
318 int rvt_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata) in rvt_destroy_cq()
380 int rvt_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata) in rvt_resize_cq()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dverbs.c67 static inline int qedr_ib_copy_to_udata(struct ib_udata *udata, void *src, in qedr_ib_copy_to_udata()
112 struct ib_device_attr *attr, struct ib_udata *udata) in qedr_query_device()
259 int qedr_alloc_ucontext(struct ib_ucontext *uctx, struct ib_udata *udata) in qedr_alloc_ucontext()
434 int qedr_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in qedr_alloc_pd()
477 int qedr_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in qedr_dealloc_pd()
488 int qedr_alloc_xrcd(struct ib_xrcd *ibxrcd, struct ib_udata *udata) in qedr_alloc_xrcd()
496 int qedr_dealloc_xrcd(struct ib_xrcd *ibxrcd, struct ib_udata *udata) in qedr_dealloc_xrcd()
701 struct qedr_cq *cq, struct ib_udata *udata, in qedr_copy_cq_uresp()
741 static int qedr_init_user_db_rec(struct ib_udata *udata, in qedr_init_user_db_rec()
788 static inline int qedr_init_user_queue(struct ib_udata *udata, in qedr_init_user_queue()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_srq.c100 struct ib_udata *udata) in pvrdma_create_srq()
243 int pvrdma_destroy_srq(struct ib_srq *srq, struct ib_udata *udata) in pvrdma_destroy_srq()
275 enum ib_srq_attr_mask attr_mask, struct ib_udata *udata) in pvrdma_modify_srq()
Dpvrdma_verbs.c313 int pvrdma_alloc_ucontext(struct ib_ucontext *uctx, struct ib_udata *udata) in pvrdma_alloc_ucontext()
427 int pvrdma_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in pvrdma_alloc_pd()
484 int pvrdma_dealloc_pd(struct ib_pd *pd, struct ib_udata *udata) in pvrdma_dealloc_pd()
513 struct ib_udata *udata) in pvrdma_create_ah()
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c357 struct ib_udata *udata) in _ocrdma_alloc_pd()
403 struct ib_udata *udata) in ocrdma_alloc_ucontext_pd()
463 int ocrdma_alloc_ucontext(struct ib_ucontext *uctx, struct ib_udata *udata) in ocrdma_alloc_ucontext()
581 struct ib_udata *udata) in ocrdma_copy_pd_uresp()
627 int ocrdma_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in ocrdma_alloc_pd()
667 int ocrdma_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in ocrdma_dealloc_pd()
848 u64 usr_addr, int acc, struct ib_udata *udata) in ocrdma_reg_user_mr()
901 int ocrdma_dereg_mr(struct ib_mr *ib_mr, struct ib_udata *udata) in ocrdma_dereg_mr()
924 struct ib_udata *udata) in ocrdma_copy_cq_uresp()
964 struct ib_udata *udata) in ocrdma_create_cq()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dsrq.c74 struct ib_udata *udata) in mlx4_ib_create_srq()
221 enum ib_srq_attr_mask attr_mask, struct ib_udata *udata) in mlx4_ib_modify_srq()
264 int mlx4_ib_destroy_srq(struct ib_srq *srq, struct ib_udata *udata) in mlx4_ib_destroy_srq()
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c124 struct ib_udata *udata) in bnxt_re_query_device()
535 int bnxt_re_dealloc_pd(struct ib_pd *ib_pd, struct ib_udata *udata) in bnxt_re_dealloc_pd()
548 int bnxt_re_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in bnxt_re_alloc_pd()
634 struct ib_udata *udata) in bnxt_re_create_ah()
790 int bnxt_re_destroy_qp(struct ib_qp *ib_qp, struct ib_udata *udata) in bnxt_re_destroy_qp()
908 struct bnxt_re_qp *qp, struct ib_udata *udata) in bnxt_re_init_user_qp()
1149 struct ib_udata *udata) in bnxt_re_init_sq_attr()
1241 struct ib_udata *udata) in bnxt_re_init_qp_attr()
1417 struct ib_udata *udata) in bnxt_re_create_qp()
1569 int bnxt_re_destroy_srq(struct ib_srq *ib_srq, struct ib_udata *udata) in bnxt_re_destroy_srq()
[all …]
/kernel/linux/linux-5.10/drivers/xen/
Dprivcmd.c67 static long privcmd_ioctl_hypercall(struct file *file, void __user *udata) in privcmd_ioctl_hypercall()
250 static long privcmd_ioctl_mmap(struct file *file, void __user *udata) in privcmd_ioctl_mmap()
443 struct file *file, void __user *udata, int version) in privcmd_ioctl_mmap_batch()
618 static long privcmd_ioctl_dm_op(struct file *file, void __user *udata) in privcmd_ioctl_dm_op()
704 static long privcmd_ioctl_restrict(struct file *file, void __user *udata) in privcmd_ioctl_restrict()
722 struct privcmd_mmap_resource __user *udata) in privcmd_ioctl_mmap_resource()
841 void __user *udata = (void __user *) data; in privcmd_ioctl() local

1234