Lines Matching refs:ERR
210 ret = ERR(ENODEV); in ucma_init()
215 ret = ERR(ENODEV); in ucma_init()
221 ret = ERR(ENOMEM); in ucma_init()
275 return ERR(ENODEV); in ucma_init_device()
279 ret = ERR(ret); in ucma_init_device()
285 ret = ERR(ENOMEM); in ucma_init_device()
396 return ERR(ENODEV); in ucma_get_device()
406 ret = ERR(ENOMEM); in ucma_get_device()
531 return ERR(ENOMEM); in rdma_create_id2()
575 return (ret >= 0) ? ERR(ENODATA) : -1; in ucma_destroy_kern_id()
635 return (ret >= 0) ? ERR(ENODATA) : -1; in ucma_query_addr()
668 return (ret >= 0) ? ERR(ENODATA) : -1; in ucma_query_gid()
729 return (ret >= 0) ? ERR(ENODATA) : -1; in ucma_query_path()
737 return ERR(ENOMEM); in ucma_query_path()
760 return (ret >= 0) ? ERR(ENODATA) : -1; in ucma_query_route()
768 return ERR(ENOMEM); in ucma_query_route()
811 return (ret >= 0) ? ERR(ENODATA) : -1; in rdma_bind_addr2()
827 return ERR(EINVAL); in rdma_bind_addr()
839 return (ret >= 0) ? ERR(ENODATA) : -1; in rdma_bind_addr()
864 ret = ERR(ECONNREFUSED); in ucma_complete()
866 ret = ERR(-id_priv->id.event->status); in ucma_complete()
868 ret = ERR(-id_priv->id.event->status); in ucma_complete()
892 return (ret >= 0) ? ERR(ENODATA) : -1; in rdma_resolve_addr2()
907 return ERR(EINVAL); in rdma_resolve_addr()
911 return ERR(EINVAL); in rdma_resolve_addr()
927 return (ret >= 0) ? ERR(ENODATA) : -1; in rdma_resolve_addr()
979 return (ret >= 0) ? ERR(ENODATA) : -1; in rdma_resolve_route()
1005 return (ret >= 0) ? ERR(ENODATA) : -1; in rdma_init_qp_attr()
1022 return ERR(EINVAL); in ucma_modify_qp_rtr()
1032 return ERR(ret); in ucma_modify_qp_rtr()
1104 return ERR(EINVAL); in ucma_find_pkey()
1161 return ERR(ret); in ucma_init_ud_qp3()
1166 return ERR(ret); in ucma_init_ud_qp3()
1189 return ERR(ret); in ucma_init_ud_qp()
1194 return ERR(ret); in ucma_init_ud_qp()
1253 return ERR(ENOMEM); in ucma_create_cqs()
1264 return ERR(EINVAL); in rdma_create_srq_ex()
1335 return ERR(EINVAL); in rdma_create_qp_ex()
1342 return ERR(EINVAL); in rdma_create_qp_ex()
1346 return ERR(EINVAL); in rdma_create_qp_ex()
1370 ret = ERR(ENOMEM); in rdma_create_qp_ex()
1434 return ERR(EINVAL); in ucma_valid_param()
1506 return (ret >= 0) ? ERR(ENODATA) : -1; in rdma_connect()
1529 return (ret >= 0) ? ERR(ENODATA) : -1; in rdma_listen()
1545 return ERR(EINVAL); in rdma_get_request()
1557 ret = ERR(event->status); in rdma_get_request()
1562 ret = ERR(EINVAL); in rdma_get_request()
1633 return (ret >= 0) ? ERR(ENODATA) : -1; in rdma_accept()
1660 return (ret >= 0) ? ERR(ENODATA) : -1; in rdma_reject()
1678 return (ret >= 0) ? ERR(ENODATA) : -1; in rdma_notify()
1691 return ERR(EINVAL); in ucma_shutdown()
1711 return (ret >= 0) ? ERR(ENODATA) : -1; in rdma_disconnect()
1727 return ERR(ENOMEM); in rdma_join_multicast2()
1754 ret = (ret >= 0) ? ERR(ENODATA) : -1; in rdma_join_multicast2()
1767 ret = (ret >= 0) ? ERR(ENODATA) : -1; in rdma_join_multicast2()
1795 return ERR(EINVAL); in rdma_join_multicast()
1810 return ERR(EINVAL); in rdma_leave_multicast()
1823 return ERR(EADDRNOTAVAIL); in rdma_leave_multicast()
1833 ret = (ret >= 0) ? ERR(ENODATA) : -1; in rdma_leave_multicast()
1873 return ERR(EINVAL); in rdma_ack_cm_event()
1947 ret = ERR(ENOMEM); in ucma_process_conn_req()
1995 ret = (ret >= 0) ? ERR(ENODATA) : -1; in ucma_process_conn_resp()
2068 return ERR(EINVAL); in rdma_get_cm_event()
2072 return ERR(ENOMEM); in rdma_get_cm_event()
2080 return (ret >= 0) ? ERR(ENODATA) : -1; in rdma_get_cm_event()
2250 return (ret >= 0) ? ERR(ENODATA) : -1; in rdma_set_option()
2264 return ERR(EINVAL); in rdma_migrate_id()
2280 return (ret >= 0) ? ERR(ENODATA) : -1; in rdma_migrate_id()
2330 return ERR(ENOMEM); in ucma_passive_ep()
2387 ret = ERR(ENOMEM); in rdma_create_ep()