Home
last modified time | relevance | path

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

12

/drivers/infiniband/hw/ehca/
Dehca_iverbs.h64 struct ib_ucontext *context,
130 struct ib_ucontext *context,
183 struct ib_ucontext *ehca_alloc_ucontext(struct ib_device *device,
186 int ehca_dealloc_ucontext(struct ib_ucontext *context);
188 int ehca_mmap(struct ib_ucontext *context, struct vm_area_struct *vma);
Dehca_uverbs.c49 struct ib_ucontext *ehca_alloc_ucontext(struct ib_device *device, in ehca_alloc_ucontext()
60 return &my_context->ib_ucontext; in ehca_alloc_ucontext()
63 int ehca_dealloc_ucontext(struct ib_ucontext *context) in ehca_dealloc_ucontext()
65 kfree(container_of(context, struct ehca_ucontext, ib_ucontext)); in ehca_dealloc_ucontext()
246 int ehca_mmap(struct ib_ucontext *context, struct vm_area_struct *vma) in ehca_mmap()
Dehca_classes.h358 struct ib_ucontext ib_ucontext; member
Dehca_pd.c47 struct ib_ucontext *context, struct ib_udata *udata) in ehca_alloc_pd()
Dehca_cq.c115 struct ib_ucontext *context, in ehca_create_cq()
/drivers/infiniband/hw/amso1100/
Dc2_provider.h60 struct ib_ucontext ibucontext;
137 static inline struct c2_ucontext *to_c2ucontext(struct ib_ucontext *ibucontext) in to_c2ucontext()
Dc2_provider.c132 static struct ib_ucontext *c2_alloc_ucontext(struct ib_device *ibdev, in c2_alloc_ucontext()
145 static int c2_dealloc_ucontext(struct ib_ucontext *context) in c2_dealloc_ucontext()
152 static int c2_mmap_uar(struct ib_ucontext *context, struct vm_area_struct *vma) in c2_mmap_uar()
159 struct ib_ucontext *context, in c2_alloc_pd()
297 struct ib_ucontext *context, in c2_create_cq()
/drivers/infiniband/hw/ipath/
Dipath_mmap.c88 int ipath_mmap(struct ib_ucontext *context, struct vm_area_struct *vma) in ipath_mmap()
132 struct ib_ucontext *context, in ipath_create_mmap_info()
Dipath_verbs.h189 struct ib_ucontext *context;
811 struct ib_ucontext *context,
846 struct ib_ucontext *context,
853 int ipath_mmap(struct ib_ucontext *context, struct vm_area_struct *vma);
Dipath_verbs.c136 struct ib_ucontext ibucontext;
139 static inline struct ipath_ucontext *to_iucontext(struct ib_ucontext in to_iucontext()
1699 struct ib_ucontext *context, in ipath_alloc_pd()
1896 static struct ib_ucontext *ipath_alloc_ucontext(struct ib_device *ibdev, in ipath_alloc_ucontext()
1900 struct ib_ucontext *ret; in ipath_alloc_ucontext()
1914 static int ipath_dealloc_ucontext(struct ib_ucontext *context) in ipath_dealloc_ucontext()
Dipath_cq.c200 struct ib_ucontext *context, in ipath_create_cq()
/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h48 struct ib_ucontext ibucontext;
184 static inline struct mlx4_ib_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext()
263 struct ib_ucontext *context,
Dmain.c337 static struct ib_ucontext *mlx4_ib_alloc_ucontext(struct ib_device *ibdev, in mlx4_ib_alloc_ucontext()
372 static int mlx4_ib_dealloc_ucontext(struct ib_ucontext *ibcontext) in mlx4_ib_dealloc_ucontext()
382 static int mlx4_ib_mmap(struct ib_ucontext *context, struct vm_area_struct *vma) in mlx4_ib_mmap()
412 struct ib_ucontext *context, in mlx4_ib_alloc_pd()
Dcq.c134 static int mlx4_ib_get_cq_umem(struct mlx4_ib_dev *dev, struct ib_ucontext *context, in mlx4_ib_get_cq_umem()
166 struct ib_ucontext *context, in mlx4_ib_create_cq()
/drivers/infiniband/hw/mthca/
Dmthca_provider.h65 struct ib_ucontext ibucontext;
298 static inline struct mthca_ucontext *to_mucontext(struct ib_ucontext *ibucontext) in to_mucontext()
Dmthca_provider.c330 static struct ib_ucontext *mthca_alloc_ucontext(struct ib_device *ibdev, in mthca_alloc_ucontext()
375 static int mthca_dealloc_ucontext(struct ib_ucontext *context) in mthca_dealloc_ucontext()
385 static int mthca_mmap_uar(struct ib_ucontext *context, in mthca_mmap_uar()
402 struct ib_ucontext *context, in mthca_alloc_pd()
673 struct ib_ucontext *context, in mthca_create_cq()
/drivers/infiniband/core/
Dumem.c76 struct ib_umem *ib_umem_get(struct ib_ucontext *context, unsigned long addr, in ib_umem_get()
236 struct ib_ucontext *context = umem->context; in ib_umem_release()
Duverbs_cmd.c84 struct ib_ucontext *context, struct lock_class_key *key) in init_uobj()
142 struct ib_ucontext *context) in __idr_get_uobj()
160 struct ib_ucontext *context, int nested) in idr_read_uobj()
181 struct ib_ucontext *context) in idr_write_uobj()
198 static void *idr_read_obj(struct idr *idr, int id, struct ib_ucontext *context, in idr_read_obj()
207 static struct ib_pd *idr_read_pd(int pd_handle, struct ib_ucontext *context) in idr_read_pd()
217 static struct ib_cq *idr_read_cq(int cq_handle, struct ib_ucontext *context, int nested) in idr_read_cq()
227 static struct ib_ah *idr_read_ah(int ah_handle, struct ib_ucontext *context) in idr_read_ah()
237 static struct ib_qp *idr_read_qp(int qp_handle, struct ib_ucontext *context) in idr_read_qp()
247 static struct ib_srq *idr_read_srq(int srq_handle, struct ib_ucontext *context) in idr_read_srq()
[all …]
Duverbs.h95 struct ib_ucontext *ucontext;
Duverbs_main.c185 struct ib_ucontext *context) in ib_uverbs_cleanup_ucontext()
/drivers/infiniband/hw/cxgb3/
Diwch_provider.h185 struct ib_ucontext ibucontext;
192 static inline struct iwch_ucontext *to_iwch_ucontext(struct ib_ucontext *c) in to_iwch_ucontext()
Diwch_provider.c99 static int iwch_dealloc_ucontext(struct ib_ucontext *context) in iwch_dealloc_ucontext()
113 static struct ib_ucontext *iwch_alloc_ucontext(struct ib_device *ibdev, in iwch_alloc_ucontext()
146 struct ib_ucontext *ib_context, in iwch_create_cq()
331 static int iwch_mmap(struct ib_ucontext *context, struct vm_area_struct *vma) in iwch_mmap()
401 struct ib_ucontext *context, in iwch_allocate_pd()
/drivers/infiniband/hw/nes/
Dnes_verbs.h44 struct ib_ucontext ibucontext;
Dnes.h453 static inline struct nes_ucontext *to_nesucontext(struct ib_ucontext *ibucontext) in to_nesucontext()
Dnes_verbs.c729 static struct ib_ucontext *nes_alloc_ucontext(struct ib_device *ibdev, in nes_alloc_ucontext()
787 static int nes_dealloc_ucontext(struct ib_ucontext *context) in nes_dealloc_ucontext()
803 static int nes_mmap(struct ib_ucontext *context, struct vm_area_struct *vma) in nes_mmap()
860 struct ib_ucontext *context, struct ib_udata *udata) in nes_alloc_pd()
1572 struct ib_ucontext *context, struct ib_udata *udata) in nes_create_cq()

12