ib_conn           187 drivers/infiniband/ulp/iser/iscsi_iser.c 	struct iser_device *device = iser_conn->ib_conn.device;
ib_conn           372 drivers/infiniband/ulp/iser/iscsi_iser.c 	struct iser_device *device = iser_conn->ib_conn.device;
ib_conn           613 drivers/infiniband/ulp/iser/iscsi_iser.c 	struct ib_conn *ib_conn;
ib_conn           644 drivers/infiniband/ulp/iser/iscsi_iser.c 		ib_conn = &iser_conn->ib_conn;
ib_conn           645 drivers/infiniband/ulp/iser/iscsi_iser.c 		ib_dev = ib_conn->device->ib_device;
ib_conn           646 drivers/infiniband/ulp/iser/iscsi_iser.c 		if (ib_conn->pi_support) {
ib_conn           773 drivers/infiniband/ulp/iser/iscsi_iser.c 		if (!iser_conn || !iser_conn->ib_conn.cma_id)
ib_conn           777 drivers/infiniband/ulp/iser/iscsi_iser.c 				&iser_conn->ib_conn.cma_id->route.addr.dst_addr,
ib_conn           302 drivers/infiniband/ulp/iser/iscsi_iser.h struct ib_conn;
ib_conn           329 drivers/infiniband/ulp/iser/iscsi_iser.h 	int            (*alloc_reg_res)(struct ib_conn *ib_conn,
ib_conn           332 drivers/infiniband/ulp/iser/iscsi_iser.h 	void           (*free_reg_res)(struct ib_conn *ib_conn);
ib_conn           339 drivers/infiniband/ulp/iser/iscsi_iser.h 	struct iser_fr_desc * (*reg_desc_get)(struct ib_conn *ib_conn);
ib_conn           340 drivers/infiniband/ulp/iser/iscsi_iser.h 	void           (*reg_desc_put)(struct ib_conn *ib_conn,
ib_conn           472 drivers/infiniband/ulp/iser/iscsi_iser.h 	struct ib_conn		     ib_conn;
ib_conn           612 drivers/infiniband/ulp/iser/iscsi_iser.h int  iser_post_send(struct ib_conn *ib_conn, struct iser_tx_desc *tx_desc,
ib_conn           628 drivers/infiniband/ulp/iser/iscsi_iser.h int iser_alloc_fmr_pool(struct ib_conn *ib_conn,
ib_conn           631 drivers/infiniband/ulp/iser/iscsi_iser.h void iser_free_fmr_pool(struct ib_conn *ib_conn);
ib_conn           632 drivers/infiniband/ulp/iser/iscsi_iser.h int iser_alloc_fastreg_pool(struct ib_conn *ib_conn,
ib_conn           635 drivers/infiniband/ulp/iser/iscsi_iser.h void iser_free_fastreg_pool(struct ib_conn *ib_conn);
ib_conn           639 drivers/infiniband/ulp/iser/iscsi_iser.h iser_reg_desc_get_fr(struct ib_conn *ib_conn);
ib_conn           641 drivers/infiniband/ulp/iser/iscsi_iser.h iser_reg_desc_put_fr(struct ib_conn *ib_conn,
ib_conn           644 drivers/infiniband/ulp/iser/iscsi_iser.h iser_reg_desc_get_fmr(struct ib_conn *ib_conn);
ib_conn           646 drivers/infiniband/ulp/iser/iscsi_iser.h iser_reg_desc_put_fmr(struct ib_conn *ib_conn,
ib_conn           650 drivers/infiniband/ulp/iser/iscsi_iser.h to_iser_conn(struct ib_conn *ib_conn)
ib_conn           652 drivers/infiniband/ulp/iser/iscsi_iser.h 	return container_of(ib_conn, struct iser_conn, ib_conn);
ib_conn           166 drivers/infiniband/ulp/iser/iser_initiator.c 	struct iser_device *device = iser_conn->ib_conn.device;
ib_conn           178 drivers/infiniband/ulp/iser/iser_initiator.c 	struct iser_device *device = iser_conn->ib_conn.device;
ib_conn           200 drivers/infiniband/ulp/iser/iser_initiator.c 	struct iser_device *device = iser_conn->ib_conn.device;
ib_conn           246 drivers/infiniband/ulp/iser/iser_initiator.c 	struct ib_conn *ib_conn = &iser_conn->ib_conn;
ib_conn           247 drivers/infiniband/ulp/iser/iser_initiator.c 	struct iser_device *device = ib_conn->device;
ib_conn           253 drivers/infiniband/ulp/iser/iser_initiator.c 	if (device->reg_ops->alloc_reg_res(ib_conn, session->scsi_cmds_max,
ib_conn           296 drivers/infiniband/ulp/iser/iser_initiator.c 	device->reg_ops->free_reg_res(ib_conn);
ib_conn           306 drivers/infiniband/ulp/iser/iser_initiator.c 	struct ib_conn *ib_conn = &iser_conn->ib_conn;
ib_conn           307 drivers/infiniband/ulp/iser/iser_initiator.c 	struct iser_device *device = ib_conn->device;
ib_conn           310 drivers/infiniband/ulp/iser/iser_initiator.c 		device->reg_ops->free_reg_res(ib_conn);
ib_conn           326 drivers/infiniband/ulp/iser/iser_initiator.c 	struct ib_conn *ib_conn = &iser_conn->ib_conn;
ib_conn           338 drivers/infiniband/ulp/iser/iser_initiator.c 	WARN_ON(ib_conn->post_recv_buf_count != 1);
ib_conn           373 drivers/infiniband/ulp/iser/iser_initiator.c 	u8 sig_count = ++iser_conn->ib_conn.sig_count;
ib_conn           420 drivers/infiniband/ulp/iser/iser_initiator.c 	err = iser_post_send(&iser_conn->ib_conn, tx_desc,
ib_conn           486 drivers/infiniband/ulp/iser/iser_initiator.c 	err = iser_post_send(&iser_conn->ib_conn, tx_desc, true);
ib_conn           511 drivers/infiniband/ulp/iser/iser_initiator.c 	device = iser_conn->ib_conn.device;
ib_conn           549 drivers/infiniband/ulp/iser/iser_initiator.c 	err = iser_post_send(&iser_conn->ib_conn, mdesc, true);
ib_conn           560 drivers/infiniband/ulp/iser/iser_initiator.c 	struct ib_conn *ib_conn = wc->qp->qp_context;
ib_conn           561 drivers/infiniband/ulp/iser/iser_initiator.c 	struct iser_conn *iser_conn = to_iser_conn(ib_conn);
ib_conn           572 drivers/infiniband/ulp/iser/iser_initiator.c 	ib_dma_sync_single_for_cpu(ib_conn->device->ib_device,
ib_conn           585 drivers/infiniband/ulp/iser/iser_initiator.c 	ib_dma_sync_single_for_device(ib_conn->device->ib_device,
ib_conn           589 drivers/infiniband/ulp/iser/iser_initiator.c 	ib_conn->post_recv_buf_count--;
ib_conn           652 drivers/infiniband/ulp/iser/iser_initiator.c 	struct ib_conn *ib_conn = wc->qp->qp_context;
ib_conn           653 drivers/infiniband/ulp/iser/iser_initiator.c 	struct iser_conn *iser_conn = to_iser_conn(ib_conn);
ib_conn           664 drivers/infiniband/ulp/iser/iser_initiator.c 	ib_dma_sync_single_for_cpu(ib_conn->device->ib_device,
ib_conn           682 drivers/infiniband/ulp/iser/iser_initiator.c 	ib_dma_sync_single_for_device(ib_conn->device->ib_device,
ib_conn           690 drivers/infiniband/ulp/iser/iser_initiator.c 	ib_conn->post_recv_buf_count--;
ib_conn           692 drivers/infiniband/ulp/iser/iser_initiator.c 	outstanding = ib_conn->post_recv_buf_count;
ib_conn           727 drivers/infiniband/ulp/iser/iser_initiator.c 	struct ib_conn *ib_conn = wc->qp->qp_context;
ib_conn           728 drivers/infiniband/ulp/iser/iser_initiator.c 	struct iser_device *device = ib_conn->device;
ib_conn            97 drivers/infiniband/ulp/iser/iser_memory.c iser_reg_desc_get_fr(struct ib_conn *ib_conn)
ib_conn            99 drivers/infiniband/ulp/iser/iser_memory.c 	struct iser_fr_pool *fr_pool = &ib_conn->fr_pool;
ib_conn           113 drivers/infiniband/ulp/iser/iser_memory.c iser_reg_desc_put_fr(struct ib_conn *ib_conn,
ib_conn           116 drivers/infiniband/ulp/iser/iser_memory.c 	struct iser_fr_pool *fr_pool = &ib_conn->fr_pool;
ib_conn           125 drivers/infiniband/ulp/iser/iser_memory.c iser_reg_desc_get_fmr(struct ib_conn *ib_conn)
ib_conn           127 drivers/infiniband/ulp/iser/iser_memory.c 	struct iser_fr_pool *fr_pool = &ib_conn->fr_pool;
ib_conn           134 drivers/infiniband/ulp/iser/iser_memory.c iser_reg_desc_put_fmr(struct ib_conn *ib_conn,
ib_conn           170 drivers/infiniband/ulp/iser/iser_memory.c 	dev = iser_task->iser_conn->ib_conn.device->ib_device;
ib_conn           186 drivers/infiniband/ulp/iser/iser_memory.c 	dev = iser_task->iser_conn->ib_conn.device->ib_device;
ib_conn           232 drivers/infiniband/ulp/iser/iser_memory.c 	struct ib_conn *ib_conn = &iser_task->iser_conn->ib_conn;
ib_conn           233 drivers/infiniband/ulp/iser/iser_memory.c 	struct iser_device *device = ib_conn->device;
ib_conn           293 drivers/infiniband/ulp/iser/iser_memory.c 	struct iser_device *device = iser_task->iser_conn->ib_conn.device;
ib_conn           299 drivers/infiniband/ulp/iser/iser_memory.c 	device->reg_ops->reg_desc_put(&iser_task->iser_conn->ib_conn,
ib_conn           387 drivers/infiniband/ulp/iser/iser_memory.c 	struct ib_cqe *cqe = &iser_task->iser_conn->ib_conn.reg_cqe;
ib_conn           444 drivers/infiniband/ulp/iser/iser_memory.c 	struct ib_cqe *cqe = &iser_task->iser_conn->ib_conn.reg_cqe;
ib_conn           492 drivers/infiniband/ulp/iser/iser_memory.c 	struct iser_device *device = task->iser_conn->ib_conn.device;
ib_conn           504 drivers/infiniband/ulp/iser/iser_memory.c 	struct ib_conn *ib_conn = &task->iser_conn->ib_conn;
ib_conn           505 drivers/infiniband/ulp/iser/iser_memory.c 	struct iser_device *device = ib_conn->device;
ib_conn           516 drivers/infiniband/ulp/iser/iser_memory.c 		desc = device->reg_ops->reg_desc_get(ib_conn);
ib_conn           537 drivers/infiniband/ulp/iser/iser_memory.c 		device->reg_ops->reg_desc_put(ib_conn, desc);
ib_conn           545 drivers/infiniband/ulp/iser/iser_memory.c 	struct iser_device *device = task->iser_conn->ib_conn.device;
ib_conn           155 drivers/infiniband/ulp/iser/iser_verbs.c int iser_alloc_fmr_pool(struct ib_conn *ib_conn,
ib_conn           159 drivers/infiniband/ulp/iser/iser_verbs.c 	struct iser_device *device = ib_conn->device;
ib_conn           160 drivers/infiniband/ulp/iser/iser_verbs.c 	struct iser_fr_pool *fr_pool = &ib_conn->fr_pool;
ib_conn           219 drivers/infiniband/ulp/iser/iser_verbs.c void iser_free_fmr_pool(struct ib_conn *ib_conn)
ib_conn           221 drivers/infiniband/ulp/iser/iser_verbs.c 	struct iser_fr_pool *fr_pool = &ib_conn->fr_pool;
ib_conn           229 drivers/infiniband/ulp/iser/iser_verbs.c 		  ib_conn, desc->rsc.fmr_pool);
ib_conn           300 drivers/infiniband/ulp/iser/iser_verbs.c int iser_alloc_fastreg_pool(struct ib_conn *ib_conn,
ib_conn           304 drivers/infiniband/ulp/iser/iser_verbs.c 	struct iser_device *device = ib_conn->device;
ib_conn           305 drivers/infiniband/ulp/iser/iser_verbs.c 	struct iser_fr_pool *fr_pool = &ib_conn->fr_pool;
ib_conn           315 drivers/infiniband/ulp/iser/iser_verbs.c 						ib_conn->pi_support, size);
ib_conn           329 drivers/infiniband/ulp/iser/iser_verbs.c 	iser_free_fastreg_pool(ib_conn);
ib_conn           336 drivers/infiniband/ulp/iser/iser_verbs.c void iser_free_fastreg_pool(struct ib_conn *ib_conn)
ib_conn           338 drivers/infiniband/ulp/iser/iser_verbs.c 	struct iser_fr_pool *fr_pool = &ib_conn->fr_pool;
ib_conn           345 drivers/infiniband/ulp/iser/iser_verbs.c 	iser_info("freeing conn %p fr pool\n", ib_conn);
ib_conn           363 drivers/infiniband/ulp/iser/iser_verbs.c static int iser_create_ib_conn_res(struct ib_conn *ib_conn)
ib_conn           365 drivers/infiniband/ulp/iser/iser_verbs.c 	struct iser_conn *iser_conn = to_iser_conn(ib_conn);
ib_conn           372 drivers/infiniband/ulp/iser/iser_verbs.c 	BUG_ON(ib_conn->device == NULL);
ib_conn           374 drivers/infiniband/ulp/iser/iser_verbs.c 	device = ib_conn->device;
ib_conn           386 drivers/infiniband/ulp/iser/iser_verbs.c 	ib_conn->comp = &device->comps[min_index];
ib_conn           387 drivers/infiniband/ulp/iser/iser_verbs.c 	ib_conn->comp->active_qps++;
ib_conn           389 drivers/infiniband/ulp/iser/iser_verbs.c 	iser_info("cq index %d used for ib_conn %p\n", min_index, ib_conn);
ib_conn           392 drivers/infiniband/ulp/iser/iser_verbs.c 	init_attr.qp_context	= (void *)ib_conn;
ib_conn           393 drivers/infiniband/ulp/iser/iser_verbs.c 	init_attr.send_cq	= ib_conn->comp->cq;
ib_conn           394 drivers/infiniband/ulp/iser/iser_verbs.c 	init_attr.recv_cq	= ib_conn->comp->cq;
ib_conn           400 drivers/infiniband/ulp/iser/iser_verbs.c 	if (ib_conn->pi_support) {
ib_conn           420 drivers/infiniband/ulp/iser/iser_verbs.c 	ret = rdma_create_qp(ib_conn->cma_id, device->pd, &init_attr);
ib_conn           424 drivers/infiniband/ulp/iser/iser_verbs.c 	ib_conn->qp = ib_conn->cma_id->qp;
ib_conn           426 drivers/infiniband/ulp/iser/iser_verbs.c 		  ib_conn, ib_conn->cma_id,
ib_conn           427 drivers/infiniband/ulp/iser/iser_verbs.c 		  ib_conn->cma_id->qp);
ib_conn           432 drivers/infiniband/ulp/iser/iser_verbs.c 	ib_conn->comp->active_qps--;
ib_conn           538 drivers/infiniband/ulp/iser/iser_verbs.c 	struct ib_conn *ib_conn = &iser_conn->ib_conn;
ib_conn           539 drivers/infiniband/ulp/iser/iser_verbs.c 	struct iser_device *device = ib_conn->device;
ib_conn           542 drivers/infiniband/ulp/iser/iser_verbs.c 		  iser_conn, ib_conn->cma_id, ib_conn->qp);
ib_conn           544 drivers/infiniband/ulp/iser/iser_verbs.c 	if (ib_conn->qp != NULL) {
ib_conn           546 drivers/infiniband/ulp/iser/iser_verbs.c 		ib_conn->comp->active_qps--;
ib_conn           548 drivers/infiniband/ulp/iser/iser_verbs.c 		rdma_destroy_qp(ib_conn->cma_id);
ib_conn           549 drivers/infiniband/ulp/iser/iser_verbs.c 		ib_conn->qp = NULL;
ib_conn           558 drivers/infiniband/ulp/iser/iser_verbs.c 			ib_conn->device = NULL;
ib_conn           568 drivers/infiniband/ulp/iser/iser_verbs.c 	struct ib_conn *ib_conn = &iser_conn->ib_conn;
ib_conn           589 drivers/infiniband/ulp/iser/iser_verbs.c 	if (ib_conn->cma_id != NULL) {
ib_conn           590 drivers/infiniband/ulp/iser/iser_verbs.c 		rdma_destroy_id(ib_conn->cma_id);
ib_conn           591 drivers/infiniband/ulp/iser/iser_verbs.c 		ib_conn->cma_id = NULL;
ib_conn           603 drivers/infiniband/ulp/iser/iser_verbs.c 	struct ib_conn *ib_conn = &iser_conn->ib_conn;
ib_conn           622 drivers/infiniband/ulp/iser/iser_verbs.c 	if (ib_conn->cma_id) {
ib_conn           623 drivers/infiniband/ulp/iser/iser_verbs.c 		err = rdma_disconnect(ib_conn->cma_id);
ib_conn           629 drivers/infiniband/ulp/iser/iser_verbs.c 		ib_drain_sq(ib_conn->qp);
ib_conn           650 drivers/infiniband/ulp/iser/iser_verbs.c 	struct iser_device *device = iser_conn->ib_conn.device;
ib_conn           668 drivers/infiniband/ulp/iser/iser_verbs.c 	if (iser_conn->ib_conn.pi_support)
ib_conn           694 drivers/infiniband/ulp/iser/iser_verbs.c 	struct ib_conn   *ib_conn;
ib_conn           702 drivers/infiniband/ulp/iser/iser_verbs.c 	ib_conn = &iser_conn->ib_conn;
ib_conn           710 drivers/infiniband/ulp/iser/iser_verbs.c 	ib_conn->device = device;
ib_conn           718 drivers/infiniband/ulp/iser/iser_verbs.c 				  dev_name(&ib_conn->device->ib_device->dev));
ib_conn           719 drivers/infiniband/ulp/iser/iser_verbs.c 			ib_conn->pi_support = false;
ib_conn           721 drivers/infiniband/ulp/iser/iser_verbs.c 			ib_conn->pi_support = true;
ib_conn           744 drivers/infiniband/ulp/iser/iser_verbs.c 	struct ib_conn *ib_conn = &iser_conn->ib_conn;
ib_conn           745 drivers/infiniband/ulp/iser/iser_verbs.c 	struct iser_device *device = ib_conn->device;
ib_conn           751 drivers/infiniband/ulp/iser/iser_verbs.c 	ret = iser_create_ib_conn_res(ib_conn);
ib_conn           880 drivers/infiniband/ulp/iser/iser_verbs.c 			iser_conn->ib_conn.cma_id = NULL;
ib_conn           896 drivers/infiniband/ulp/iser/iser_verbs.c 	struct ib_conn *ib_conn = &iser_conn->ib_conn;
ib_conn           905 drivers/infiniband/ulp/iser/iser_verbs.c 	ib_conn->post_recv_buf_count = 0;
ib_conn           906 drivers/infiniband/ulp/iser/iser_verbs.c 	ib_conn->reg_cqe.done = iser_reg_comp;
ib_conn           918 drivers/infiniband/ulp/iser/iser_verbs.c 	struct ib_conn *ib_conn = &iser_conn->ib_conn;
ib_conn           928 drivers/infiniband/ulp/iser/iser_verbs.c 	ib_conn->device = NULL;
ib_conn           932 drivers/infiniband/ulp/iser/iser_verbs.c 	ib_conn->cma_id = rdma_create_id(&init_net, iser_cma_handler,
ib_conn           935 drivers/infiniband/ulp/iser/iser_verbs.c 	if (IS_ERR(ib_conn->cma_id)) {
ib_conn           936 drivers/infiniband/ulp/iser/iser_verbs.c 		err = PTR_ERR(ib_conn->cma_id);
ib_conn           941 drivers/infiniband/ulp/iser/iser_verbs.c 	err = rdma_resolve_addr(ib_conn->cma_id, src_addr, dst_addr, 1000);
ib_conn           963 drivers/infiniband/ulp/iser/iser_verbs.c 	ib_conn->cma_id = NULL;
ib_conn           974 drivers/infiniband/ulp/iser/iser_verbs.c 	struct ib_conn *ib_conn = &iser_conn->ib_conn;
ib_conn           981 drivers/infiniband/ulp/iser/iser_verbs.c 	desc->sge.lkey = ib_conn->device->pd->local_dma_lkey;
ib_conn           989 drivers/infiniband/ulp/iser/iser_verbs.c 	ib_conn->post_recv_buf_count++;
ib_conn           990 drivers/infiniband/ulp/iser/iser_verbs.c 	ib_ret = ib_post_recv(ib_conn->qp, &wr, NULL);
ib_conn           993 drivers/infiniband/ulp/iser/iser_verbs.c 		ib_conn->post_recv_buf_count--;
ib_conn          1001 drivers/infiniband/ulp/iser/iser_verbs.c 	struct ib_conn *ib_conn = &iser_conn->ib_conn;
ib_conn          1007 drivers/infiniband/ulp/iser/iser_verbs.c 	for (wr = ib_conn->rx_wr, i = 0; i < count; i++, wr++) {
ib_conn          1020 drivers/infiniband/ulp/iser/iser_verbs.c 	ib_conn->post_recv_buf_count += count;
ib_conn          1021 drivers/infiniband/ulp/iser/iser_verbs.c 	ib_ret = ib_post_recv(ib_conn->qp, ib_conn->rx_wr, NULL);
ib_conn          1024 drivers/infiniband/ulp/iser/iser_verbs.c 		ib_conn->post_recv_buf_count -= count;
ib_conn          1037 drivers/infiniband/ulp/iser/iser_verbs.c int iser_post_send(struct ib_conn *ib_conn, struct iser_tx_desc *tx_desc,
ib_conn          1044 drivers/infiniband/ulp/iser/iser_verbs.c 	ib_dma_sync_single_for_device(ib_conn->device->ib_device,
ib_conn          1062 drivers/infiniband/ulp/iser/iser_verbs.c 	ib_ret = ib_post_send(ib_conn->qp, first_wr, NULL);