Lines Matching refs:ucma_context

85 struct ucma_context {  struct
104 struct ucma_context *ctx; argument
114 struct ucma_context *ctx;
115 struct ucma_context *conn_req_ctx;
125 static int __destroy_id(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()
198 static struct ucma_context *ucma_alloc_ctx(struct ucma_file *file) in ucma_alloc_ctx()
200 struct ucma_context *ctx; in ucma_alloc_ctx()
221 static void ucma_finish_ctx(struct ucma_context *ctx) in ucma_finish_ctx()
257 static struct ucma_event *ucma_create_uevent(struct ucma_context *ctx, in ucma_create_uevent()
297 struct ucma_context *listen_ctx = cm_id->context; in ucma_connect_event_handler()
298 struct ucma_context *ctx; in ucma_connect_event_handler()
336 struct ucma_context *ctx = cm_id->context; in ucma_event_handler()
439 struct ucma_context *ctx; in ucma_create_id()
485 static void ucma_cleanup_multicast(struct ucma_context *ctx) in ucma_cleanup_multicast()
526 static int ucma_free_ctx(struct ucma_context *ctx) in ucma_free_ctx()
562 static int __destroy_id(struct ucma_context *ctx) in __destroy_id()
588 struct ucma_context *ctx; in ucma_destroy_id()
618 struct ucma_context *ctx; in ucma_bind_ip()
643 struct ucma_context *ctx; in ucma_bind()
669 struct ucma_context *ctx; in ucma_resolve_ip()
696 struct ucma_context *ctx; in ucma_resolve_addr()
724 struct ucma_context *ctx; in ucma_resolve_route()
811 struct ucma_context *ctx; in ucma_query_route()
872 static ssize_t ucma_query_addr(struct ucma_context *ctx, in ucma_query_addr()
900 static ssize_t ucma_query_path(struct ucma_context *ctx, in ucma_query_path()
939 static ssize_t ucma_query_gid(struct ucma_context *ctx, in ucma_query_gid()
990 struct ucma_context *ctx; in ucma_query()
1045 struct ucma_context *ctx; in ucma_connect()
1079 struct ucma_context *ctx; in ucma_listen()
1106 struct ucma_context *ctx; in ucma_accept()
1151 struct ucma_context *ctx; in ucma_reject()
1184 struct ucma_context *ctx; in ucma_disconnect()
1207 struct ucma_context *ctx; in ucma_init_qp_attr()
1243 static int ucma_set_option_id(struct ucma_context *ctx, int optname, in ucma_set_option_id()
1284 static int ucma_set_ib_path(struct ucma_context *ctx, in ucma_set_ib_path()
1331 static int ucma_set_option_ib(struct ucma_context *ctx, int optname, in ucma_set_option_ib()
1347 static int ucma_set_option_level(struct ucma_context *ctx, int level, in ucma_set_option_level()
1372 struct ucma_context *ctx; in ucma_set_option()
1406 struct ucma_context *ctx; in ucma_notify()
1429 struct ucma_context *ctx; in ucma_process_join()
1597 struct ucma_context *ctx; in ucma_migrate_id()
1784 struct ucma_context *ctx = list_first_entry( in ucma_close()
1785 &file->ctx_list, struct ucma_context, list); in ucma_close()