Lines Matching defs:vhost
149 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_trc_start() local
183 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_trc_end() local
481 static int ibmvfc_set_host_state(struct ibmvfc_host *vhost, in ibmvfc_set_host_state()
504 static void ibmvfc_set_host_action(struct ibmvfc_host *vhost, in ibmvfc_set_host_action()
565 static void ibmvfc_reinit_host(struct ibmvfc_host *vhost) in ibmvfc_reinit_host()
598 static void ibmvfc_link_down(struct ibmvfc_host *vhost, in ibmvfc_link_down()
621 static void ibmvfc_init_host(struct ibmvfc_host *vhost) in ibmvfc_init_host()
656 static int ibmvfc_send_crq(struct ibmvfc_host *vhost, u64 word1, u64 word2) in ibmvfc_send_crq()
669 static int ibmvfc_send_crq_init(struct ibmvfc_host *vhost) in ibmvfc_send_crq_init()
682 static int ibmvfc_send_crq_init_complete(struct ibmvfc_host *vhost) in ibmvfc_send_crq_init_complete()
695 static void ibmvfc_release_crq_queue(struct ibmvfc_host *vhost) in ibmvfc_release_crq_queue()
723 static int ibmvfc_reenable_crq_queue(struct ibmvfc_host *vhost) in ibmvfc_reenable_crq_queue()
748 static int ibmvfc_reset_crq(struct ibmvfc_host *vhost) in ibmvfc_reset_crq()
810 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_free_event() local
870 static void ibmvfc_purge_requests(struct ibmvfc_host *vhost, int error_code) in ibmvfc_purge_requests()
883 static void ibmvfc_hard_reset_host(struct ibmvfc_host *vhost) in ibmvfc_hard_reset_host()
894 static void __ibmvfc_reset_host(struct ibmvfc_host *vhost) in __ibmvfc_reset_host()
910 static void ibmvfc_reset_host(struct ibmvfc_host *vhost) in ibmvfc_reset_host()
926 static int ibmvfc_retry_host_init(struct ibmvfc_host *vhost) in ibmvfc_retry_host_init()
958 struct ibmvfc_host *vhost = shost_priv(shost); in __ibmvfc_get_target() local
997 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_get_host_speed() local
1041 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_get_host_port_state() local
1150 static int ibmvfc_wait_while_resetting(struct ibmvfc_host *vhost) in ibmvfc_wait_while_resetting()
1171 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_issue_fc_host_lip() local
1184 static void ibmvfc_gather_partition_info(struct ibmvfc_host *vhost) in ibmvfc_gather_partition_info()
1210 static void ibmvfc_set_login_info(struct ibmvfc_host *vhost) in ibmvfc_set_login_info()
1248 static int ibmvfc_init_event_pool(struct ibmvfc_host *vhost) in ibmvfc_init_event_pool()
1288 static void ibmvfc_free_event_pool(struct ibmvfc_host *vhost) in ibmvfc_free_event_pool()
1316 static struct ibmvfc_event *ibmvfc_get_event(struct ibmvfc_host *vhost) in ibmvfc_get_event()
1380 struct ibmvfc_host *vhost = dev_get_drvdata(dev); in ibmvfc_map_sg_data() local
1439 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_timeout() local
1453 struct ibmvfc_host *vhost, unsigned long timeout) in ibmvfc_send_event()
1518 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_log_error() local
1550 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_relogin() local
1626 static inline int ibmvfc_host_chkready(struct ibmvfc_host *vhost) in ibmvfc_host_chkready()
1660 struct ibmvfc_host *vhost = shost_priv(cmnd->device->host); in ibmvfc_queuecommand_lck() local
1735 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_bsg_timeout_done() local
1751 struct ibmvfc_host *vhost = shost_priv(fc_bsg_to_shost(job)); in ibmvfc_bsg_timeout() local
1802 static int ibmvfc_bsg_plogi(struct ibmvfc_host *vhost, unsigned int port_id) in ibmvfc_bsg_plogi()
1864 struct ibmvfc_host *vhost = shost_priv(fc_bsg_to_shost(job)); in ibmvfc_bsg_request() local
2014 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_reset_device() local
2138 static int ibmvfc_wait_for_ops(struct ibmvfc_host *vhost, void *device, in ibmvfc_wait_for_ops()
2197 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_cancel_all() local
2329 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_abort_task_set() local
2449 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_eh_abort_handler() local
2482 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_eh_device_reset_handler() local
2539 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_eh_target_reset_handler() local
2573 struct ibmvfc_host *vhost = shost_priv(cmd->device->host); in ibmvfc_eh_host_reset_handler() local
2591 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_terminate_rport_io() local
2703 struct ibmvfc_host *vhost) in ibmvfc_handle_async()
2792 static void ibmvfc_handle_crq(struct ibmvfc_crq *crq, struct ibmvfc_host *vhost) in ibmvfc_handle_crq()
2880 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_scan_finished() local
2910 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_slave_alloc() local
2935 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_target_alloc() local
2987 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_partition_name() local
2997 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_device_name() local
3007 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_loc_code() local
3017 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_drc_name() local
3027 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_npiv_version() local
3035 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_capabilities() local
3051 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_log_level() local
3074 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_store_log_level() local
3111 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_read_trace() local
3181 static struct ibmvfc_async_crq *ibmvfc_next_async_crq(struct ibmvfc_host *vhost) in ibmvfc_next_async_crq()
3204 static struct ibmvfc_crq *ibmvfc_next_crq(struct ibmvfc_host *vhost) in ibmvfc_next_crq()
3230 struct ibmvfc_host *vhost = (struct ibmvfc_host *)dev_instance; in ibmvfc_interrupt() local
3249 struct ibmvfc_host *vhost = data; in ibmvfc_tasklet() local
3366 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_prli_done() local
3435 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_send_prli() local
3478 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_plogi_done() local
3536 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_send_plogi() local
3572 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_implicit_logout_done() local
3610 struct ibmvfc_host *vhost = tgt->vhost; in __ibmvfc_tgt_get_implicit_logout_evt() local
3633 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_implicit_logout() local
3660 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_implicit_logout_and_del_done() local
3691 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_implicit_logout_and_del() local
3723 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_move_login_done() local
3771 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_move_login() local
3831 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_adisc_done() local
3906 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_adisc_cancel_done() local
3927 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_adisc_timeout() local
3983 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_adisc() local
4033 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_query_target_done() local
4086 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_query_target() local
4121 static int ibmvfc_alloc_target(struct ibmvfc_host *vhost, in ibmvfc_alloc_target()
4206 static int ibmvfc_alloc_targets(struct ibmvfc_host *vhost) in ibmvfc_alloc_targets()
4223 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_discover_targets_done() local
4257 static void ibmvfc_discover_targets(struct ibmvfc_host *vhost) in ibmvfc_discover_targets()
4287 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_npiv_login_done() local
4370 static void ibmvfc_npiv_login(struct ibmvfc_host *vhost) in ibmvfc_npiv_login()
4403 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_npiv_logout_done() local
4433 static void ibmvfc_npiv_logout(struct ibmvfc_host *vhost) in ibmvfc_npiv_logout()
4462 static int ibmvfc_dev_init_to_do(struct ibmvfc_host *vhost) in ibmvfc_dev_init_to_do()
4482 static int ibmvfc_dev_logo_to_do(struct ibmvfc_host *vhost) in ibmvfc_dev_logo_to_do()
4501 static int __ibmvfc_work_to_do(struct ibmvfc_host *vhost) in __ibmvfc_work_to_do()
4554 static int ibmvfc_work_to_do(struct ibmvfc_host *vhost) in ibmvfc_work_to_do()
4571 static void ibmvfc_log_ae(struct ibmvfc_host *vhost, int events) in ibmvfc_log_ae()
4590 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_add_rport() local
4643 static void ibmvfc_do_work(struct ibmvfc_host *vhost) in ibmvfc_do_work()
4812 struct ibmvfc_host *vhost = data; in ibmvfc_work() local
4843 static int ibmvfc_init_crq(struct ibmvfc_host *vhost) in ibmvfc_init_crq()
4914 static void ibmvfc_free_mem(struct ibmvfc_host *vhost) in ibmvfc_free_mem()
4939 static int ibmvfc_alloc_mem(struct ibmvfc_host *vhost) in ibmvfc_alloc_mem()
5031 struct ibmvfc_host *vhost = container_of(work, struct ibmvfc_host, in ibmvfc_rport_add_thread() local
5086 struct ibmvfc_host *vhost; in ibmvfc_probe() local
5193 struct ibmvfc_host *vhost = dev_get_drvdata(&vdev->dev); in ibmvfc_remove() local
5234 struct ibmvfc_host *vhost = dev_get_drvdata(dev); in ibmvfc_resume() local