Lines Matching refs:ucma_context

85 struct ucma_context {  struct
103 struct ucma_context *ctx; argument
114 struct ucma_context *ctx;
115 struct ucma_context *conn_req_ctx;
125 static int ucma_destroy_private_ctx(struct ucma_context *ctx);
127 static inline struct ucma_context *_ucma_find_context(int id, in _ucma_find_context()
130 struct ucma_context *ctx; in _ucma_find_context()
140 static struct ucma_context *ucma_get_ctx(struct ucma_file *file, int id) in ucma_get_ctx()
142 struct ucma_context *ctx; in ucma_get_ctx()
153 static void ucma_put_ctx(struct ucma_context *ctx) in ucma_put_ctx()
163 static struct ucma_context *ucma_get_ctx_dev(struct ucma_file *file, int id) in ucma_get_ctx_dev()
165 struct ucma_context *ctx = ucma_get_ctx(file, id); in ucma_get_ctx_dev()
178 struct ucma_context *ctx = container_of(work, struct ucma_context, close_work); in ucma_close_id()
193 static struct ucma_context *ucma_alloc_ctx(struct ucma_file *file) in ucma_alloc_ctx()
195 struct ucma_context *ctx; in ucma_alloc_ctx()
216 static void ucma_set_ctx_cm_id(struct ucma_context *ctx, in ucma_set_ctx_cm_id()
223 static void ucma_finish_ctx(struct ucma_context *ctx) in ucma_finish_ctx()
259 static struct ucma_event *ucma_create_uevent(struct ucma_context *ctx, in ucma_create_uevent()
299 struct ucma_context *listen_ctx = cm_id->context; in ucma_connect_event_handler()
300 struct ucma_context *ctx; in ucma_connect_event_handler()
337 struct ucma_context *ctx = cm_id->context; in ucma_event_handler()
444 struct ucma_context *ctx; in ucma_create_id()
488 static void ucma_cleanup_multicast(struct ucma_context *ctx) in ucma_cleanup_multicast()
522 static int ucma_cleanup_ctx_events(struct ucma_context *ctx) in ucma_cleanup_ctx_events()
566 static int ucma_destroy_private_ctx(struct ucma_context *ctx) in ucma_destroy_private_ctx()
596 struct ucma_context *ctx; in ucma_destroy_id()
629 struct ucma_context *ctx; in ucma_bind_ip()
654 struct ucma_context *ctx; in ucma_bind()
680 struct ucma_context *ctx; in ucma_resolve_ip()
707 struct ucma_context *ctx; in ucma_resolve_addr()
735 struct ucma_context *ctx; in ucma_resolve_route()
822 struct ucma_context *ctx; in ucma_query_route()
883 static ssize_t ucma_query_addr(struct ucma_context *ctx, in ucma_query_addr()
911 static ssize_t ucma_query_path(struct ucma_context *ctx, in ucma_query_path()
950 static ssize_t ucma_query_gid(struct ucma_context *ctx, in ucma_query_gid()
1001 struct ucma_context *ctx; in ucma_query()
1056 struct ucma_context *ctx; in ucma_connect()
1090 struct ucma_context *ctx; in ucma_listen()
1117 struct ucma_context *ctx; in ucma_accept()
1162 struct ucma_context *ctx; in ucma_reject()
1195 struct ucma_context *ctx; in ucma_disconnect()
1218 struct ucma_context *ctx; in ucma_init_qp_attr()
1254 static int ucma_set_option_id(struct ucma_context *ctx, int optname, in ucma_set_option_id()
1295 static int ucma_set_ib_path(struct ucma_context *ctx, in ucma_set_ib_path()
1342 static int ucma_set_option_ib(struct ucma_context *ctx, int optname, in ucma_set_option_ib()
1358 static int ucma_set_option_level(struct ucma_context *ctx, int level, in ucma_set_option_level()
1383 struct ucma_context *ctx; in ucma_set_option()
1417 struct ucma_context *ctx; in ucma_notify()
1440 struct ucma_context *ctx; in ucma_process_join()
1617 struct ucma_context *ctx; in ucma_migrate_id()
1804 struct ucma_context *ctx = list_first_entry( in ucma_close()
1805 &file->ctx_list, struct ucma_context, list); in ucma_close()