Lines Matching refs:srp_target_port

201 static inline struct srp_target_port *host_to_target(struct Scsi_Host *host)  in host_to_target()
203 return (struct srp_target_port *) host->hostdata; in host_to_target()
211 static int srp_target_is_topspin(struct srp_target_port *target) in srp_target_is_topspin()
270 static int srp_init_ib_qp(struct srp_target_port *target, in srp_init_ib_qp()
305 struct srp_target_port *target = ch->target; in srp_new_ib_cm_id()
331 struct srp_target_port *target = ch->target; in srp_new_rdma_cm_id()
375 struct srp_target_port *target = ch->target; in srp_new_cm_id()
497 static struct srp_fr_pool *srp_alloc_fr_pool(struct srp_target_port *target) in srp_alloc_fr_pool()
525 struct srp_target_port *target = ch->target; in srp_create_ch_ib()
636 static void srp_free_ch_ib(struct srp_target_port *target, in srp_free_ch_ib()
700 struct srp_target_port *target = ch->target; in srp_path_rec_completion()
713 struct srp_target_port *target = ch->target; in srp_ib_lookup_path()
752 struct srp_target_port *target = ch->target; in srp_rdma_lookup_path()
772 struct srp_target_port *target = ch->target; in srp_lookup_path()
798 struct srp_target_port *target = ch->target; in srp_send_req()
920 static bool srp_queue_remove_work(struct srp_target_port *target) in srp_queue_remove_work()
937 static void srp_disconnect_target(struct srp_target_port *target) in srp_disconnect_target()
965 struct srp_target_port *target = host_to_target(shost); in srp_exit_cmd_priv()
983 struct srp_target_port *target = host_to_target(shost); in srp_init_cmd_priv()
1037 static void srp_remove_target(struct srp_target_port *target) in srp_remove_target()
1069 struct srp_target_port *target = in srp_remove_work()
1070 container_of(work, struct srp_target_port, remove_work); in srp_remove_work()
1079 struct srp_target_port *target = rport->lld_data; in srp_rport_delete()
1088 static int srp_connected_ch(struct srp_target_port *target) in srp_connected_ch()
1101 struct srp_target_port *target = ch->target; in srp_connect_ch()
1180 struct srp_target_port *target = ch->target; in srp_unmap_data()
1276 struct srp_target_port *srp_target;
1283 struct srp_target_port *target = context->srp_target; in srp_terminate_cmd()
1295 struct srp_target_port *target = rport->lld_data; in srp_terminate_io()
1333 struct srp_target_port *target = rport->lld_data; in srp_rport_reconnect()
1425 struct srp_target_port *target = ch->target; in srp_map_finish_fr()
1531 struct srp_target_port *target = ch->target; in srp_map_sg_dma()
1554 struct srp_target_port *target = ch->target; in srp_map_idb()
1623 struct srp_target_port *target = ch->target; in srp_map_data()
1837 struct srp_target_port *target = ch->target; in __srp_get_tx_iu()
1891 struct srp_target_port *target = ch->target; in srp_post_send()
1915 struct srp_target_port *target = ch->target; in srp_post_recv()
1935 struct srp_target_port *target = ch->target; in srp_process_rsp()
1995 struct srp_target_port *target = ch->target; in srp_response_common()
2044 struct srp_target_port *target = ch->target; in srp_process_aer_req()
2063 struct srp_target_port *target = ch->target; in srp_recv_done()
2128 struct srp_target_port *target; in srp_tl_err_work()
2130 target = container_of(work, struct srp_target_port, tl_err_work); in srp_tl_err_work()
2139 struct srp_target_port *target = ch->target; in srp_handle_qp_err()
2154 struct srp_target_port *target = host_to_target(shost); in srp_queuecommand()
2255 struct srp_target_port *target = ch->target; in srp_alloc_iu_bufs()
2334 struct srp_target_port *target = ch->target; in srp_cm_rep_handler()
2426 struct srp_target_port *target = ch->target; in srp_ib_cm_rej_handler()
2512 struct srp_target_port *target = ch->target; in srp_ib_cm_handler()
2573 struct srp_target_port *target = ch->target; in srp_rdma_cm_rej_handler()
2624 struct srp_target_port *target = ch->target; in srp_rdma_cm_handler()
2717 struct srp_target_port *target = ch->target; in srp_send_tsk_mgmt()
2782 struct srp_target_port *target = host_to_target(scmnd->device->host); in srp_abort()
2812 struct srp_target_port *target = host_to_target(scmnd->device->host); in srp_reset_device()
2830 struct srp_target_port *target = host_to_target(scmnd->device->host); in srp_reset_host()
2840 struct srp_target_port *target = host_to_target(shost); in srp_target_alloc()
2850 struct srp_target_port *target = host_to_target(shost); in srp_slave_configure()
2865 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in id_ext_show()
2875 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in ioc_guid_show()
2885 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in service_id_show()
2898 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in pkey_show()
2911 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in sgid_show()
2921 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in dgid_show()
2935 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in orig_dgid_show()
2948 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in req_lim_show()
2965 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in zero_req_lim_show()
2975 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in local_ib_port_show()
2985 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in local_ib_device_show()
2996 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in ch_count_show()
3006 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in comp_vector_show()
3016 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in tl_retry_count_show()
3026 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in cmd_sg_entries_show()
3036 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in allow_ext_sg_show()
3108 static int srp_add_target(struct srp_host *host, struct srp_target_port *target) in srp_add_target()
3184 struct srp_target_port *target) in srp_conn_unique()
3186 struct srp_target_port *t; in srp_conn_unique()
3322 struct srp_target_port *target) in srp_parse_options()
3688 struct srp_target_port *target; in add_target_store()
3698 sizeof (struct srp_target_port)); in add_target_store()
4083 struct srp_target_port *target; in srp_remove_one()