Lines Matching refs:srp_target_port
206 static inline struct srp_target_port *host_to_target(struct Scsi_Host *host) in host_to_target()
208 return (struct srp_target_port *) host->hostdata; in host_to_target()
216 static int srp_target_is_topspin(struct srp_target_port *target) in srp_target_is_topspin()
275 static int srp_init_ib_qp(struct srp_target_port *target, in srp_init_ib_qp()
310 struct srp_target_port *target = ch->target; in srp_new_ib_cm_id()
336 struct srp_target_port *target = ch->target; in srp_new_rdma_cm_id()
380 struct srp_target_port *target = ch->target; in srp_new_cm_id()
502 static struct srp_fr_pool *srp_alloc_fr_pool(struct srp_target_port *target) in srp_alloc_fr_pool()
530 struct srp_target_port *target = ch->target; in srp_create_ch_ib()
641 static void srp_free_ch_ib(struct srp_target_port *target, in srp_free_ch_ib()
705 struct srp_target_port *target = ch->target; in srp_path_rec_completion()
718 struct srp_target_port *target = ch->target; in srp_ib_lookup_path()
757 struct srp_target_port *target = ch->target; in srp_rdma_lookup_path()
777 struct srp_target_port *target = ch->target; in srp_lookup_path()
803 struct srp_target_port *target = ch->target; in srp_send_req()
925 static bool srp_queue_remove_work(struct srp_target_port *target) in srp_queue_remove_work()
942 static void srp_disconnect_target(struct srp_target_port *target) in srp_disconnect_target()
970 struct srp_target_port *target = host_to_target(shost); in srp_exit_cmd_priv()
988 struct srp_target_port *target = host_to_target(shost); in srp_init_cmd_priv()
1042 static void srp_remove_target(struct srp_target_port *target) in srp_remove_target()
1074 struct srp_target_port *target = in srp_remove_work()
1075 container_of(work, struct srp_target_port, remove_work); in srp_remove_work()
1084 struct srp_target_port *target = rport->lld_data; in srp_rport_delete()
1093 static int srp_connected_ch(struct srp_target_port *target) in srp_connected_ch()
1106 struct srp_target_port *target = ch->target; in srp_connect_ch()
1185 struct srp_target_port *target = ch->target; in srp_unmap_data()
1281 struct srp_target_port *srp_target;
1289 struct srp_target_port *target = context->srp_target; in srp_terminate_cmd()
1301 struct srp_target_port *target = rport->lld_data; in srp_terminate_io()
1339 struct srp_target_port *target = rport->lld_data; in srp_rport_reconnect()
1431 struct srp_target_port *target = ch->target; in srp_map_finish_fr()
1537 struct srp_target_port *target = ch->target; in srp_map_sg_dma()
1560 struct srp_target_port *target = ch->target; in srp_map_idb()
1629 struct srp_target_port *target = ch->target; in srp_map_data()
1843 struct srp_target_port *target = ch->target; in __srp_get_tx_iu()
1897 struct srp_target_port *target = ch->target; in srp_post_send()
1921 struct srp_target_port *target = ch->target; in srp_post_recv()
1941 struct srp_target_port *target = ch->target; in srp_process_rsp()
2004 struct srp_target_port *target = ch->target; in srp_response_common()
2053 struct srp_target_port *target = ch->target; in srp_process_aer_req()
2072 struct srp_target_port *target = ch->target; in srp_recv_done()
2137 struct srp_target_port *target; in srp_tl_err_work()
2139 target = container_of(work, struct srp_target_port, tl_err_work); in srp_tl_err_work()
2148 struct srp_target_port *target = ch->target; in srp_handle_qp_err()
2163 struct srp_target_port *target = host_to_target(shost); in srp_queuecommand()
2264 struct srp_target_port *target = ch->target; in srp_alloc_iu_bufs()
2343 struct srp_target_port *target = ch->target; in srp_cm_rep_handler()
2435 struct srp_target_port *target = ch->target; in srp_ib_cm_rej_handler()
2521 struct srp_target_port *target = ch->target; in srp_ib_cm_handler()
2582 struct srp_target_port *target = ch->target; in srp_rdma_cm_rej_handler()
2633 struct srp_target_port *target = ch->target; in srp_rdma_cm_handler()
2726 struct srp_target_port *target = ch->target; in srp_send_tsk_mgmt()
2791 struct srp_target_port *target = host_to_target(scmnd->device->host); in srp_abort()
2829 struct srp_target_port *target = host_to_target(scmnd->device->host); in srp_reset_device()
2847 struct srp_target_port *target = host_to_target(scmnd->device->host); in srp_reset_host()
2857 struct srp_target_port *target = host_to_target(shost); in srp_target_alloc()
2867 struct srp_target_port *target = host_to_target(shost); in srp_slave_configure()
2882 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in id_ext_show()
2892 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in ioc_guid_show()
2902 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in service_id_show()
2915 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in pkey_show()
2928 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in sgid_show()
2938 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in dgid_show()
2952 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in orig_dgid_show()
2965 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in req_lim_show()
2982 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in zero_req_lim_show()
2992 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in local_ib_port_show()
3002 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in local_ib_device_show()
3013 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in ch_count_show()
3023 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in comp_vector_show()
3033 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in tl_retry_count_show()
3043 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in cmd_sg_entries_show()
3053 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in allow_ext_sg_show()
3125 static int srp_add_target(struct srp_host *host, struct srp_target_port *target) in srp_add_target()
3196 struct srp_target_port *target) in srp_conn_unique()
3198 struct srp_target_port *t; in srp_conn_unique()
3334 struct srp_target_port *target) in srp_parse_options()
3632 struct srp_target_port *target; in add_target_store()
3642 sizeof (struct srp_target_port)); in add_target_store()
4029 struct srp_target_port *target; in srp_remove_one()