Lines Matching defs:vhost

185 static int ibmvfc_check_caps(struct ibmvfc_host *vhost, unsigned long cap_flags)  in ibmvfc_check_caps()
192 static struct ibmvfc_fcp_cmd_iu *ibmvfc_get_fcp_iu(struct ibmvfc_host *vhost, in ibmvfc_get_fcp_iu()
201 static struct ibmvfc_fcp_rsp *ibmvfc_get_fcp_rsp(struct ibmvfc_host *vhost, in ibmvfc_get_fcp_rsp()
218 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_trc_start() local
254 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_trc_end() local
339 static int ibmvfc_get_err_result(struct ibmvfc_host *vhost, struct ibmvfc_cmd *vfc_cmd) in ibmvfc_get_err_result()
557 static int ibmvfc_set_host_state(struct ibmvfc_host *vhost, in ibmvfc_set_host_state()
580 static void ibmvfc_set_host_action(struct ibmvfc_host *vhost, in ibmvfc_set_host_action()
641 static void ibmvfc_reinit_host(struct ibmvfc_host *vhost) in ibmvfc_reinit_host()
674 static void ibmvfc_link_down(struct ibmvfc_host *vhost, in ibmvfc_link_down()
697 static void ibmvfc_init_host(struct ibmvfc_host *vhost) in ibmvfc_init_host()
737 static int ibmvfc_send_crq(struct ibmvfc_host *vhost, u64 word1, u64 word2) in ibmvfc_send_crq()
743 static int ibmvfc_send_sub_crq(struct ibmvfc_host *vhost, u64 cookie, u64 word1, in ibmvfc_send_sub_crq()
759 static int ibmvfc_send_crq_init(struct ibmvfc_host *vhost) in ibmvfc_send_crq_init()
772 static int ibmvfc_send_crq_init_complete(struct ibmvfc_host *vhost) in ibmvfc_send_crq_init_complete()
785 static int ibmvfc_init_event_pool(struct ibmvfc_host *vhost, in ibmvfc_init_event_pool()
845 static void ibmvfc_free_event_pool(struct ibmvfc_host *vhost, in ibmvfc_free_event_pool()
875 static void ibmvfc_free_queue(struct ibmvfc_host *vhost, in ibmvfc_free_queue()
894 static void ibmvfc_release_crq_queue(struct ibmvfc_host *vhost) in ibmvfc_release_crq_queue()
922 static int ibmvfc_reenable_crq_queue(struct ibmvfc_host *vhost) in ibmvfc_reenable_crq_queue()
959 static int ibmvfc_reset_crq(struct ibmvfc_host *vhost) in ibmvfc_reset_crq()
1120 static void ibmvfc_purge_requests(struct ibmvfc_host *vhost, int error_code) in ibmvfc_purge_requests()
1153 static void ibmvfc_hard_reset_host(struct ibmvfc_host *vhost) in ibmvfc_hard_reset_host()
1164 static void __ibmvfc_reset_host(struct ibmvfc_host *vhost) in __ibmvfc_reset_host()
1180 static void ibmvfc_reset_host(struct ibmvfc_host *vhost) in ibmvfc_reset_host()
1196 static int ibmvfc_retry_host_init(struct ibmvfc_host *vhost) in ibmvfc_retry_host_init()
1228 struct ibmvfc_host *vhost = shost_priv(shost); in __ibmvfc_get_target() local
1267 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_get_host_speed() local
1311 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_get_host_port_state() local
1420 static int ibmvfc_wait_while_resetting(struct ibmvfc_host *vhost) in ibmvfc_wait_while_resetting()
1441 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_issue_fc_host_lip() local
1455 static void ibmvfc_gather_partition_info(struct ibmvfc_host *vhost) in ibmvfc_gather_partition_info()
1481 static void ibmvfc_set_login_info(struct ibmvfc_host *vhost) in ibmvfc_set_login_info()
1637 struct ibmvfc_host *vhost = dev_get_drvdata(dev); in ibmvfc_map_sg_data() local
1697 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_timeout() local
1711 struct ibmvfc_host *vhost, unsigned long timeout) in ibmvfc_send_event()
1793 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_log_error() local
1825 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_relogin() local
1901 static inline int ibmvfc_host_chkready(struct ibmvfc_host *vhost) in ibmvfc_host_chkready()
1927 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_init_vfc_cmd() local
1961 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_queuecommand() local
2045 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_bsg_timeout_done() local
2061 struct ibmvfc_host *vhost = shost_priv(fc_bsg_to_shost(job)); in ibmvfc_bsg_timeout() local
2117 static int ibmvfc_bsg_plogi(struct ibmvfc_host *vhost, unsigned int port_id) in ibmvfc_bsg_plogi()
2183 struct ibmvfc_host *vhost = shost_priv(fc_bsg_to_shost(job)); in ibmvfc_bsg_request() local
2338 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_reset_device() local
2484 static int ibmvfc_wait_for_ops(struct ibmvfc_host *vhost, void *device, in ibmvfc_wait_for_ops()
2557 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_init_tmf() local
2596 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_cancel_all_mq() local
2676 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_cancel_all_sq() local
2756 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_cancel_all() local
2809 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_abort_task_set() local
2932 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_eh_abort_handler() local
2965 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_eh_device_reset_handler() local
3012 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_eh_target_reset_handler() local
3060 struct ibmvfc_host *vhost = shost_priv(cmd->device->host); in ibmvfc_eh_host_reset_handler() local
3078 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_terminate_rport_io() local
3190 struct ibmvfc_host *vhost) in ibmvfc_handle_async()
3280 static void ibmvfc_handle_crq(struct ibmvfc_crq *crq, struct ibmvfc_host *vhost, in ibmvfc_handle_crq()
3371 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_scan_finished() local
3405 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_slave_alloc() local
3430 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_target_alloc() local
3483 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_partition_name() local
3493 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_device_name() local
3503 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_loc_code() local
3513 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_drc_name() local
3523 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_npiv_version() local
3531 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_capabilities() local
3548 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_log_level() local
3573 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_store_log_level() local
3586 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_scsi_channels() local
3602 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_store_scsi_channels() local
3645 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_read_trace() local
3718 static struct ibmvfc_async_crq *ibmvfc_next_async_crq(struct ibmvfc_host *vhost) in ibmvfc_next_async_crq()
3741 static struct ibmvfc_crq *ibmvfc_next_crq(struct ibmvfc_host *vhost) in ibmvfc_next_crq()
3767 struct ibmvfc_host *vhost = (struct ibmvfc_host *)dev_instance; in ibmvfc_interrupt() local
3786 struct ibmvfc_host *vhost = data; in ibmvfc_tasklet() local
3858 static void ibmvfc_handle_scrq(struct ibmvfc_crq *crq, struct ibmvfc_host *vhost, in ibmvfc_handle_scrq()
4030 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_prli_done() local
4099 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_send_prli() local
4153 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_plogi_done() local
4211 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_send_plogi() local
4258 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_implicit_logout_done() local
4297 struct ibmvfc_host *vhost = tgt->vhost; in __ibmvfc_tgt_get_implicit_logout_evt() local
4322 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_implicit_logout() local
4356 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_implicit_logout_and_del_done() local
4387 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_implicit_logout_and_del() local
4419 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_move_login_done() local
4468 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_move_login() local
4534 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_adisc_done() local
4609 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_adisc_cancel_done() local
4630 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_adisc_timeout() local
4699 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_adisc() local
4755 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_query_target_done() local
4808 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_query_target() local
4849 static int ibmvfc_alloc_target(struct ibmvfc_host *vhost, in ibmvfc_alloc_target()
4939 static int ibmvfc_alloc_targets(struct ibmvfc_host *vhost) in ibmvfc_alloc_targets()
4956 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_discover_targets_done() local
4990 static void ibmvfc_discover_targets(struct ibmvfc_host *vhost) in ibmvfc_discover_targets()
5022 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_channel_setup_done() local
5070 static void ibmvfc_channel_setup(struct ibmvfc_host *vhost) in ibmvfc_channel_setup()
5115 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_channel_enquiry_done() local
5144 static void ibmvfc_channel_enquiry(struct ibmvfc_host *vhost) in ibmvfc_channel_enquiry()
5183 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_npiv_login_done() local
5272 static void ibmvfc_npiv_login(struct ibmvfc_host *vhost) in ibmvfc_npiv_login()
5311 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_npiv_logout_done() local
5341 static void ibmvfc_npiv_logout(struct ibmvfc_host *vhost) in ibmvfc_npiv_logout()
5376 static int ibmvfc_dev_init_to_do(struct ibmvfc_host *vhost) in ibmvfc_dev_init_to_do()
5396 static int ibmvfc_dev_logo_to_do(struct ibmvfc_host *vhost) in ibmvfc_dev_logo_to_do()
5415 static int __ibmvfc_work_to_do(struct ibmvfc_host *vhost) in __ibmvfc_work_to_do()
5468 static int ibmvfc_work_to_do(struct ibmvfc_host *vhost) in ibmvfc_work_to_do()
5485 static void ibmvfc_log_ae(struct ibmvfc_host *vhost, int events) in ibmvfc_log_ae()
5504 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_add_rport() local
5558 static void ibmvfc_do_work(struct ibmvfc_host *vhost) in ibmvfc_do_work()
5764 struct ibmvfc_host *vhost = data; in ibmvfc_work() local
5794 static int ibmvfc_alloc_queue(struct ibmvfc_host *vhost, in ibmvfc_alloc_queue()
5863 static int ibmvfc_init_crq(struct ibmvfc_host *vhost) in ibmvfc_init_crq()
5915 static int ibmvfc_register_channel(struct ibmvfc_host *vhost, in ibmvfc_register_channel()
5984 static void ibmvfc_deregister_channel(struct ibmvfc_host *vhost, in ibmvfc_deregister_channel()
6014 static void ibmvfc_reg_sub_crqs(struct ibmvfc_host *vhost, in ibmvfc_reg_sub_crqs()
6035 static void ibmvfc_dereg_sub_crqs(struct ibmvfc_host *vhost, in ibmvfc_dereg_sub_crqs()
6050 static int ibmvfc_alloc_channels(struct ibmvfc_host *vhost, in ibmvfc_alloc_channels()
6081 static void ibmvfc_init_sub_crqs(struct ibmvfc_host *vhost) in ibmvfc_init_sub_crqs()
6098 static void ibmvfc_release_channels(struct ibmvfc_host *vhost, in ibmvfc_release_channels()
6116 static void ibmvfc_release_sub_crqs(struct ibmvfc_host *vhost) in ibmvfc_release_sub_crqs()
6141 static void ibmvfc_free_mem(struct ibmvfc_host *vhost) in ibmvfc_free_mem()
6180 static int ibmvfc_alloc_mem(struct ibmvfc_host *vhost) in ibmvfc_alloc_mem()
6263 struct ibmvfc_host *vhost = container_of(work, struct ibmvfc_host, in ibmvfc_rport_add_thread() local
6318 struct ibmvfc_host *vhost; in ibmvfc_probe() local
6431 struct ibmvfc_host *vhost = dev_get_drvdata(&vdev->dev); in ibmvfc_remove() local
6474 struct ibmvfc_host *vhost = dev_get_drvdata(dev); in ibmvfc_resume() local