Lines Matching refs:srp_target_port

200 static inline struct srp_target_port *host_to_target(struct Scsi_Host *host)  in host_to_target()
202 return (struct srp_target_port *) host->hostdata; in host_to_target()
210 static int srp_target_is_topspin(struct srp_target_port *target) in srp_target_is_topspin()
269 static int srp_init_ib_qp(struct srp_target_port *target, in srp_init_ib_qp()
304 struct srp_target_port *target = ch->target; in srp_new_ib_cm_id()
330 struct srp_target_port *target = ch->target; in srp_new_rdma_cm_id()
374 struct srp_target_port *target = ch->target; in srp_new_cm_id()
380 static struct ib_fmr_pool *srp_alloc_fmr_pool(struct srp_target_port *target) in srp_alloc_fmr_pool()
515 static struct srp_fr_pool *srp_alloc_fr_pool(struct srp_target_port *target) in srp_alloc_fr_pool()
543 struct srp_target_port *target = ch->target; in srp_create_ch_ib()
664 static void srp_free_ch_ib(struct srp_target_port *target, in srp_free_ch_ib()
731 struct srp_target_port *target = ch->target; in srp_path_rec_completion()
744 struct srp_target_port *target = ch->target; in srp_ib_lookup_path()
783 struct srp_target_port *target = ch->target; in srp_rdma_lookup_path()
803 struct srp_target_port *target = ch->target; in srp_lookup_path()
828 struct srp_target_port *target = ch->target; in srp_send_req()
945 static bool srp_queue_remove_work(struct srp_target_port *target) in srp_queue_remove_work()
962 static void srp_disconnect_target(struct srp_target_port *target) in srp_disconnect_target()
988 static void srp_free_req_data(struct srp_target_port *target, in srp_free_req_data()
1021 struct srp_target_port *target = ch->target; in srp_alloc_req_data()
1083 static void srp_remove_target(struct srp_target_port *target) in srp_remove_target()
1119 struct srp_target_port *target = in srp_remove_work()
1120 container_of(work, struct srp_target_port, remove_work); in srp_remove_work()
1129 struct srp_target_port *target = rport->lld_data; in srp_rport_delete()
1138 static int srp_connected_ch(struct srp_target_port *target) in srp_connected_ch()
1150 struct srp_target_port *target = ch->target; in srp_connect_ch()
1229 struct srp_target_port *target = ch->target; in srp_unmap_data()
1331 struct srp_target_port *target = rport->lld_data; in srp_terminate_io()
1367 struct srp_target_port *target = rport->lld_data; in srp_rport_reconnect()
1444 struct srp_target_port *target = ch->target; in srp_map_finish_fmr()
1501 struct srp_target_port *target = ch->target; in srp_map_finish_fr()
1579 struct srp_target_port *target = ch->target; in srp_map_sg_entry()
1676 struct srp_target_port *target = ch->target; in srp_map_sg_dma()
1701 struct srp_target_port *target = ch->target; in srp_map_idb()
1781 struct srp_target_port *target = ch->target; in srp_map_data()
1967 struct srp_target_port *target = ch->target; in __srp_get_tx_iu()
2015 struct srp_target_port *target = ch->target; in srp_post_send()
2037 struct srp_target_port *target = ch->target; in srp_post_recv()
2057 struct srp_target_port *target = ch->target; in srp_process_rsp()
2124 struct srp_target_port *target = ch->target; in srp_response_common()
2172 struct srp_target_port *target = ch->target; in srp_process_aer_req()
2191 struct srp_target_port *target = ch->target; in srp_recv_done()
2256 struct srp_target_port *target; in srp_tl_err_work()
2258 target = container_of(work, struct srp_target_port, tl_err_work); in srp_tl_err_work()
2267 struct srp_target_port *target = ch->target; in srp_handle_qp_err()
2281 struct srp_target_port *target = host_to_target(shost); in srp_queuecommand()
2400 struct srp_target_port *target = ch->target; in srp_alloc_iu_bufs()
2479 struct srp_target_port *target = ch->target; in srp_cm_rep_handler()
2560 struct srp_target_port *target = ch->target; in srp_ib_cm_rej_handler()
2646 struct srp_target_port *target = ch->target; in srp_ib_cm_handler()
2707 struct srp_target_port *target = ch->target; in srp_rdma_cm_rej_handler()
2758 struct srp_target_port *target = ch->target; in srp_rdma_cm_handler()
2851 struct srp_target_port *target = ch->target; in srp_send_tsk_mgmt()
2914 struct srp_target_port *target = host_to_target(scmnd->device->host); in srp_abort()
2952 struct srp_target_port *target = host_to_target(scmnd->device->host); in srp_reset_device()
2980 struct srp_target_port *target = host_to_target(scmnd->device->host); in srp_reset_host()
2990 struct srp_target_port *target = host_to_target(shost); in srp_target_alloc()
3000 struct srp_target_port *target = host_to_target(shost); in srp_slave_alloc()
3014 struct srp_target_port *target = host_to_target(shost); in srp_slave_configure()
3029 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_id_ext()
3037 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_ioc_guid()
3045 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_service_id()
3056 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_pkey()
3066 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_sgid()
3074 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_dgid()
3085 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_orig_dgid()
3095 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_req_lim()
3109 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_zero_req_lim()
3117 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_local_ib_port()
3125 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_local_ib_device()
3133 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_ch_count()
3141 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_comp_vector()
3149 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_tl_retry_count()
3157 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_cmd_sg_entries()
3165 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_allow_ext_sg()
3249 static int srp_add_target(struct srp_host *host, struct srp_target_port *target) in srp_add_target()
3320 struct srp_target_port *target) in srp_conn_unique()
3322 struct srp_target_port *t; in srp_conn_unique()
3447 struct srp_target_port *target) in srp_parse_options()
3724 struct srp_target_port *target; in srp_create_target()
3733 sizeof (struct srp_target_port)); in srp_create_target()
4131 struct srp_target_port *target; in srp_remove_one()