Home
last modified time | relevance | path

Searched refs:iser_conn (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/drivers/infiniband/ulp/iser/
Discsi_iser.h240 struct iser_conn { struct
241 struct iscsi_iser_conn *iser_conn; /* iser conn for upcalls */ argument
267 struct iser_conn *ib_conn; /* iSER IB conn */ argument
272 struct iscsi_iser_conn *iser_conn; member
319 void iser_conn_init(struct iser_conn *ib_conn);
321 void iser_conn_get(struct iser_conn *ib_conn);
323 int iser_conn_put(struct iser_conn *ib_conn, int destroy_cma_id_allowed);
325 void iser_conn_terminate(struct iser_conn *ib_conn);
329 struct iser_conn *ib_conn);
331 void iser_snd_completion(struct iser_tx_desc *desc, struct iser_conn *ib_conn);
[all …]
Discsi_iser.c135 struct iscsi_iser_conn *iser_conn = task->conn->dd_data; in iser_initialize_task_headers() local
136 struct iser_device *device = iser_conn->ib_conn->device; in iser_initialize_task_headers()
151 iser_task->iser_conn = iser_conn; in iser_initialize_task_headers()
293 struct iscsi_iser_conn *iser_conn; in iscsi_iser_conn_create() local
295 cls_conn = iscsi_conn_setup(cls_session, sizeof(*iser_conn), conn_idx); in iscsi_iser_conn_create()
306 iser_conn = conn->dd_data; in iscsi_iser_conn_create()
307 conn->dd_data = iser_conn; in iscsi_iser_conn_create()
308 iser_conn->iscsi_conn = conn; in iscsi_iser_conn_create()
317 struct iscsi_iser_conn *iser_conn = conn->dd_data; in iscsi_iser_conn_destroy() local
318 struct iser_conn *ib_conn = iser_conn->ib_conn; in iscsi_iser_conn_destroy()
[all …]
Diser_initiator.c67 task->itt, iser_task->iser_conn); in iser_prepare_read_cmd()
153 static void iser_create_send_desc(struct iser_conn *ib_conn, in iser_create_send_desc()
173 static int iser_alloc_rx_descriptors(struct iser_conn *ib_conn) in iser_alloc_rx_descriptors()
217 void iser_free_rx_descriptors(struct iser_conn *ib_conn) in iser_free_rx_descriptors()
244 struct iscsi_iser_conn *iser_conn = conn->dd_data; in iser_conn_set_full_featured_mode() local
250 BUG_ON(iser_conn->ib_conn->post_recv_buf_count != 0); in iser_conn_set_full_featured_mode()
251 BUG_ON(atomic_read(&iser_conn->ib_conn->post_send_buf_count) != 0); in iser_conn_set_full_featured_mode()
253 if (iser_alloc_rx_descriptors(iser_conn->ib_conn)) in iser_conn_set_full_featured_mode()
257 if (iser_post_recvm(iser_conn->ib_conn, ISER_MIN_POSTED_RX)) in iser_conn_set_full_featured_mode()
269 struct iscsi_iser_conn *iser_conn = conn->dd_data; in iser_send_command() local
[all …]
Diser_verbs.c154 static int iser_create_ib_conn_res(struct iser_conn *ib_conn) in iser_create_ib_conn_res()
234 static int iser_free_ib_conn_res(struct iser_conn *ib_conn, int can_destroy_id) in iser_free_ib_conn_res()
312 static int iser_conn_state_comp_exch(struct iser_conn *ib_conn, in iser_conn_state_comp_exch()
328 static void iser_conn_release(struct iser_conn *ib_conn, int can_destroy_id) in iser_conn_release()
346 void iser_conn_get(struct iser_conn *ib_conn) in iser_conn_get()
351 int iser_conn_put(struct iser_conn *ib_conn, int can_destroy_id) in iser_conn_put()
363 void iser_conn_terminate(struct iser_conn *ib_conn) in iser_conn_terminate()
386 struct iser_conn *ib_conn; in iser_connect_error()
387 ib_conn = (struct iser_conn *)cma_id->context; in iser_connect_error()
397 struct iser_conn *ib_conn; in iser_addr_handler()
[all …]
Diser_memory.c92 dev = iser_task->iser_conn->ib_conn->device->ib_device; in iser_start_rdma_unaligned_sg()
114 dev = iser_task->iser_conn->ib_conn->device->ib_device; in iser_finalize_rdma_unaligned_sg()
321 dev = iser_task->iser_conn->ib_conn->device->ib_device; in iser_dma_map_task_data()
336 dev = iser_task->iser_conn->ib_conn->device->ib_device; in iser_dma_unmap_task_data()
358 struct iscsi_conn *iscsi_conn = iser_task->iser_conn->iscsi_conn; in iser_reg_rdma_mem()
359 struct iser_conn *ib_conn = iser_task->iser_conn->ib_conn; in iser_reg_rdma_mem()