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()
2005 struct srp_target_port *target = ch->target; in srp_response_common()
2054 struct srp_target_port *target = ch->target; in srp_process_aer_req()
2073 struct srp_target_port *target = ch->target; in srp_recv_done()
2138 struct srp_target_port *target; in srp_tl_err_work()
2140 target = container_of(work, struct srp_target_port, tl_err_work); in srp_tl_err_work()
2149 struct srp_target_port *target = ch->target; in srp_handle_qp_err()
2164 struct srp_target_port *target = host_to_target(shost); in srp_queuecommand()
2265 struct srp_target_port *target = ch->target; in srp_alloc_iu_bufs()
2344 struct srp_target_port *target = ch->target; in srp_cm_rep_handler()
2436 struct srp_target_port *target = ch->target; in srp_ib_cm_rej_handler()
2522 struct srp_target_port *target = ch->target; in srp_ib_cm_handler()
2583 struct srp_target_port *target = ch->target; in srp_rdma_cm_rej_handler()
2634 struct srp_target_port *target = ch->target; in srp_rdma_cm_handler()
2727 struct srp_target_port *target = ch->target; in srp_send_tsk_mgmt()
2792 struct srp_target_port *target = host_to_target(scmnd->device->host); in srp_abort()
2830 struct srp_target_port *target = host_to_target(scmnd->device->host); in srp_reset_device()
2848 struct srp_target_port *target = host_to_target(scmnd->device->host); in srp_reset_host()
2858 struct srp_target_port *target = host_to_target(shost); in srp_target_alloc()
2868 struct srp_target_port *target = host_to_target(shost); in srp_slave_configure()
2883 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in id_ext_show()
2893 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in ioc_guid_show()
2903 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in service_id_show()
2916 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in pkey_show()
2929 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in sgid_show()
2939 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in dgid_show()
2953 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in orig_dgid_show()
2966 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in req_lim_show()
2983 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in zero_req_lim_show()
2993 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in local_ib_port_show()
3003 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in local_ib_device_show()
3014 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in ch_count_show()
3024 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in comp_vector_show()
3034 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in tl_retry_count_show()
3044 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in cmd_sg_entries_show()
3054 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in allow_ext_sg_show()
3126 static int srp_add_target(struct srp_host *host, struct srp_target_port *target) in srp_add_target()
3197 struct srp_target_port *target) in srp_conn_unique()
3199 struct srp_target_port *t; in srp_conn_unique()
3335 struct srp_target_port *target) in srp_parse_options()
3633 struct srp_target_port *target; in add_target_store()
3643 sizeof (struct srp_target_port)); in add_target_store()
4030 struct srp_target_port *target; in srp_remove_one()