Lines Matching refs:srp_target_port

191 static inline struct srp_target_port *host_to_target(struct Scsi_Host *host)  in host_to_target()
193 return (struct srp_target_port *) host->hostdata; in host_to_target()
201 static int srp_target_is_topspin(struct srp_target_port *target) in srp_target_is_topspin()
259 static int srp_init_qp(struct srp_target_port *target, in srp_init_qp()
294 struct srp_target_port *target = ch->target; in srp_new_cm_id()
313 static struct ib_fmr_pool *srp_alloc_fmr_pool(struct srp_target_port *target) in srp_alloc_fmr_pool()
448 static struct srp_fr_pool *srp_alloc_fr_pool(struct srp_target_port *target) in srp_alloc_fr_pool()
493 struct srp_target_port *target = ch->target; in srp_create_ch_ib()
600 static void srp_free_ch_ib(struct srp_target_port *target, in srp_free_ch_ib()
659 struct srp_target_port *target = ch->target; in srp_path_rec_completion()
672 struct srp_target_port *target = ch->target; in srp_lookup_path()
708 struct srp_target_port *target = ch->target; in srp_send_req()
796 static bool srp_queue_remove_work(struct srp_target_port *target) in srp_queue_remove_work()
813 static void srp_disconnect_target(struct srp_target_port *target) in srp_disconnect_target()
830 static void srp_free_req_data(struct srp_target_port *target, in srp_free_req_data()
862 struct srp_target_port *target = ch->target; in srp_alloc_req_data()
922 static void srp_remove_target(struct srp_target_port *target) in srp_remove_target()
957 struct srp_target_port *target = in srp_remove_work()
958 container_of(work, struct srp_target_port, remove_work); in srp_remove_work()
967 struct srp_target_port *target = rport->lld_data; in srp_rport_delete()
976 static int srp_connected_ch(struct srp_target_port *target) in srp_connected_ch()
988 struct srp_target_port *target = ch->target; in srp_connect_ch()
1057 struct srp_target_port *target = ch->target; in srp_unmap_data()
1159 struct srp_target_port *target = rport->lld_data; in srp_terminate_io()
1195 struct srp_target_port *target = rport->lld_data; in srp_rport_reconnect()
1295 struct srp_target_port *target = ch->target; in srp_map_finish_fr()
1337 struct srp_target_port *target = ch->target; in srp_finish_mapping()
1373 struct srp_target_port *target = ch->target; in srp_map_sg_entry()
1458 struct srp_target_port *target = ch->target; in srp_map_sg()
1509 struct srp_target_port *target = ch->target; in srp_map_data()
1660 struct srp_target_port *target = ch->target; in __srp_get_tx_iu()
1686 struct srp_target_port *target = ch->target; in srp_post_send()
1706 struct srp_target_port *target = ch->target; in srp_post_recv()
1724 struct srp_target_port *target = ch->target; in srp_process_rsp()
1784 struct srp_target_port *target = ch->target; in srp_response_common()
1832 struct srp_target_port *target = ch->target; in srp_process_aer_req()
1849 struct srp_target_port *target = ch->target; in srp_handle_recv()
1910 struct srp_target_port *target; in srp_tl_err_work()
1912 target = container_of(work, struct srp_target_port, tl_err_work); in srp_tl_err_work()
1920 struct srp_target_port *target = ch->target; in srp_handle_qp_err()
1980 struct srp_target_port *target = host_to_target(shost); in srp_queuecommand()
2099 struct srp_target_port *target = ch->target; in srp_alloc_iu_bufs()
2178 struct srp_target_port *target = ch->target; in srp_cm_rep_handler()
2257 struct srp_target_port *target = ch->target; in srp_cm_rej_handler()
2339 struct srp_target_port *target = ch->target; in srp_cm_handler()
2415 struct srp_target_port *target = ch->target; in srp_send_tsk_mgmt()
2471 struct srp_target_port *target = host_to_target(scmnd->device->host); in srp_abort()
2507 struct srp_target_port *target = host_to_target(scmnd->device->host); in srp_reset_device()
2534 struct srp_target_port *target = host_to_target(scmnd->device->host); in srp_reset_host()
2544 struct srp_target_port *target = host_to_target(shost); in srp_slave_configure()
2559 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_id_ext()
2568 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_ioc_guid()
2577 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_service_id()
2586 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_pkey()
2594 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_sgid()
2602 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_dgid()
2611 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_orig_dgid()
2619 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_req_lim()
2633 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_zero_req_lim()
2641 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_local_ib_port()
2649 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_local_ib_device()
2657 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_ch_count()
2665 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_comp_vector()
2673 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_tl_retry_count()
2681 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_cmd_sg_entries()
2689 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_allow_ext_sg()
2771 static int srp_add_target(struct srp_host *host, struct srp_target_port *target) in srp_add_target()
2842 struct srp_target_port *target) in srp_conn_unique()
2844 struct srp_target_port *t; in srp_conn_unique()
2919 static int srp_parse_options(const char *buf, struct srp_target_port *target) in srp_parse_options()
3137 struct srp_target_port *target; in srp_create_target()
3145 sizeof (struct srp_target_port)); in srp_create_target()
3489 struct srp_target_port *target; in srp_remove_one()