Lines Matching defs:vhost

155 	struct ibmvfc_host *vhost = evt->vhost;  in ibmvfc_trc_start()  local
189 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_trc_end() local
450 static int ibmvfc_set_host_state(struct ibmvfc_host *vhost, in ibmvfc_set_host_state()
473 static void ibmvfc_set_host_action(struct ibmvfc_host *vhost, in ibmvfc_set_host_action()
534 static void ibmvfc_reinit_host(struct ibmvfc_host *vhost) in ibmvfc_reinit_host()
553 static void ibmvfc_link_down(struct ibmvfc_host *vhost, in ibmvfc_link_down()
576 static void ibmvfc_init_host(struct ibmvfc_host *vhost) in ibmvfc_init_host()
611 static int ibmvfc_send_crq(struct ibmvfc_host *vhost, u64 word1, u64 word2) in ibmvfc_send_crq()
624 static int ibmvfc_send_crq_init(struct ibmvfc_host *vhost) in ibmvfc_send_crq_init()
637 static int ibmvfc_send_crq_init_complete(struct ibmvfc_host *vhost) in ibmvfc_send_crq_init_complete()
650 static void ibmvfc_release_crq_queue(struct ibmvfc_host *vhost) in ibmvfc_release_crq_queue()
678 static int ibmvfc_reenable_crq_queue(struct ibmvfc_host *vhost) in ibmvfc_reenable_crq_queue()
703 static int ibmvfc_reset_crq(struct ibmvfc_host *vhost) in ibmvfc_reset_crq()
766 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_free_event() local
826 static void ibmvfc_purge_requests(struct ibmvfc_host *vhost, int error_code) in ibmvfc_purge_requests()
839 static void ibmvfc_hard_reset_host(struct ibmvfc_host *vhost) in ibmvfc_hard_reset_host()
850 static void __ibmvfc_reset_host(struct ibmvfc_host *vhost) in __ibmvfc_reset_host()
866 static void ibmvfc_reset_host(struct ibmvfc_host *vhost) in ibmvfc_reset_host()
882 static int ibmvfc_retry_host_init(struct ibmvfc_host *vhost) in ibmvfc_retry_host_init()
914 struct ibmvfc_host *vhost = shost_priv(shost); in __ibmvfc_get_target() local
953 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_get_host_speed() local
997 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_get_host_port_state() local
1106 static int ibmvfc_wait_while_resetting(struct ibmvfc_host *vhost) in ibmvfc_wait_while_resetting()
1127 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_issue_fc_host_lip() local
1140 static void ibmvfc_gather_partition_info(struct ibmvfc_host *vhost) in ibmvfc_gather_partition_info()
1166 static void ibmvfc_set_login_info(struct ibmvfc_host *vhost) in ibmvfc_set_login_info()
1204 static int ibmvfc_init_event_pool(struct ibmvfc_host *vhost) in ibmvfc_init_event_pool()
1244 static void ibmvfc_free_event_pool(struct ibmvfc_host *vhost) in ibmvfc_free_event_pool()
1272 static struct ibmvfc_event *ibmvfc_get_event(struct ibmvfc_host *vhost) in ibmvfc_get_event()
1336 struct ibmvfc_host *vhost = dev_get_drvdata(dev); in ibmvfc_map_sg_data() local
1391 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_timeout() local
1405 struct ibmvfc_host *vhost, unsigned long timeout) in ibmvfc_send_event()
1471 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_log_error() local
1503 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_relogin() local
1578 static inline int ibmvfc_host_chkready(struct ibmvfc_host *vhost) in ibmvfc_host_chkready()
1612 struct ibmvfc_host *vhost = shost_priv(cmnd->device->host); in ibmvfc_queuecommand_lck() local
1698 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_bsg_timeout_done() local
1714 struct ibmvfc_host *vhost = shost_priv(job->shost); in ibmvfc_bsg_timeout() local
1765 static int ibmvfc_bsg_plogi(struct ibmvfc_host *vhost, unsigned int port_id) in ibmvfc_bsg_plogi()
1827 struct ibmvfc_host *vhost = shost_priv(job->shost); in ibmvfc_bsg_request() local
1972 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_reset_device() local
2096 static int ibmvfc_wait_for_ops(struct ibmvfc_host *vhost, void *device, in ibmvfc_wait_for_ops()
2155 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_cancel_all() local
2256 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_abort_task_set() local
2363 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_eh_abort_handler() local
2390 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_eh_device_reset_handler() local
2429 struct ibmvfc_host *vhost = shost_priv(sdev->host); in ibmvfc_eh_target_reset_handler() local
2456 struct ibmvfc_host *vhost = shost_priv(cmd->device->host); in ibmvfc_eh_host_reset_handler() local
2474 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_terminate_rport_io() local
2564 struct ibmvfc_host *vhost) in ibmvfc_handle_async()
2650 static void ibmvfc_handle_crq(struct ibmvfc_crq *crq, struct ibmvfc_host *vhost) in ibmvfc_handle_crq()
2736 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_scan_finished() local
2766 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_slave_alloc() local
2791 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_target_alloc() local
2877 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_partition_name() local
2887 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_device_name() local
2897 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_loc_code() local
2907 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_drc_name() local
2917 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_npiv_version() local
2925 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_host_capabilities() local
2941 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_show_log_level() local
2964 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_store_log_level() local
3001 struct ibmvfc_host *vhost = shost_priv(shost); in ibmvfc_read_trace() local
3071 static struct ibmvfc_async_crq *ibmvfc_next_async_crq(struct ibmvfc_host *vhost) in ibmvfc_next_async_crq()
3094 static struct ibmvfc_crq *ibmvfc_next_crq(struct ibmvfc_host *vhost) in ibmvfc_next_crq()
3120 struct ibmvfc_host *vhost = (struct ibmvfc_host *)dev_instance; in ibmvfc_interrupt() local
3139 struct ibmvfc_host *vhost = data; in ibmvfc_tasklet() local
3256 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_prli_done() local
3324 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_send_prli() local
3363 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_plogi_done() local
3420 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_send_plogi() local
3456 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_implicit_logout_done() local
3495 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_implicit_logout() local
3552 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_adisc_done() local
3627 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_adisc_cancel_done() local
3647 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_adisc_timeout() local
3703 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_adisc() local
3755 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_tgt_query_target_done() local
3807 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_query_target() local
3842 static int ibmvfc_alloc_target(struct ibmvfc_host *vhost, u64 scsi_id) in ibmvfc_alloc_target()
3888 static int ibmvfc_alloc_targets(struct ibmvfc_host *vhost) in ibmvfc_alloc_targets()
3906 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_discover_targets_done() local
3939 static void ibmvfc_discover_targets(struct ibmvfc_host *vhost) in ibmvfc_discover_targets()
3968 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_npiv_login_done() local
4049 static void ibmvfc_npiv_login(struct ibmvfc_host *vhost) in ibmvfc_npiv_login()
4082 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_npiv_logout_done() local
4112 static void ibmvfc_npiv_logout(struct ibmvfc_host *vhost) in ibmvfc_npiv_logout()
4141 static int ibmvfc_dev_init_to_do(struct ibmvfc_host *vhost) in ibmvfc_dev_init_to_do()
4161 static int __ibmvfc_work_to_do(struct ibmvfc_host *vhost) in __ibmvfc_work_to_do()
4205 static int ibmvfc_work_to_do(struct ibmvfc_host *vhost) in ibmvfc_work_to_do()
4222 static void ibmvfc_log_ae(struct ibmvfc_host *vhost, int events) in ibmvfc_log_ae()
4241 struct ibmvfc_host *vhost = tgt->vhost; in ibmvfc_tgt_add_rport() local
4287 static void ibmvfc_do_work(struct ibmvfc_host *vhost) in ibmvfc_do_work()
4435 struct ibmvfc_host *vhost = data; in ibmvfc_work() local
4466 static int ibmvfc_init_crq(struct ibmvfc_host *vhost) in ibmvfc_init_crq()
4537 static void ibmvfc_free_mem(struct ibmvfc_host *vhost) in ibmvfc_free_mem()
4562 static int ibmvfc_alloc_mem(struct ibmvfc_host *vhost) in ibmvfc_alloc_mem()
4654 struct ibmvfc_host *vhost = container_of(work, struct ibmvfc_host, in ibmvfc_rport_add_thread() local
4707 struct ibmvfc_host *vhost; in ibmvfc_probe() local
4813 struct ibmvfc_host *vhost = dev_get_drvdata(&vdev->dev); in ibmvfc_remove() local
4854 struct ibmvfc_host *vhost = dev_get_drvdata(dev); in ibmvfc_resume() local