Home
last modified time | relevance | path

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

/drivers/infiniband/ulp/iser/
Discsi_iser.c140 struct iscsi_iser_conn *iser_conn = task->conn->dd_data; in iser_initialize_task_headers() local
141 struct iser_device *device = iser_conn->ib_conn->device; in iser_initialize_task_headers()
155 iser_task->iser_conn = iser_conn; in iser_initialize_task_headers()
282 struct iscsi_iser_conn *iser_conn = task->conn->dd_data; in iscsi_iser_cleanup_task() local
283 struct iser_device *device = iser_conn->ib_conn->device; in iscsi_iser_cleanup_task()
303 struct iscsi_iser_conn *iser_conn; in iscsi_iser_conn_create() local
305 cls_conn = iscsi_conn_setup(cls_session, sizeof(*iser_conn), conn_idx); in iscsi_iser_conn_create()
316 iser_conn = conn->dd_data; in iscsi_iser_conn_create()
317 conn->dd_data = iser_conn; in iscsi_iser_conn_create()
318 iser_conn->iscsi_conn = conn; in iscsi_iser_conn_create()
[all …]
Discsi_iser.h241 struct iser_conn { struct
242 struct iscsi_iser_conn *iser_conn; /* iser conn for upcalls */ member
269 struct iser_conn *ib_conn; /* iSER IB conn */ argument
274 struct iscsi_iser_conn *iser_conn; member
320 void iser_conn_init(struct iser_conn *ib_conn);
322 void iser_conn_get(struct iser_conn *ib_conn);
324 int iser_conn_put(struct iser_conn *ib_conn, int destroy_cma_id_allowed);
326 void iser_conn_terminate(struct iser_conn *ib_conn);
330 struct iser_conn *ib_conn);
332 void iser_snd_completion(struct iser_tx_desc *desc, struct iser_conn *ib_conn);
[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 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()
235 struct iscsi_iser_conn *iser_conn = conn->dd_data; in iser_post_rx_bufs() local
247 WARN_ON(iser_conn->ib_conn->post_recv_buf_count != 1); in iser_post_rx_bufs()
248 WARN_ON(atomic_read(&iser_conn->ib_conn->post_send_buf_count) != 0); in iser_post_rx_bufs()
252 if (iser_post_recvm(iser_conn->ib_conn, ISER_MIN_POSTED_RX)) in iser_post_rx_bufs()
264 struct iscsi_iser_conn *iser_conn = conn->dd_data; in iser_send_command() local
277 iser_create_send_desc(iser_conn->ib_conn, tx_desc); in iser_send_command()
[all …]
Diser_verbs.c154 static int iser_create_ib_conn_res(struct iser_conn *ib_conn) in iser_create_ib_conn_res()
253 static int iser_free_ib_conn_res(struct iser_conn *ib_conn, int can_destroy_id) in iser_free_ib_conn_res()
343 static int iser_conn_state_comp_exch(struct iser_conn *ib_conn, in iser_conn_state_comp_exch()
359 static void iser_conn_release(struct iser_conn *ib_conn, int can_destroy_id) in iser_conn_release()
377 void iser_conn_get(struct iser_conn *ib_conn) in iser_conn_get()
382 int iser_conn_put(struct iser_conn *ib_conn, int can_destroy_id) in iser_conn_put()
394 void iser_conn_terminate(struct iser_conn *ib_conn) in iser_conn_terminate()
417 struct iser_conn *ib_conn; in iser_connect_error()
418 ib_conn = (struct iser_conn *)cma_id->context; in iser_connect_error()
428 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()