Lines Matching refs:srp_target_port

189 static inline struct srp_target_port *host_to_target(struct Scsi_Host *host)  in host_to_target()
191 return (struct srp_target_port *) host->hostdata; in host_to_target()
199 static int srp_target_is_topspin(struct srp_target_port *target) in srp_target_is_topspin()
258 static int srp_init_qp(struct srp_target_port *target, in srp_init_qp()
293 struct srp_target_port *target = ch->target; in srp_new_cm_id()
312 static struct ib_fmr_pool *srp_alloc_fmr_pool(struct srp_target_port *target) in srp_alloc_fmr_pool()
439 static struct srp_fr_pool *srp_alloc_fr_pool(struct srp_target_port *target) in srp_alloc_fr_pool()
484 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()
863 struct srp_target_port *target = ch->target; in srp_alloc_req_data()
924 static void srp_remove_target(struct srp_target_port *target) in srp_remove_target()
959 struct srp_target_port *target = in srp_remove_work()
960 container_of(work, struct srp_target_port, remove_work); in srp_remove_work()
969 struct srp_target_port *target = rport->lld_data; in srp_rport_delete()
978 static int srp_connected_ch(struct srp_target_port *target) in srp_connected_ch()
990 struct srp_target_port *target = ch->target; in srp_connect_ch()
1063 struct srp_target_port *target = ch->target; in srp_unmap_data()
1165 struct srp_target_port *target = rport->lld_data; in srp_terminate_io()
1201 struct srp_target_port *target = rport->lld_data; in srp_rport_reconnect()
1278 struct srp_target_port *target = ch->target; in srp_map_finish_fmr()
1318 struct srp_target_port *target = ch->target; in srp_map_finish_fr()
1380 struct srp_target_port *target = ch->target; in srp_map_sg_entry()
1476 struct srp_target_port *target = ch->target; in srp_map_sg_dma()
1504 struct srp_target_port *target = ch->target; in srp_map_idb()
1550 struct srp_target_port *target = ch->target; in srp_map_data()
1718 struct srp_target_port *target = ch->target; in __srp_get_tx_iu()
1744 struct srp_target_port *target = ch->target; in srp_post_send()
1764 struct srp_target_port *target = ch->target; in srp_post_recv()
1782 struct srp_target_port *target = ch->target; in srp_process_rsp()
1842 struct srp_target_port *target = ch->target; in srp_response_common()
1890 struct srp_target_port *target = ch->target; in srp_process_aer_req()
1907 struct srp_target_port *target = ch->target; in srp_handle_recv()
1968 struct srp_target_port *target; in srp_tl_err_work()
1970 target = container_of(work, struct srp_target_port, tl_err_work); in srp_tl_err_work()
1978 struct srp_target_port *target = ch->target; in srp_handle_qp_err()
2039 struct srp_target_port *target = host_to_target(shost); in srp_queuecommand()
2158 struct srp_target_port *target = ch->target; in srp_alloc_iu_bufs()
2237 struct srp_target_port *target = ch->target; in srp_cm_rep_handler()
2316 struct srp_target_port *target = ch->target; in srp_cm_rej_handler()
2398 struct srp_target_port *target = ch->target; in srp_cm_handler()
2474 struct srp_target_port *target = ch->target; in srp_send_tsk_mgmt()
2530 struct srp_target_port *target = host_to_target(scmnd->device->host); in srp_abort()
2566 struct srp_target_port *target = host_to_target(scmnd->device->host); in srp_reset_device()
2593 struct srp_target_port *target = host_to_target(scmnd->device->host); in srp_reset_host()
2603 struct srp_target_port *target = host_to_target(shost); in srp_slave_configure()
2618 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_id_ext()
2626 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_ioc_guid()
2634 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_service_id()
2642 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_pkey()
2650 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_sgid()
2658 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_dgid()
2667 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_orig_dgid()
2675 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_req_lim()
2689 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_zero_req_lim()
2697 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_local_ib_port()
2705 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_local_ib_device()
2713 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_ch_count()
2721 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_comp_vector()
2729 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_tl_retry_count()
2737 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_cmd_sg_entries()
2745 struct srp_target_port *target = host_to_target(class_to_shost(dev)); in show_allow_ext_sg()
2826 static int srp_add_target(struct srp_host *host, struct srp_target_port *target) in srp_add_target()
2897 struct srp_target_port *target) in srp_conn_unique()
2899 struct srp_target_port *t; in srp_conn_unique()
2974 static int srp_parse_options(const char *buf, struct srp_target_port *target) in srp_parse_options()
3192 struct srp_target_port *target; in srp_create_target()
3200 sizeof (struct srp_target_port)); in srp_create_target()
3537 struct srp_target_port *target; in srp_remove_one()