Lines Matching refs:ucma_context
85 struct ucma_context { struct
102 struct ucma_context *ctx; argument
112 struct ucma_context *ctx;
113 struct ucma_context *conn_req_ctx;
123 static int ucma_destroy_private_ctx(struct ucma_context *ctx);
125 static inline struct ucma_context *_ucma_find_context(int id, in _ucma_find_context()
128 struct ucma_context *ctx; in _ucma_find_context()
138 static struct ucma_context *ucma_get_ctx(struct ucma_file *file, int id) in ucma_get_ctx()
140 struct ucma_context *ctx; in ucma_get_ctx()
151 static void ucma_put_ctx(struct ucma_context *ctx) in ucma_put_ctx()
161 static struct ucma_context *ucma_get_ctx_dev(struct ucma_file *file, int id) in ucma_get_ctx_dev()
163 struct ucma_context *ctx = ucma_get_ctx(file, id); in ucma_get_ctx_dev()
176 struct ucma_context *ctx = container_of(work, struct ucma_context, close_work); in ucma_close_id()
191 static struct ucma_context *ucma_alloc_ctx(struct ucma_file *file) in ucma_alloc_ctx()
193 struct ucma_context *ctx; in ucma_alloc_ctx()
213 static void ucma_set_ctx_cm_id(struct ucma_context *ctx, in ucma_set_ctx_cm_id()
220 static void ucma_finish_ctx(struct ucma_context *ctx) in ucma_finish_ctx()
256 static struct ucma_event *ucma_create_uevent(struct ucma_context *ctx, in ucma_create_uevent()
296 struct ucma_context *listen_ctx = cm_id->context; in ucma_connect_event_handler()
297 struct ucma_context *ctx; in ucma_connect_event_handler()
334 struct ucma_context *ctx = cm_id->context; in ucma_event_handler()
441 struct ucma_context *ctx; in ucma_create_id()
485 static void ucma_cleanup_multicast(struct ucma_context *ctx) in ucma_cleanup_multicast()
519 static int ucma_cleanup_ctx_events(struct ucma_context *ctx) in ucma_cleanup_ctx_events()
563 static int ucma_destroy_private_ctx(struct ucma_context *ctx) in ucma_destroy_private_ctx()
593 struct ucma_context *ctx; in ucma_destroy_id()
626 struct ucma_context *ctx; in ucma_bind_ip()
651 struct ucma_context *ctx; in ucma_bind()
677 struct ucma_context *ctx; in ucma_resolve_ip()
704 struct ucma_context *ctx; in ucma_resolve_addr()
732 struct ucma_context *ctx; in ucma_resolve_route()
819 struct ucma_context *ctx; in ucma_query_route()
880 static ssize_t ucma_query_addr(struct ucma_context *ctx, in ucma_query_addr()
908 static ssize_t ucma_query_path(struct ucma_context *ctx, in ucma_query_path()
947 static ssize_t ucma_query_gid(struct ucma_context *ctx, in ucma_query_gid()
998 struct ucma_context *ctx; in ucma_query()
1053 struct ucma_context *ctx; in ucma_connect()
1087 struct ucma_context *ctx; in ucma_listen()
1114 struct ucma_context *ctx; in ucma_accept()
1159 struct ucma_context *ctx; in ucma_reject()
1192 struct ucma_context *ctx; in ucma_disconnect()
1215 struct ucma_context *ctx; in ucma_init_qp_attr()
1251 static int ucma_set_option_id(struct ucma_context *ctx, int optname, in ucma_set_option_id()
1292 static int ucma_set_ib_path(struct ucma_context *ctx, in ucma_set_ib_path()
1339 static int ucma_set_option_ib(struct ucma_context *ctx, int optname, in ucma_set_option_ib()
1355 static int ucma_set_option_level(struct ucma_context *ctx, int level, in ucma_set_option_level()
1380 struct ucma_context *ctx; in ucma_set_option()
1414 struct ucma_context *ctx; in ucma_notify()
1437 struct ucma_context *ctx; in ucma_process_join()
1605 struct ucma_context *ctx; in ucma_migrate_id()
1792 struct ucma_context *ctx = list_first_entry( in ucma_close()
1793 &file->ctx_list, struct ucma_context, list); in ucma_close()