Home
last modified time | relevance | path

Searched refs:ib_ucontext (Results 1 – 25 of 63) sorted by relevance

123

/Linux-v5.4/drivers/infiniband/hw/usnic/
Dusnic_ib.h53 struct ib_ucontext ibucontext;
107 struct usnic_ib_ucontext *to_ucontext(struct ib_ucontext *ibucontext) in to_ucontext()
119 struct usnic_ib_ucontext *to_uucontext(struct ib_ucontext *ibucontext) in to_uucontext()
Dusnic_ib_verbs.h68 int usnic_ib_alloc_ucontext(struct ib_ucontext *uctx, struct ib_udata *udata);
69 void usnic_ib_dealloc_ucontext(struct ib_ucontext *ibcontext);
70 int usnic_ib_mmap(struct ib_ucontext *context,
Dusnic_uiom.h42 struct ib_ucontext;
/Linux-v5.4/drivers/infiniband/hw/efa/
Defa.h73 struct ib_ucontext ibucontext;
146 int efa_alloc_ucontext(struct ib_ucontext *ibucontext, struct ib_udata *udata);
147 void efa_dealloc_ucontext(struct ib_ucontext *ibucontext);
148 int efa_mmap(struct ib_ucontext *ibucontext,
/Linux-v5.4/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.h66 int ocrdma_alloc_ucontext(struct ib_ucontext *uctx, struct ib_udata *udata);
67 void ocrdma_dealloc_ucontext(struct ib_ucontext *uctx);
69 int ocrdma_mmap(struct ib_ucontext *, struct vm_area_struct *vma);
/Linux-v5.4/drivers/infiniband/hw/qedr/
Dverbs.h46 int qedr_alloc_ucontext(struct ib_ucontext *uctx, struct ib_udata *udata);
47 void qedr_dealloc_ucontext(struct ib_ucontext *uctx);
49 int qedr_mmap(struct ib_ucontext *, struct vm_area_struct *vma);
/Linux-v5.4/drivers/infiniband/sw/siw/
Dsiw_verbs.h37 int siw_alloc_ucontext(struct ib_ucontext *base_ctx, struct ib_udata *udata);
38 void siw_dealloc_ucontext(struct ib_ucontext *base_ctx);
85 int siw_mmap(struct ib_ucontext *ctx, struct vm_area_struct *vma);
/Linux-v5.4/drivers/infiniband/hw/bnxt_re/
Dib_verbs.h138 struct ib_ucontext ib_uctx;
211 int bnxt_re_alloc_ucontext(struct ib_ucontext *ctx, struct ib_udata *udata);
212 void bnxt_re_dealloc_ucontext(struct ib_ucontext *context);
213 int bnxt_re_mmap(struct ib_ucontext *context, struct vm_area_struct *vma);
/Linux-v5.4/drivers/infiniband/sw/rdmavt/
Dmmap.h55 int rvt_mmap(struct ib_ucontext *context, struct vm_area_struct *vma);
Dvt.c287 static inline struct rvt_ucontext *to_iucontext(struct ib_ucontext in to_iucontext()
298 static int rvt_alloc_ucontext(struct ib_ucontext *uctx, struct ib_udata *udata) in rvt_alloc_ucontext()
307 static void rvt_dealloc_ucontext(struct ib_ucontext *context) in rvt_dealloc_ucontext()
435 INIT_RDMA_OBJ_SIZE(ib_ucontext, rvt_ucontext, ibucontext),
Dmmap.c111 int rvt_mmap(struct ib_ucontext *context, struct vm_area_struct *vma) in rvt_mmap()
/Linux-v5.4/drivers/infiniband/hw/mthca/
Dmthca_provider.h65 struct ib_ucontext ibucontext;
299 static inline struct mthca_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext()
/Linux-v5.4/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.h398 int pvrdma_mmap(struct ib_ucontext *context, struct vm_area_struct *vma);
399 int pvrdma_alloc_ucontext(struct ib_ucontext *uctx, struct ib_udata *udata);
400 void pvrdma_dealloc_ucontext(struct ib_ucontext *context);
Dpvrdma_verbs.c313 int pvrdma_alloc_ucontext(struct ib_ucontext *uctx, struct ib_udata *udata) in pvrdma_alloc_ucontext()
369 void pvrdma_dealloc_ucontext(struct ib_ucontext *ibcontext) in pvrdma_dealloc_ucontext()
395 int pvrdma_mmap(struct ib_ucontext *ibcontext, struct vm_area_struct *vma) in pvrdma_mmap()
Dpvrdma.h121 struct ib_ucontext ibucontext;
264 pvrdma_ucontext *to_vucontext(struct ib_ucontext *ibucontext) in to_vucontext()
/Linux-v5.4/include/rdma/
Dib_umem.h41 struct ib_ucontext;
Drdma_vt.h193 struct ib_ucontext ibucontext;
217 struct ib_ucontext *context;
Dib_verbs.h1457 struct ib_ucontext { struct
1481 struct ib_ucontext *context; /* associated user context */ argument
2362 int (*alloc_ucontext)(struct ib_ucontext *context,
2364 void (*dealloc_ucontext)(struct ib_ucontext *context);
2365 int (*mmap)(struct ib_ucontext *context, struct vm_area_struct *vma);
2366 void (*disassociate_ucontext)(struct ib_ucontext *ibcontext);
2465 struct ib_ucontext *context,
2570 DECLARE_RDMA_OBJ_SIZE(ib_ucontext);
2793 int rdma_user_mmap_io(struct ib_ucontext *ucontext, struct vm_area_struct *vma,
2796 static inline int rdma_user_mmap_io(struct ib_ucontext *ucontext, in rdma_user_mmap_io()
[all …]
/Linux-v5.4/drivers/infiniband/hw/cxgb3/
Diwch_provider.h187 struct ib_ucontext ibucontext;
194 static inline struct iwch_ucontext *to_iwch_ucontext(struct ib_ucontext *c) in to_iwch_ucontext()
/Linux-v5.4/drivers/infiniband/hw/cxgb4/
Dprovider.c61 static void c4iw_dealloc_ucontext(struct ib_ucontext *context) in c4iw_dealloc_ucontext()
75 static int c4iw_alloc_ucontext(struct ib_ucontext *ucontext, in c4iw_alloc_ucontext()
124 static int c4iw_mmap(struct ib_ucontext *context, struct vm_area_struct *vma) in c4iw_mmap()
518 INIT_RDMA_OBJ_SIZE(ib_ucontext, c4iw_ucontext, ibucontext),
/Linux-v5.4/drivers/infiniband/hw/hns/
Dhns_roce_main.c310 static int hns_roce_alloc_ucontext(struct ib_ucontext *uctx, in hns_roce_alloc_ucontext()
345 static void hns_roce_dealloc_ucontext(struct ib_ucontext *ibcontext) in hns_roce_dealloc_ucontext()
352 static int hns_roce_mmap(struct ib_ucontext *context, in hns_roce_mmap()
403 static void hns_roce_disassociate_ucontext(struct ib_ucontext *ibcontext) in hns_roce_disassociate_ucontext()
452 INIT_RDMA_OBJ_SIZE(ib_ucontext, hns_roce_ucontext, ibucontext),
/Linux-v5.4/drivers/infiniband/sw/rxe/
Drxe_verbs.h64 struct ib_ucontext ibuc;
428 static inline struct rxe_ucontext *to_ruc(struct ib_ucontext *uc) in to_ruc()
Drxe_loc.h86 struct ib_ucontext *context;
98 int rxe_mmap(struct ib_ucontext *context, struct vm_area_struct *vma);
Drxe_mmap.c91 int rxe_mmap(struct ib_ucontext *context, struct vm_area_struct *vma) in rxe_mmap()
/Linux-v5.4/drivers/infiniband/hw/i40iw/
Di40iw_verbs.h39 struct ib_ucontext ibucontext;

123