Home
last modified time | relevance | path

Searched refs:ERR_PTR (Results 1 – 25 of 39) sorted by relevance

12

/NextBSD/sys/ofed/drivers/infiniband/hw/mthca/
HDmthca_provider.c339 return ERR_PTR(-EAGAIN); in mthca_alloc_ucontext()
351 return ERR_PTR(-ENOMEM); in mthca_alloc_ucontext()
356 return ERR_PTR(err); in mthca_alloc_ucontext()
364 return ERR_PTR(err); in mthca_alloc_ucontext()
371 return ERR_PTR(-EFAULT); in mthca_alloc_ucontext()
414 return ERR_PTR(-ENOMEM); in mthca_alloc_pd()
419 return ERR_PTR(err); in mthca_alloc_pd()
426 return ERR_PTR(-EFAULT); in mthca_alloc_pd()
449 return ERR_PTR(-ENOMEM); in mthca_ah_create()
454 return ERR_PTR(err); in mthca_ah_create()
[all …]
HDmthca_mr.c215 return ERR_PTR(-EINVAL); in __mthca_alloc_mtt()
219 return ERR_PTR(-ENOMEM); in __mthca_alloc_mtt()
229 return ERR_PTR(-ENOMEM); in __mthca_alloc_mtt()
/NextBSD/sys/dev/cxgb/ulp/iw_cxgb/
HDiw_cxgb_provider.c95 return ERR_PTR(-ENOSYS); in iwch_ah_create()
152 return ERR_PTR(-ENOMEM); in iwch_alloc_ucontext()
196 return ERR_PTR(-ENOMEM); in iwch_create_cq()
203 return ERR_PTR(-EFAULT); in iwch_create_cq()
227 return ERR_PTR(-ENOMEM); in iwch_create_cq()
236 return ERR_PTR(-ENOMEM); in iwch_create_cq()
245 return ERR_PTR(-ENOMEM); in iwch_create_cq()
272 return ERR_PTR(-EFAULT); in iwch_create_cq()
355 return ERR_PTR(-EINVAL); in iwch_allocate_pd()
359 return ERR_PTR(-ENOMEM); in iwch_allocate_pd()
[all …]
/NextBSD/sys/ofed/drivers/infiniband/core/
HDfmr_pool.c221 return ERR_PTR(-EINVAL); in ib_create_fmr_pool()
228 return ERR_PTR(-ENOSYS); in ib_create_fmr_pool()
234 return ERR_PTR(-ENOMEM); in ib_create_fmr_pool()
241 return ERR_PTR(ret); in ib_create_fmr_pool()
254 return ERR_PTR(-ENOMEM); in ib_create_fmr_pool()
343 return ERR_PTR(ret); in ib_create_fmr_pool()
348 return ERR_PTR(-ENOMEM); in ib_create_fmr_pool()
445 return ERR_PTR(-EINVAL); in ib_fmr_pool_map_phys()
466 return ERR_PTR(-EAGAIN); in ib_fmr_pool_map_phys()
484 return ERR_PTR(result); in ib_fmr_pool_map_phys()
HDumem.c128 return ERR_PTR(ret); in peer_umem_get()
258 return ERR_PTR(-error); in ib_umem_get_ex()
264 return ERR_PTR(-EINVAL); in ib_umem_get_ex()
267 return ERR_PTR(-ENOMEM); in ib_umem_get_ex()
270 return ERR_PTR(-ENOMEM); in ib_umem_get_ex()
278 return ERR_PTR(-ENOMEM); in ib_umem_get_ex()
283 return ERR_PTR(-EAGAIN); in ib_umem_get_ex()
290 return ERR_PTR(-ENOMEM); in ib_umem_get_ex()
375 return ret < 0 ? ERR_PTR(ret) : umem; in ib_umem_get_ex()
HDverbs.c252 return ERR_PTR(ret); in ib_create_ah_from_wc()
296 return ERR_PTR(-ENOSYS); in ib_create_srq()
411 return ERR_PTR(-ENOMEM); in __ib_open_qp()
434 return ERR_PTR(-EINVAL); in ib_open_qp()
436 qp = ERR_PTR(-EINVAL); in ib_open_qp()
1077 return ERR_PTR(err); in ib_get_dma_mr()
1104 return ERR_PTR(err); in ib_reg_phys_mr()
1107 return ERR_PTR(-ENOSYS); in ib_reg_phys_mr()
1190 return ERR_PTR(-ENOSYS); in ib_create_mr()
1228 return ERR_PTR(-ENOSYS); in ib_alloc_fast_reg_mr()
[all …]
HDmad.c726 struct ib_mad_agent *ret = ERR_PTR(-EINVAL); in ib_register_mad_agent()
801 ret = ERR_PTR(-ENODEV); in ib_register_mad_agent()
808 ret = ERR_PTR(-EPROTONOSUPPORT); in ib_register_mad_agent()
815 ret = ERR_PTR(-ENOMEM); in ib_register_mad_agent()
822 ret = ERR_PTR(-ENOMEM); in ib_register_mad_agent()
829 ret = ERR_PTR(-ENOMEM); in ib_register_mad_agent()
894 ret = ERR_PTR(ret2); in ib_register_mad_agent()
983 ret = ERR_PTR(-EINVAL); in ib_register_mad_snoop()
988 ret = ERR_PTR(-EINVAL); in ib_register_mad_snoop()
993 ret = ERR_PTR(-ENODEV); in ib_register_mad_snoop()
[all …]
HDmulticast.c639 return ERR_PTR(-ENODEV); in ib_sa_join_multicast()
643 return ERR_PTR(-ENOMEM); in ib_sa_join_multicast()
675 return ERR_PTR(ret); in ib_sa_join_multicast()
HDucma.c108 ctx = ERR_PTR(-ENOENT); in _ucma_find_context()
110 ctx = ERR_PTR(-EINVAL); in _ucma_find_context()
1113 mc = ERR_PTR(-ENOENT); in ucma_leave_multicast()
1115 mc = ERR_PTR(-EINVAL); in ucma_leave_multicast()
HDucm.c130 ctx = ERR_PTR(-ENOENT); in ib_ucm_ctx_get()
132 ctx = ERR_PTR(-EINVAL); in ib_ucm_ctx_get()
543 ctx = ERR_PTR(-ENOENT); in ib_ucm_destroy_id()
545 ctx = ERR_PTR(-EINVAL); in ib_ucm_destroy_id()
/NextBSD/sys/ofed/drivers/infiniband/hw/mlx4/
HDmr.c112 return ERR_PTR(-ENOMEM); in mlx4_ib_get_dma_mr()
134 return ERR_PTR(err); in mlx4_ib_get_dma_mr()
536 return ERR_PTR(-ENOMEM); in mlx4_ib_reg_user_mr()
612 return ERR_PTR(err); in mlx4_ib_reg_user_mr()
660 return ERR_PTR(-ENOMEM); in mlx4_ib_alloc_mw()
680 return ERR_PTR(err); in mlx4_ib_alloc_mw()
724 return ERR_PTR(-ENOMEM); in mlx4_ib_alloc_fast_reg_mr()
745 return ERR_PTR(err); in mlx4_ib_alloc_fast_reg_mr()
756 return ERR_PTR(-EINVAL); in mlx4_ib_alloc_fast_reg_page_list()
760 return ERR_PTR(-ENOMEM); in mlx4_ib_alloc_fast_reg_page_list()
[all …]
HDsrq.c89 return ERR_PTR(-EINVAL); in mlx4_ib_create_srq()
93 return ERR_PTR(-ENOMEM); in mlx4_ib_create_srq()
224 return ERR_PTR(err); in mlx4_ib_create_srq()
HDah.c140 return ERR_PTR(-ENOMEM); in mlx4_ib_create_ah()
144 ret = ERR_PTR(-EINVAL); in mlx4_ib_create_ah()
HDmlx4_exp.c87 return ERR_PTR(-EINVAL); in mlx4_ib_exp_create_qp()
HDmain.c677 return ERR_PTR(-EAGAIN); in mlx4_ib_alloc_ucontext()
703 return ERR_PTR(-ENOMEM); in mlx4_ib_alloc_ucontext()
708 return ERR_PTR(err); in mlx4_ib_alloc_ucontext()
722 return ERR_PTR(-EFAULT); in mlx4_ib_alloc_ucontext()
906 return ERR_PTR(-ENOMEM); in mlx4_ib_alloc_pd()
911 return ERR_PTR(err); in mlx4_ib_alloc_pd()
918 return ERR_PTR(-EFAULT); in mlx4_ib_alloc_pd()
940 return ERR_PTR(-ENOSYS); in mlx4_ib_alloc_xrcd()
944 return ERR_PTR(-ENOMEM); in mlx4_ib_alloc_xrcd()
970 return ERR_PTR(err); in mlx4_ib_alloc_xrcd()
[all …]
HDcq.c214 return ERR_PTR(-EINVAL); in mlx4_ib_create_cq()
217 return ERR_PTR(-EINVAL); in mlx4_ib_create_cq()
221 return ERR_PTR(-ENOMEM); in mlx4_ib_create_cq()
306 return ERR_PTR(err); in mlx4_ib_create_cq()
HDcm.c253 return ERR_PTR(-ENOMEM); in id_map_alloc()
284 return ERR_PTR(-ENOMEM); in id_map_alloc()
HDqp.c1404 return ERR_PTR(-EINVAL); in mlx4_ib_create_qp()
1408 return ERR_PTR(-EINVAL); in mlx4_ib_create_qp()
1419 return ERR_PTR(-EINVAL); in mlx4_ib_create_qp()
1430 return ERR_PTR(-EINVAL); in mlx4_ib_create_qp()
1434 return ERR_PTR(err); in mlx4_ib_create_qp()
1444 return ERR_PTR(-ENOSYS); in mlx4_ib_create_qp()
1452 return ERR_PTR(-ENOMEM); in mlx4_ib_create_qp()
1460 return ERR_PTR(err); in mlx4_ib_create_qp()
1473 return ERR_PTR(-EINVAL); in mlx4_ib_create_qp()
1479 return ERR_PTR(err); in mlx4_ib_create_qp()
[all …]
/NextBSD/sys/dev/cxgbe/iw_cxgbe/
HDmem.c458 return ERR_PTR(-ENOMEM); in c4iw_register_phys_mem()
513 return ERR_PTR(ret); in c4iw_register_phys_mem()
531 return ERR_PTR(-ENOMEM); in c4iw_get_dma_mr()
558 return ERR_PTR(ret); in c4iw_get_dma_mr()
576 return ERR_PTR(-EINVAL); in c4iw_reg_user_mr()
579 return ERR_PTR(-EINVAL); in c4iw_reg_user_mr()
585 return ERR_PTR(-ENOMEM); in c4iw_reg_user_mr()
593 return ERR_PTR(err); in c4iw_reg_user_mr()
657 return ERR_PTR(err); in c4iw_reg_user_mr()
673 return ERR_PTR(-ENOMEM); in c4iw_alloc_mw()
[all …]
HDprovider.c60 return ERR_PTR(-ENOSYS); in c4iw_ah_create()
109 return ERR_PTR(-ENOMEM); in c4iw_alloc_ucontext()
246 return ERR_PTR(-EINVAL); in c4iw_allocate_pd()
250 return ERR_PTR(-ENOMEM); in c4iw_allocate_pd()
257 return ERR_PTR(-EFAULT); in c4iw_allocate_pd()
HDdevice.c177 return (ERR_PTR(-ENOMEM)); in c4iw_alloc()
185 return (ERR_PTR(rc)); in c4iw_alloc()
HDqp.c1467 return ERR_PTR(-EINVAL); in c4iw_create_qp()
1474 return ERR_PTR(-EINVAL); in c4iw_create_qp()
1477 return ERR_PTR(-EINVAL); in c4iw_create_qp()
1481 return ERR_PTR(-E2BIG); in c4iw_create_qp()
1485 return ERR_PTR(-E2BIG); in c4iw_create_qp()
1492 return ERR_PTR(-ENOMEM); in c4iw_create_qp()
1638 return ERR_PTR(ret); in c4iw_create_qp()
/NextBSD/sys/dev/drm2/radeon/
HDradeon_prime.c112 return ERR_PTR(ret); in radeon_gem_prime_vmap()
177 return ERR_PTR(ret); in radeon_gem_prime_export()
183 return ERR_PTR(ret); in radeon_gem_prime_export()
229 return ERR_PTR(ret); in radeon_gem_prime_import()
/NextBSD/sys/compat/linuxkpi/common/include/linux/
HDerr.h39 ERR_PTR(long error) in ERR_PTR() function
/NextBSD/sys/dev/mlx5/mlx5_core/
HDmlx5_cmd.c85 return ERR_PTR(-ENOMEM); in alloc_cmd()
958 return ERR_PTR(-ENOMEM); in alloc_cmd_box()
965 return ERR_PTR(-ENOMEM); in alloc_cmd_box()
993 return ERR_PTR(-ENOMEM); in mlx5_alloc_cmd_msg()
1024 return ERR_PTR(err); in mlx5_alloc_cmd_msg()
1172 struct mlx5_cmd_msg *msg = ERR_PTR(-ENOMEM); in alloc_msg()

12