H A D | cma.c | 112 struct rdma_id_private { struct 152 struct rdma_id_private *id_priv; 164 struct rdma_id_private *id; 172 struct rdma_id_private *id; 178 struct rdma_id_private *id; 200 static int cma_comp(struct rdma_id_private *id_priv, enum rdma_cm_state comp) cma_comp() 211 static int cma_comp_exch(struct rdma_id_private *id_priv, cma_comp_exch() 224 static enum rdma_cm_state cma_exch(struct rdma_id_private *id_priv, cma_exch() 247 static void cma_attach_to_dev(struct rdma_id_private *id_priv, cma_attach_to_dev() 272 static void cma_release_dev(struct rdma_id_private *id_priv) cma_release_dev() 281 static inline struct sockaddr *cma_src_addr(struct rdma_id_private *id_priv) cma_src_addr() 286 static inline struct sockaddr *cma_dst_addr(struct rdma_id_private *id_priv) cma_dst_addr() 291 static inline unsigned short cma_family(struct rdma_id_private *id_priv) cma_family() 296 static int cma_set_qkey(struct rdma_id_private *id_priv, u32 qkey) cma_set_qkey() 352 static int cma_acquire_dev(struct rdma_id_private *id_priv, cma_acquire_dev() 353 struct rdma_id_private *listen_id_priv) cma_acquire_dev() 423 static int cma_resolve_ib_dev(struct rdma_id_private *id_priv) cma_resolve_ib_dev() 474 static void cma_deref_id(struct rdma_id_private *id_priv) cma_deref_id() 480 static int cma_disable_callback(struct rdma_id_private *id_priv, cma_disable_callback() 495 struct rdma_id_private *id_priv; rdma_create_id() 520 static int cma_init_ud_qp(struct rdma_id_private *id_priv, struct ib_qp *qp) cma_init_ud_qp() 546 static int cma_init_conn_qp(struct rdma_id_private *id_priv, struct ib_qp *qp) cma_init_conn_qp() 562 struct rdma_id_private *id_priv; rdma_create_qp() 566 id_priv = container_of(id, struct rdma_id_private, id); rdma_create_qp() 593 struct rdma_id_private *id_priv; rdma_destroy_qp() 595 id_priv = container_of(id, struct rdma_id_private, id); rdma_destroy_qp() 603 static int cma_modify_qp_rtr(struct rdma_id_private *id_priv, cma_modify_qp_rtr() 653 static int cma_modify_qp_rts(struct rdma_id_private *id_priv, cma_modify_qp_rts() 678 static int cma_modify_qp_err(struct rdma_id_private *id_priv) cma_modify_qp_err() 696 static int cma_ib_init_qp_attr(struct rdma_id_private *id_priv, cma_ib_init_qp_attr() 734 struct rdma_id_private *id_priv; rdma_init_qp_attr() 737 id_priv = container_of(id, struct rdma_id_private, id); rdma_init_qp_attr() 941 static inline int cma_user_data_offset(struct rdma_id_private *id_priv) cma_user_data_offset() 946 static void cma_cancel_route(struct rdma_id_private *id_priv) cma_cancel_route() 958 static void cma_cancel_listens(struct rdma_id_private *id_priv) cma_cancel_listens() 960 struct rdma_id_private *dev_id_priv; cma_cancel_listens() 971 struct rdma_id_private, listen_list); cma_cancel_listens() 983 static void cma_cancel_operation(struct rdma_id_private *id_priv, cma_cancel_operation() 1002 static void cma_release_port(struct rdma_id_private *id_priv) cma_release_port() 1018 static void cma_leave_mc_groups(struct rdma_id_private *id_priv) cma_leave_mc_groups() 1042 struct rdma_id_private *id_priv; rdma_destroy_id() 1045 id_priv = container_of(id, struct rdma_id_private, id); rdma_destroy_id() 1085 static int cma_rep_recv(struct rdma_id_private *id_priv) cma_rep_recv() 1125 struct rdma_id_private *id_priv = cm_id->context; cma_ib_handler() 1199 static struct rdma_id_private *cma_new_conn_id(struct rdma_cm_id *listen_id, cma_new_conn_id() 1202 struct rdma_id_private *id_priv; cma_new_conn_id() 1212 id_priv = container_of(id, struct rdma_id_private, id); cma_new_conn_id() 1246 static struct rdma_id_private *cma_new_udp_id(struct rdma_cm_id *listen_id, cma_new_udp_id() 1249 struct rdma_id_private *id_priv; cma_new_udp_id() 1258 id_priv = container_of(id, struct rdma_id_private, id); cma_new_udp_id() 1301 struct rdma_id_private *listen_id, *conn_id; cma_req_handler() 1422 struct rdma_id_private *id_priv = iw_id->context; cma_iw_handler() 1489 struct rdma_id_private *listen_id, *conn_id; iw_conn_req_handler() 1508 conn_id = container_of(new_cm_id, struct rdma_id_private, id); iw_conn_req_handler() 1571 static int cma_ib_listen(struct rdma_id_private *id_priv) cma_ib_listen() 1602 static int cma_iw_listen(struct rdma_id_private *id_priv, int backlog) cma_iw_listen() 1631 struct rdma_id_private *id_priv = id->context; cma_listen_handler() 1638 static void cma_listen_on_dev(struct rdma_id_private *id_priv, cma_listen_on_dev() 1641 struct rdma_id_private *dev_id_priv; cma_listen_on_dev() 1654 dev_id_priv = container_of(id, struct rdma_id_private, id); cma_listen_on_dev() 1672 static void cma_listen_on_all(struct rdma_id_private *id_priv) cma_listen_on_all() 1685 struct rdma_id_private *id_priv; rdma_set_service_type() 1687 id_priv = container_of(id, struct rdma_id_private, id); rdma_set_service_type() 1713 static int cma_query_ib_route(struct rdma_id_private *id_priv, int timeout_ms, cma_query_ib_route() 1763 struct rdma_id_private *id_priv = work->id; cma_work_handler() 1785 struct rdma_id_private *id_priv = work->id; cma_ndev_work_handler() 1806 static int cma_resolve_ib_route(struct rdma_id_private *id_priv, int timeout_ms) cma_resolve_ib_route() 1844 struct rdma_id_private *id_priv; rdma_set_ib_paths() 1847 id_priv = container_of(id, struct rdma_id_private, id); rdma_set_ib_paths() 1867 static int cma_resolve_iw_route(struct rdma_id_private *id_priv, int timeout_ms) cma_resolve_iw_route() 1904 static int cma_resolve_iboe_route(struct rdma_id_private *id_priv) cma_resolve_iboe_route() 1979 struct rdma_id_private *id_priv; rdma_resolve_route() 1982 id_priv = container_of(id, struct rdma_id_private, id); rdma_resolve_route() 2035 static int cma_bind_loopback(struct rdma_id_private *id_priv) cma_bind_loopback() 2096 struct rdma_id_private *id_priv = context; addr_handler() 2130 static int cma_resolve_loopback(struct rdma_id_private *id_priv) cma_resolve_loopback() 2161 static int cma_resolve_ib_addr(struct rdma_id_private *id_priv) cma_resolve_ib_addr() 2211 struct rdma_id_private *id_priv; rdma_resolve_addr() 2214 id_priv = container_of(id, struct rdma_id_private, id); rdma_resolve_addr() 2253 struct rdma_id_private *id_priv; rdma_set_reuseaddr() 2257 id_priv = container_of(id, struct rdma_id_private, id); rdma_set_reuseaddr() 2272 struct rdma_id_private *id_priv; rdma_set_afonly() 2276 id_priv = container_of(id, struct rdma_id_private, id); rdma_set_afonly() 2291 struct rdma_id_private *id_priv) cma_bind_port() 2320 static int cma_alloc_port(struct idr *ps, struct rdma_id_private *id_priv, cma_alloc_port() 2343 static int cma_alloc_any_port(struct idr *ps, struct rdma_id_private *id_priv) cma_alloc_any_port() 2381 struct rdma_id_private *id_priv, uint8_t reuseaddr) cma_check_port() 2383 struct rdma_id_private *cur_id; cma_check_port() 2409 static int cma_use_port(struct idr *ps, struct rdma_id_private *id_priv) cma_use_port() 2430 static int cma_bind_listen(struct rdma_id_private *id_priv) cma_bind_listen() 2442 static struct idr *cma_select_inet_ps(struct rdma_id_private *id_priv) cma_select_inet_ps() 2458 static struct idr *cma_select_ib_ps(struct rdma_id_private *id_priv) cma_select_ib_ps() 2489 static int cma_get_port(struct rdma_id_private *id_priv) cma_get_port() 2535 struct rdma_id_private *id_priv; rdma_listen() 2538 id_priv = container_of(id, struct rdma_id_private, id); rdma_listen() 2585 struct rdma_id_private *id_priv; rdma_bind_addr() 2592 id_priv = container_of(id, struct rdma_id_private, id); rdma_bind_addr() 2633 static int cma_format_hdr(void *hdr, struct rdma_id_private *id_priv) cma_format_hdr() 2666 struct rdma_id_private *id_priv = cm_id->context; cma_sidr_rep_handler() 2722 static int cma_resolve_ib_udp(struct rdma_id_private *id_priv, cma_resolve_ib_udp() 2778 static int cma_connect_ib(struct rdma_id_private *id_priv, cma_connect_ib() 2849 static int cma_connect_iw(struct rdma_id_private *id_priv, cma_connect_iw() 2892 struct rdma_id_private *id_priv; rdma_connect() 2895 id_priv = container_of(id, struct rdma_id_private, id); rdma_connect() 2928 static int cma_accept_ib(struct rdma_id_private *id_priv, cma_accept_ib() 2959 static int cma_accept_iw(struct rdma_id_private *id_priv, cma_accept_iw() 2981 static int cma_send_sidr_rep(struct rdma_id_private *id_priv, cma_send_sidr_rep() 3005 struct rdma_id_private *id_priv; rdma_accept() 3008 id_priv = container_of(id, struct rdma_id_private, id); rdma_accept() 3059 struct rdma_id_private *id_priv; rdma_notify() 3062 id_priv = container_of(id, struct rdma_id_private, id); rdma_notify() 3081 struct rdma_id_private *id_priv; rdma_reject() 3084 id_priv = container_of(id, struct rdma_id_private, id); rdma_reject() 3112 struct rdma_id_private *id_priv; rdma_disconnect() 3115 id_priv = container_of(id, struct rdma_id_private, id); rdma_disconnect() 3142 struct rdma_id_private *id_priv; cma_ib_mc_handler() 3185 static void cma_set_mgid(struct rdma_id_private *id_priv, cma_set_mgid() 3215 static int cma_join_ib_multicast(struct rdma_id_private *id_priv, cma_join_ib_multicast() 3297 static int cma_iboe_join_multicast(struct rdma_id_private *id_priv, cma_iboe_join_multicast() 3359 struct rdma_id_private *id_priv; rdma_join_multicast() 3363 id_priv = container_of(id, struct rdma_id_private, id); rdma_join_multicast() 3411 struct rdma_id_private *id_priv; rdma_leave_multicast() 3414 id_priv = container_of(id, struct rdma_id_private, id); rdma_leave_multicast() 3445 static int cma_netdev_change(struct net_device *ndev, struct rdma_id_private *id_priv) cma_netdev_change() 3475 struct rdma_id_private *id_priv; cma_netdev_callback() 3507 struct rdma_id_private *id_priv; cma_add_one() 3527 static int cma_remove_id_dev(struct rdma_id_private *id_priv) cma_remove_id_dev() 3555 struct rdma_id_private *id_priv; cma_process_remove() 3561 struct rdma_id_private, list); cma_process_remove() 3601 struct rdma_id_private *id_priv; cma_get_id_stats()
|