Searched refs:ib_conn (Results 1 – 5 of 5) sorted by relevance
/drivers/infiniband/ulp/iser/ |
D | iser_verbs.c | 199 int iser_create_fmr_pool(struct ib_conn *ib_conn, unsigned cmds_max) in iser_create_fmr_pool() argument 201 struct iser_device *device = ib_conn->device; in iser_create_fmr_pool() 205 ib_conn->fmr.page_vec = kmalloc(sizeof(*ib_conn->fmr.page_vec) + in iser_create_fmr_pool() 208 if (!ib_conn->fmr.page_vec) in iser_create_fmr_pool() 211 ib_conn->fmr.page_vec->pages = (u64 *)(ib_conn->fmr.page_vec + 1); in iser_create_fmr_pool() 227 ib_conn->fmr.pool = ib_create_fmr_pool(device->pd, ¶ms); in iser_create_fmr_pool() 228 if (!IS_ERR(ib_conn->fmr.pool)) in iser_create_fmr_pool() 232 kfree(ib_conn->fmr.page_vec); in iser_create_fmr_pool() 233 ib_conn->fmr.page_vec = NULL; in iser_create_fmr_pool() 235 ret = PTR_ERR(ib_conn->fmr.pool); in iser_create_fmr_pool() [all …]
|
D | iscsi_iser.h | 329 struct ib_conn; 379 int (*iser_alloc_rdma_reg_res)(struct ib_conn *ib_conn, 381 void (*iser_free_rdma_reg_res)(struct ib_conn *ib_conn); 452 struct ib_conn { struct 505 struct ib_conn ib_conn; member 611 struct ib_conn *ib_conn); 614 struct ib_conn *ib_conn); 637 int iser_reg_page_vec(struct ib_conn *ib_conn, 648 int iser_post_send(struct ib_conn *ib_conn, struct iser_tx_desc *tx_desc, 664 int iser_create_fmr_pool(struct ib_conn *ib_conn, unsigned cmds_max); [all …]
|
D | iser_initiator.c | 52 struct iser_device *device = iser_task->iser_conn->ib_conn.device; in iser_prepare_read_cmd() 106 struct iser_device *device = iser_task->iser_conn->ib_conn.device; in iser_prepare_write_cmd() 166 struct iser_device *device = iser_conn->ib_conn.device; in iser_create_send_desc() 184 struct iser_device *device = iser_conn->ib_conn.device; in iser_free_login_buf() 209 struct iser_device *device = iser_conn->ib_conn.device; in iser_alloc_login_buf() 262 struct ib_conn *ib_conn = &iser_conn->ib_conn; in iser_alloc_rx_descriptors() local 263 struct iser_device *device = ib_conn->device; in iser_alloc_rx_descriptors() 269 if (device->iser_alloc_rdma_reg_res(ib_conn, session->scsi_cmds_max)) in iser_alloc_rx_descriptors() 310 device->iser_free_rdma_reg_res(ib_conn); in iser_alloc_rx_descriptors() 320 struct ib_conn *ib_conn = &iser_conn->ib_conn; in iser_free_rx_descriptors() local [all …]
|
D | iser_memory.c | 52 struct ib_device *dev = iser_task->iser_conn->ib_conn.device->ib_device; in iser_start_rdma_unaligned_sg() 118 dev = iser_task->iser_conn->ib_conn.device->ib_device; in iser_finalize_rdma_unaligned_sg() 324 dev = iser_task->iser_conn->ib_conn.device->ib_device; in iser_dma_map_task_data() 340 dev = iser_task->iser_conn->ib_conn.device->ib_device; in iser_dma_unmap_task_data() 382 struct ib_conn *ib_conn = &iser_task->iser_conn->ib_conn; in iser_reg_rdma_mem_fmr() local 383 struct iser_device *device = ib_conn->device; in iser_reg_rdma_mem_fmr() 423 iser_page_vec_build(mem, ib_conn->fmr.page_vec, ibdev); in iser_reg_rdma_mem_fmr() 424 err = iser_reg_page_vec(ib_conn, ib_conn->fmr.page_vec, in iser_reg_rdma_mem_fmr() 432 ib_conn->fmr.page_vec->data_size, in iser_reg_rdma_mem_fmr() 433 ib_conn->fmr.page_vec->length, in iser_reg_rdma_mem_fmr() [all …]
|
D | iscsi_iser.c | 171 struct iser_device *device = iser_conn->ib_conn.device; in iser_initialize_task_headers() 332 struct iser_device *device = iser_conn->ib_conn.device; in iscsi_iser_cleanup_task() 571 struct ib_conn *ib_conn; in iscsi_iser_session_create() local 589 ib_conn = &iser_conn->ib_conn; in iscsi_iser_session_create() 590 if (ib_conn->pi_support) { in iscsi_iser_session_create() 591 u32 sig_caps = ib_conn->device->dev_attr.sig_prot_cap; in iscsi_iser_session_create() 602 ib_conn->device->ib_device->dma_device : NULL)) in iscsi_iser_session_create() 715 if (!iser_conn || !iser_conn->ib_conn.cma_id) in iscsi_iser_get_ep_param() 719 &iser_conn->ib_conn.cma_id->route.addr.dst_addr, in iscsi_iser_get_ep_param()
|