Home
last modified time | relevance | path

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

123

/linux-6.6.21/drivers/infiniband/hw/mana/
Dmana_ib.h87 struct ib_ucontext ibucontext;
145 int mana_ib_alloc_ucontext(struct ib_ucontext *ibcontext,
147 void mana_ib_dealloc_ucontext(struct ib_ucontext *ibcontext);
149 int mana_ib_mmap(struct ib_ucontext *ibcontext, struct vm_area_struct *vma);
160 void mana_ib_disassociate_ucontext(struct ib_ucontext *ibcontext);
Dmain.c201 int mana_ib_alloc_ucontext(struct ib_ucontext *ibcontext, in mana_ib_alloc_ucontext()
231 void mana_ib_dealloc_ucontext(struct ib_ucontext *ibcontext) in mana_ib_dealloc_ucontext()
438 int mana_ib_mmap(struct ib_ucontext *ibcontext, struct vm_area_struct *vma) in mana_ib_mmap()
521 void mana_ib_disassociate_ucontext(struct ib_ucontext *ibcontext) in mana_ib_disassociate_ucontext()
/linux-6.6.21/drivers/infiniband/core/
Dib_core_uverbs.c67 int rdma_user_mmap_io(struct ib_ucontext *ucontext, struct vm_area_struct *vma, in rdma_user_mmap_io()
117 rdma_user_mmap_entry_get_pgoff(struct ib_ucontext *ucontext, in rdma_user_mmap_entry_get_pgoff()
161 rdma_user_mmap_entry_get(struct ib_ucontext *ucontext, in rdma_user_mmap_entry_get()
183 struct ib_ucontext *ucontext = entry->ucontext; in rdma_user_mmap_entry_free()
262 int rdma_user_mmap_entry_insert_range(struct ib_ucontext *ucontext, in rdma_user_mmap_entry_insert_range()
360 int rdma_user_mmap_entry_insert(struct ib_ucontext *ucontext, in rdma_user_mmap_entry_insert()
Duverbs_std_types_device.c182 struct ib_ucontext *ucontext; in UVERBS_HANDLER()
244 struct ib_ucontext *ucontext; in UVERBS_HANDLER()
316 struct ib_ucontext *ucontext; in UVERBS_HANDLER()
372 struct ib_ucontext *ucontext; in UVERBS_HANDLER()
/linux-6.6.21/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.h65 int usnic_ib_alloc_ucontext(struct ib_ucontext *uctx, struct ib_udata *udata);
66 void usnic_ib_dealloc_ucontext(struct ib_ucontext *ibcontext);
67 int usnic_ib_mmap(struct ib_ucontext *context,
Dusnic_uiom.h42 struct ib_ucontext;
/linux-6.6.21/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.h64 int ocrdma_alloc_ucontext(struct ib_ucontext *uctx, struct ib_udata *udata);
65 void ocrdma_dealloc_ucontext(struct ib_ucontext *uctx);
67 int ocrdma_mmap(struct ib_ucontext *, struct vm_area_struct *vma);
/linux-6.6.21/drivers/infiniband/hw/efa/
Defa.h74 struct ib_ucontext ibucontext;
164 int efa_alloc_ucontext(struct ib_ucontext *ibucontext, struct ib_udata *udata);
165 void efa_dealloc_ucontext(struct ib_ucontext *ibucontext);
166 int efa_mmap(struct ib_ucontext *ibucontext,
/linux-6.6.21/drivers/infiniband/hw/qedr/
Dverbs.h45 int qedr_alloc_ucontext(struct ib_ucontext *uctx, struct ib_udata *udata);
46 void qedr_dealloc_ucontext(struct ib_ucontext *uctx);
48 int qedr_mmap(struct ib_ucontext *ucontext, struct vm_area_struct *vma);
/linux-6.6.21/drivers/infiniband/hw/erdma/
Derdma_verbs.h42 struct ib_ucontext ibucontext;
290 static inline struct erdma_ucontext *to_ectx(struct ib_ucontext *ibctx) in to_ectx()
321 int erdma_alloc_ucontext(struct ib_ucontext *ibctx, struct ib_udata *data);
322 void erdma_dealloc_ucontext(struct ib_ucontext *ibctx);
348 int erdma_mmap(struct ib_ucontext *ctx, struct vm_area_struct *vma);
/linux-6.6.21/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);
83 int siw_mmap(struct ib_ucontext *ctx, struct vm_area_struct *vma);
/linux-6.6.21/drivers/infiniband/hw/bnxt_re/
Dib_verbs.h136 struct ib_ucontext ib_uctx;
236 int bnxt_re_alloc_ucontext(struct ib_ucontext *ctx, struct ib_udata *udata);
237 void bnxt_re_dealloc_ucontext(struct ib_ucontext *context);
238 int bnxt_re_mmap(struct ib_ucontext *context, struct vm_area_struct *vma);
/linux-6.6.21/drivers/infiniband/hw/mthca/
Dmthca_provider.h65 struct ib_ucontext ibucontext;
281 static inline struct mthca_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext()
/linux-6.6.21/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.h363 int pvrdma_mmap(struct ib_ucontext *context, struct vm_area_struct *vma);
364 int pvrdma_alloc_ucontext(struct ib_ucontext *uctx, struct ib_udata *udata);
365 void pvrdma_dealloc_ucontext(struct ib_ucontext *context);
/linux-6.6.21/drivers/infiniband/sw/rdmavt/
Dmmap.h13 int rvt_mmap(struct ib_ucontext *context, struct vm_area_struct *vma);
Dvt.c245 static int rvt_alloc_ucontext(struct ib_ucontext *uctx, struct ib_udata *udata) in rvt_alloc_ucontext()
254 static void rvt_dealloc_ucontext(struct ib_ucontext *context) in rvt_dealloc_ucontext()
377 INIT_RDMA_OBJ_SIZE(ib_ucontext, rvt_ucontext, ibucontext),
/linux-6.6.21/drivers/infiniband/hw/hns/
Dhns_roce_main.c298 hns_roce_user_mmap_entry_insert(struct ib_ucontext *ucontext, u64 address, in hns_roce_user_mmap_entry_insert()
343 static int hns_roce_alloc_uar_entry(struct ib_ucontext *uctx) in hns_roce_alloc_uar_entry()
357 static int hns_roce_alloc_ucontext(struct ib_ucontext *uctx, in hns_roce_alloc_ucontext()
430 static void hns_roce_dealloc_ucontext(struct ib_ucontext *ibcontext) in hns_roce_dealloc_ucontext()
440 static int hns_roce_mmap(struct ib_ucontext *uctx, struct vm_area_struct *vma) in hns_roce_mmap()
501 static void hns_roce_disassociate_ucontext(struct ib_ucontext *ibcontext) in hns_roce_disassociate_ucontext()
633 INIT_RDMA_OBJ_SIZE(ib_ucontext, hns_roce_ucontext, ibucontext),
/linux-6.6.21/include/rdma/
Dib_verbs.h1512 struct ib_ucontext { struct
1529 struct ib_ucontext *context; /* associated user context */ argument
2316 struct ib_ucontext *ucontext;
2444 int (*alloc_ucontext)(struct ib_ucontext *context,
2446 void (*dealloc_ucontext)(struct ib_ucontext *context);
2447 int (*mmap)(struct ib_ucontext *context, struct vm_area_struct *vma);
2455 void (*disassociate_ucontext)(struct ib_ucontext *ibcontext);
2552 struct ib_ucontext *context,
2668 int (*query_ucontext)(struct ib_ucontext *context,
2685 DECLARE_RDMA_OBJ_SIZE(ib_ucontext);
[all …]
Drdma_vt.h151 struct ib_ucontext ibucontext;
175 struct ib_ucontext *context;
/linux-6.6.21/drivers/infiniband/hw/cxgb4/
Dprovider.c62 static void c4iw_dealloc_ucontext(struct ib_ucontext *context) in c4iw_dealloc_ucontext()
76 static int c4iw_alloc_ucontext(struct ib_ucontext *ucontext, in c4iw_alloc_ucontext()
125 static int c4iw_mmap(struct ib_ucontext *context, struct vm_area_struct *vma) in c4iw_mmap()
509 INIT_RDMA_OBJ_SIZE(ib_ucontext, c4iw_ucontext, ibucontext),
/linux-6.6.21/drivers/infiniband/hw/mlx5/
Ddm.h58 struct ib_ucontext *context,
Ddm.c150 static int add_dm_mmap_entry(struct ib_ucontext *context, in add_dm_mmap_entry()
274 static struct ib_dm *handle_alloc_dm_memic(struct ib_ucontext *ctx, in handle_alloc_dm_memic()
350 static struct ib_dm *handle_alloc_dm_sw_icm(struct ib_ucontext *ctx, in handle_alloc_dm_sw_icm()
419 struct ib_ucontext *context, in mlx5_ib_alloc_dm()
/linux-6.6.21/drivers/infiniband/sw/rxe/
Drxe_loc.h45 struct ib_ucontext *context;
57 int rxe_mmap(struct ib_ucontext *context, struct vm_area_struct *vma);
Drxe_verbs.h36 struct ib_ucontext ibuc;
418 static inline struct rxe_ucontext *to_ruc(struct ib_ucontext *uc) in to_ruc()

123